you shouldn't hijack threads, please start a new one.
However, one quick shot: 2.4 kernel usually doesn't have nptl support,
which means that you can maximum have something like 500 threads in
tomcat (depending on how many other threads exist in your app).
Another question, is it a et64 xeon? if so, why don't u use a 64bit
os? (4Gb memory on a 32 bit linux doesn't really work well).

regards
Leon

On 1/25/07, Derek Wormdahl <[EMAIL PROTECTED]> wrote:
We are experiencing similar behavior with Tomcat 5.5.17 running standalone:

Dual 3.0GHz Xeon
4GB memory
RHEL AS 3
Linux 2.4.21-47.0.1.ELsmp #1 SMP Fri Oct 13 17:56:20 EDT 2006 i686 i686
i386 GNU/Linux
BEA jrockit-R26.0.0-jdk1.5.0_04

This has become a big problem for us as well so I would also very much
appreciate any advice.

Thanks,
-Derek



Brian Cross wrote:
> Hello and thanks in advance for any advice.
>
> We have Tomcat 5.5.20 running standalone on the following system:
>
> Dual AMD Opteron
> 4 gig of memory
> Debian Linux 2.6.8 amd64 smp kernel
> latest sun java 1.5, 1.6, ibm 1.5 (happens on all 3 VM's)
> Tomcat 5.5.20 (originally happened on 5.5.16, upgrade didn't help)
>
> Randomly it will hang and stop accepting connections on port 80,
> sometimes even late at night when there is not much traffic.
>
> When the hang occurs:
>
> * Can't access any web app on tomcat including the tomcat manager
> * Telnet to port 80 hangs(Coyote running on port 80)
> * load goes up, but only slightly (from < 1 to maybe 3 or 4)
> * sometimes after a couple of minutes it starts responding again,
> sometimes it doesn't.
> * when I run shutdown.sh the java process continues to run and I have
> to kill -9 to stop it
> * I try to do a kill -3 or kill -QUIT on the java process to get a
> thread dump, but it does not work
>
> I have tried many different jvm settings and tomcat connector
> settings, here is what I have currently:
>
> <Connector port="80" maxHttpHeaderSize="8192"
>           maxThreads="1000" minSpareThreads="50" maxSpareThreads="100"
>           enableLookups="false" redirectPort="8443" acceptCount="100"
>           connectionTimeout="20000" strategy="ms"
> disableUploadTimeout="false" />
>
> CATALINA_OPTS="-server -XX:MaxPermSize=256m -ms512m -mx1280m -Xss96k
> -Djava.awt.headless=true"
>
> I would really appreciate any advice, I really don't know where to go
> from here to try and figure it out.  If I can't figure it out soon my
> plan is to use apache2 as the webserver and connect to tomcat via JK.
>
> Thanks so much for your expert advice!
>
> --Brian.
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to