Keith Wannamaker wrote:
Last month I took Yoav's advice and attempted to upgrade our
production server from 4.1 to 5.0. The production server handles 5 -
10 requests a second across 300 threads. The problem I had then, and
the problem I have now is that the server's accept thread will die
Hi,
There are certainly other sites running Tomcat 5.0 under heavy load,
such as the ones listed on our wiki. I personally have put Tomcat
5.0-based apps in production that have handled the load you describe
(and much higher peak bursty loads) for months at a time without need to
restart.
Shapira, Yoav wrote:
Hi,
There are certainly other sites running Tomcat 5.0 under heavy load,
such as the ones listed on our wiki. I personally have put Tomcat
5.0-based apps in production that have handled the load you describe
(and much higher peak bursty loads) for months at a time without
The time window is within about 15 minutes. We run tomcat standalone,
with the standard http/11 connector. The server.xml is minimal. I
agree with the reproduceable angle, that is always a good place to start.
Keith
Shapira, Yoav wrote:
Hi,
There are certainly other sites running Tomcat 5.0
Hey Remy,
Some facts:
- the higher level code cannot cause the accept thread to die
Thread dump from T0 shows the two expected accepts, from main and from
the HttpConnector; thread dump at T(5mins) shows the main accept, many
idle Http handler threads waiting for work, and a few long-running
Keith Wannamaker wrote:
Hey Remy,
Some facts:
- the higher level code cannot cause the accept thread to die
Thread dump from T0 shows the two expected accepts, from main and from
the HttpConnector; thread dump at T(5mins) shows the main accept, many
idle Http handler threads waiting for work,
Hey Remy, by RH 9 bug do you mean the problem with jdk14 and nptl on
RH9? (os is RH9) I am running without nptl.
I did some more tracing and what I am seeing is that notify is called,
the thread is waiting, but it never wakes up.
Keith
Remy Maucherat wrote:
Keith Wannamaker wrote:
Hey Remy,
Keith Wannamaker wrote:
Hey Remy, by RH 9 bug do you mean the problem with jdk14 and nptl on
RH9? (os is RH9) I am running without nptl.
It doesn't matter which JDK version you're running. On RH 9, you need
LD_ASSUME_KERNEL=2.4.1. This disables the nptl backport, which doesn't
give any