Hi Noam,

Remy pointed out to me previously that RH9 uses a new form of threading and
based on this we have done some investigation.

RH9 uses NTPL (Native POSIX Thread Library)
http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/release-notes/x86/

It is possible to revert to the older form of threading, "LinuxThreads", by
setting an environment variable, namely:
LD_ASSUME_KERNEL=<kernel-version>
- 2.4.1 - Linuxthreads with floating stacks
- 2.2.5 - Linuxthreads without floating stacks

This does not revert back to an older kernel, it just changes the GNU C
library used http://www-106.ibm.com/developerworks/java/library/j-jtc/

We will be testing with these settings starting today and, if we continue to
have problems, we will be trying another distro.

Ryan



More NTPL info http://www.redhat.com/partners/pdf/POSIX_Linux_Threading.pdf


-----Original Message-----
From: Noam Camiel [mailto:[EMAIL PROTECTED]
Sent: 04 April 2003 18:36
To: Tomcat Users List
Subject: Re: tomcat jitters, then hangs - please help


On Thursday, October 09, 2003 5:11 PM "Ryan Lissack"
<[EMAIL PROTECTED]> wrote:
> Hi Noam,
>
> We have experienced similar problems.  You will notice in the thread dump
> that there is no thread from the connectors thread pool waiting on an
> accept

I see your what you mean, I compared the thread dump to a "good" dump when
the server is operational and there indeed I found a thread from the
connectors thread pool waiting on accept:

3XMTHREADINFO      "http80-Processor24" (TID:0x100688E0,
sys_thread_t:0x87810C0, state:R, native ID:0x41CCCF40) prio=5
4XESTACKTRACE          at java.net.PlainSocketImpl.socketAccept(Native
Method)

This does not appear to exist in the "bad" dump.

> What OS are you on, RH9??

Yes, Im on RH9.

Any ideas why this could happen?  could it be some system resource limit?
Is your application an intensive app? My application is not an intensive one
and the hangs occur hours after i start the server (usually a day later).

Thanks for the info, i'd be happy to hear any suggestions.
Noam

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

Reply via email to