Author |
Message |
17/10/2011 09:48:17
|
tdrasch
Power User
Joined: 13/03/2009 19:09:45
Messages: 81
Location: Villingen-Schwenningen
Offline
|
Hi Community,
on the customer site we've the problem that the apache tomcat is crashing every 6 hours.
In our application running on this server we're using the longpolling component. We have noticed, that it seems to be that the apache is not able to close some long polling processes (see screenshot). Maybe this is the problem, why the apache is crashing.
somebody an idea?
regards thomas
|
Filename |
2.jpg |
Download
|
Description |
|
Filesize |
84 Kbytes
|
Downloaded: |
460 time(s) |
|
Filename |
1.jpg |
Download
|
Description |
|
Filesize |
79 Kbytes
|
Downloaded: |
471 time(s) |
|
Filename |
3.jpg |
Download
|
Description |
|
Filesize |
63 Kbytes
|
Downloaded: |
524 time(s) |
|
--------------------------------
Good karma - for the moment...
why is the word abbreviation so long? |
|
|
17/10/2011 10:11:31
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5521
Offline
|
Hi,
we just check...
Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
17/10/2011 10:19:39
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5521
Offline
|
Hi,
the only thing I can imagine - currently - is:
(.) you have a lot of clients, each one with an active LONGPOLLING - then you have to increase the number of threads...
(.) you do not destroy long pollings properly.
The long polling thread is closed when...
1. you pass back a long polling via LongPollingMgr.remove(ILongPolling)
2. you call ILongPolling.wakeup(false) or ILongPolling.abortThread()
Could you check?
Regards, Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
18/10/2011 14:24:30
|
tdrasch
Power User
Joined: 13/03/2009 19:09:45
Messages: 81
Location: Villingen-Schwenningen
Offline
|
I think we're closing the long polling.
On serveral installations (other customers) it is working well.
Remarkable is, that the most entries are from the same ip address.
Is it possible that the proxy has something to do with this issue?
Maybe the client is closing, but the proxy is keep alive the session/thread?
Thanks for your help in advance!
regards Thomas
|
--------------------------------
Good karma - for the moment...
why is the word abbreviation so long? |
|
|
18/10/2011 15:08:56
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5521
Offline
|
Hi,
if you properly close/remove ILongPollong within your program then the corresponding threads should be removed, with or without proxy... ;-)
Otherwise: they have to somehow "time out", and maybe there is some influence by a proxy... (exactly in the direction you describe).
Regards,
Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
|