[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Apache crash  XML
Forum Index -> Deployment
Author Message
tdrasch

Power User
[Avatar]

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
[Thumb - 2.jpg]
 Filename 2.jpg [Disk] Download
 Description
 Filesize 84 Kbytes
 Downloaded:  460 time(s)

[Thumb - 1.jpg]
 Filename 1.jpg [Disk] Download
 Description
 Filesize 79 Kbytes
 Downloaded:  471 time(s)

[Thumb - 3.jpg]
 Filename 3.jpg [Disk] Download
 Description
 Filesize 63 Kbytes
 Downloaded:  524 time(s)


--------------------------------
Good karma - for the moment...
why is the word abbreviation so long?
[WWW]
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5521
Offline

Hi,
we just check...
Björn

Björn Müller, CaptainCasa GmbH
CaptainCasa

Power User
[Avatar]

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
tdrasch

Power User
[Avatar]

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?
[WWW]
CaptainCasa

Power User
[Avatar]

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
 
Forum Index -> Deployment
Go to:   
Powered by JForum 2.1.6 © JForum Team