Clients stay alive (Web-Client 5.1.4)

Using Servoy to administrate the content of your website? Discuss all webrelated Servoy topics on this forum!

Clients stay alive (Web-Client 5.1.4)

Postby Janssenjos » Mon Jul 12, 2010 12:45 pm

We recently updated a couple of our servers to 5.1.4.
Now we discovered there is a problem with disconnected clients, they stay alive in the server.

As seen in the screenshot below, the client has been idle since friday. (Actually the pc is shutdown now)
But the 'Last alive check' was today at 11.16. And it hasn't cleaned-up the client?
Image

In the server.xml of tomcat, we have set the timeout to 1 minute.

This is a big problem, cause at one of our webshops, this morning we had over 300 clients. (Only about 15 were active)
This has a huge impact on the performance. After a restart of the server, it works for a short time, but after abouth a 10-20 minutes it will start happening again, and the clients will stay alive.

Our server version:
Image

As attachment I added the stacktrace.
Attachments
server_stacktrace.txt
(29.52 KiB) Downloaded 359 times
Jos Janssen
Software Developer
Axerrio
http://www.axerrio.com
Janssenjos
 
Posts: 148
Joined: Thu Aug 13, 2009 3:55 pm
Location: Bergen op Zoom

Re: Clients stay alive (Web-Client 5.1.4)

Postby jcompagner » Mon Jul 12, 2010 2:11 pm

first 256MB for a server as max memory is a bit low, please up that to 512 or even 786.

I do see 2 clients hanging in the stacktrace you send over, i will investigate that a bit further.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Clients stay alive (Web-Client 5.1.4)

Postby jcompagner » Mon Jul 12, 2010 3:43 pm

The current RC of 5.2 already has a fix for that hanging client.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Clients stay alive (Web-Client 5.1.4)

Postby Janssenjos » Mon Jul 12, 2010 4:18 pm

Ok,

Is there a indication when this RC will be released officialy?
Jos Janssen
Software Developer
Axerrio
http://www.axerrio.com
Janssenjos
 
Posts: 148
Joined: Thu Aug 13, 2009 3:55 pm
Location: Bergen op Zoom

Re: Clients stay alive (Web-Client 5.1.4)

Postby jcompagner » Mon Jul 12, 2010 4:44 pm

this month is what we try to target.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Clients stay alive (Web-Client 5.1.4)

Postby Janssenjos » Mon Jul 12, 2010 4:55 pm

Is there a way with the servoy updater, to go back to 5.1.3?

Cause to wait till the end of the month, isn't really an option for us.
Jos Janssen
Software Developer
Axerrio
http://www.axerrio.com
Janssenjos
 
Posts: 148
Joined: Thu Aug 13, 2009 3:55 pm
Location: Bergen op Zoom

Re: Clients stay alive (Web-Client 5.1.4)

Postby jbader » Mon Jul 12, 2010 5:23 pm

Johan,

This has actually been a huge problem for us as well on 5.1.4. We have been chewing thru licenses like crazy and eventually having to reboot the server to get our licenses released from clients whom have long-since "expired".

I personally don't think it is reasonable at all to tell folks to upgrade to 5.2 to cure this ailment and I think that Servoy needs to back port some of the major fixes from 5.2 into a 5.1.x maintenance release. I personally don't have the time to deal with new [untested] features in 5.2 (like an entirely new security/authentication schema), I need 5.1.x to work - it's only a month old! Can't Servoy back port some of the fixes? I don't get why [as usual] the focus is on new features before active; new and long-standing bugs are fixed in relatively fresh releases!

I'm watching the commit logs on 5.2 via the forge site and I see how much is changing. I'm quite certain 5.2. will introduce new bugs as a result of new features and "fixes" and my team doesn't have time to bug test new features. We need a stable 5.1.x build? Can't Servoy support 5.1.x for more than a month!?

Becoming *very* frustrated with the release schedule.
jbader
 
Posts: 520
Joined: Sun Sep 18, 2005 4:24 am
Location: Miami, FL

Re: Clients stay alive (Web-Client 5.1.4)

Postby jcompagner » Mon Jul 12, 2010 5:58 pm

5.2 is a special release, its the open source release so thats where we now focus our attention mostly on.
5.1.x could have a maintenance release, its not decided yet.

Feature wise the 5.2 doesnt have that many new features, only changes that where needed for the open source (re)structuring. But most part it is just 5.1 but then open sourced. (and fixes that could come into a 5.1.x release)
So the focus is not on new features (except some we do in trunk of course for the real next version of servoy) but it is on making 5.2 as stable as possible for a release this month.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Clients stay alive (Web-Client 5.1.4)

Postby jbader » Mon Jul 12, 2010 6:07 pm

Paul told me the same thing on another thread, but the issue remains that I/others will have to upgrade to 5.2 (which does contain significant new features) in order to get these fixes. That honestly doesn't seem reasonable for a one-month old release.
jbader
 
Posts: 520
Joined: Sun Sep 18, 2005 4:24 am
Location: Miami, FL

Re: Clients stay alive (Web-Client 5.1.4)

Postby Janssenjos » Mon Jul 12, 2010 10:04 pm

You told us that it is already fixed in the 5.2 release.

Does it cost a lot of effort to build only that fix into a 5.1.5 release?
I think you would please your customers with that!
Jos Janssen
Software Developer
Axerrio
http://www.axerrio.com
Janssenjos
 
Posts: 148
Joined: Thu Aug 13, 2009 3:55 pm
Location: Bergen op Zoom

Re: Clients stay alive (Web-Client 5.1.4)

Postby jcompagner » Tue Jul 13, 2010 10:24 am

as i said, we could do that, but it will not come before a 5.2 release that we try to target this month.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Clients stay alive (Web-Client 5.1.4)

Postby Janssenjos » Tue Jul 13, 2010 10:27 am

Ok, then I return to my previous question:

Is there a way to go back to 5.1.3, cause with that version we didn't had the problem.
I searched for an argument or such to supply with the servoy_updater, but I couldn't find any.
Jos Janssen
Software Developer
Axerrio
http://www.axerrio.com
Janssenjos
 
Posts: 148
Joined: Thu Aug 13, 2009 3:55 pm
Location: Bergen op Zoom

Re: Clients stay alive (Web-Client 5.1.4)

Postby jcompagner » Tue Jul 13, 2010 10:37 am

no the servoy updater can't revert to a previous edition.
You have to install that one, please contact support if you need a install file for 5.1.3
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Clients stay alive (Web-Client 5.1.4)

Postby marcelb » Tue Jul 13, 2010 11:01 am

Hi Johan,

Today is the fourth day in row that we have to restart the Servoy Server and kick out more than 50(!) users because the java.exe process lost his way with hundreds (>300) of clients which actually don't exists. My customer is getting really angry because these users are the customers of his customer and this is not very nice marketing.

So I totally agree with jbader: we really need a 5.1.5 fix with this issue solved, please help us out.

Thank you.
Marcel Boers
Axerrio Business Solutions
http://www.axerrio.com
marcelb
 
Posts: 21
Joined: Thu Sep 03, 2009 3:05 pm
Location: Bergen op Zoom, The Netherlands

Re: Clients stay alive (Web-Client 5.1.4)

Postby Harjo » Tue Jul 13, 2010 2:07 pm

I agree that clients should be disconnected after a while, but what I dont understand that it kills the java process! How many memory did you give the java process? (on windows you can find it in the wrapper.conf)
Harjo Kompagnie
ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Next

Return to Web Development

Who is online

Users browsing this forum: No registered users and 2 guests