tomcat 5.5, jdk1.5 on user mode debian stable hangs after a few days

2005-08-02 Thread MDK

Hello,

I've searched far and wide for a definitive answer to this problem, but 
have found nothing that relates to my situation.


I did find a few similar issues, but

1. I have no System.exit in my code
2. I am not using the root context

and still after a few days tomcat stops responding.

The problem also doesnt go away after i stop and re-start tomcat.

And occasionally it wont stop with ./bin/shutdown.sh

so i have to kill -9 the first process to stop it.

when it is running, the CPU usage runs at over 90% and the memory usage 
goes up to 50% or so.


It doesnt even respond when i telnet to localhost 8080.

does anyone know a viable fix for this problem ?

thanks,

martin

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: tomcat 5.5, jdk1.5 on user mode debian stable hangs after a few days

2005-08-02 Thread MDK
no, the odd thing is, it wasnt even being used (and its a very simple 
application, of course, thats a relative term)


i installed the app, tested it once and logged out.

I came back to it a few days later and the whole thing is hanging.

If you can recommed any tools i can use to detect what is happening that 
would be much appreciated


the app itself uses spring, openamf (an open source flash remoting 
connector) with some jdbc (mysql)


so i guess that any one of these (and my code) could be the culprit.

I'll look into each of these individually and see if they could be 
causing the problem.


thanks.

martin


Allistair Crossley wrote:

Hi,

Hanging, memory up 50%, sounds very much like an OutOfMemoryException to me. I know from experience that Tomcat can hang with no memory and not log to stdout either (although most of the time it does). 


Have you profiled your application under a load test?

Cheers, Allistair.



-Original Message-
From: MDK [mailto:[EMAIL PROTECTED]
Sent: 02 August 2005 10:23
To: tomcat-user@jakarta.apache.org
Subject: tomcat 5.5, jdk1.5 on user mode debian stable hangs 
after a few

days


Hello,

I've searched far and wide for a definitive answer to this 
problem, but 
have found nothing that relates to my situation.


I did find a few similar issues, but

1. I have no System.exit in my code
2. I am not using the root context

and still after a few days tomcat stops responding.

The problem also doesnt go away after i stop and re-start tomcat.

And occasionally it wont stop with ./bin/shutdown.sh

so i have to kill -9 the first process to stop it.

when it is running, the CPU usage runs at over 90% and the 
memory usage 
goes up to 50% or so.


It doesnt even respond when i telnet to localhost 8080.

does anyone know a viable fix for this problem ?

thanks,

martin

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---

QAS Ltd.
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]