On Mon, Oct 27, 2003 at 11:54:48 -0000, Peter Guyatt wrote:
> Hi There,
> 
>       Can you let me know which version of Tomcat has this problem ?
> 
> I have seen a similar problem, I thought that it could be connected to
> deadlock, but it now does not appear to be the case.

Yes, it's (at least) Tomcat 4.1.27 running on Sun's 1.4.2 jdk, on Linux 2.4.21.


 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: 27 October 2003 11:50
> To: [EMAIL PROTECTED]
> Subject: Re: Tomcat stops handling HTTP connections, socket is SYN_RECV
> 
> 
> On Fri, Oct 24, 2003 at 16:01:48 +0200, [EMAIL PROTECTED] wrote:
> > When everything quiets down, tomcat seems to be unable to service
> > any http requests. Any attempt to connect to port 10003 with a web
> > browser eventually causes a "No data in response"-style error message.
> > At this point it seems the http connector listening on port 10003 has
> > gone "zombie" on me:
> 
> I've figured out what's going wrong.
> The following exception is printed once on standard out when things
> fail:
> 
> java.lang.OutOfMemoryError: unable to create new native thread
>         at java.lang.Thread.start(Native Method)
>         at
> org.apache.catalina.connector.http.HttpProcessor.threadStart(HttpProcessor.j
> ava:1178)
>         at
> org.apache.catalina.connector.http.HttpProcessor.start(HttpProcessor.java:12
> 62)
>         at
> org.apache.catalina.connector.http.HttpConnector.newProcessor(HttpConnector.
> java:937)
>         at
> org.apache.catalina.connector.http.HttpConnector.createProcessor(HttpConnect
> or.java:868)
>         at
> org.apache.catalina.connector.http.HttpConnector.run(HttpConnector.java:1075
> )
> 
> I looked into the source for HttpProcessor briefly; perhaps the
> "thread.start()" on line 1178 or the threadStart() call on line 1262
> could be surrounded with a try/catch(OutOfMemoryError), and throw a
> LifecycleException?


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

Reply via email to