tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard <richardle...@fastmail.co.uk>
Subject Tomcat 4.1 random crashes
Date Mon, 11 Oct 2004 09:21:25 GMT
Hello Tomcat users,

I wonder if you might be able to shed a little light on this problem:

I have Tomcat 4.1.30 installed using J2SDK 1.4.2_05 (from java.sun.com) 
on a Debian GNU/Linux machine (P4, 256Mb RAM).

I am using it to serve a couple of Cocoon (2.1.5.1) web applications 
and I have Apache (2.0) ProxyPass directives to re-direct requests to 
the Tomcat server where necessary:

<Proxy *>
	Order deny, allow
	Allow from all
</Proxy>

<VirutalHost *>
	ServerName www.some-host.org
	ProxyRequests Off
	ProxyPass / http://localhost:8080/some-host/
	ProxyPassReverse / http://localhost:8080/some-host/
</VirtualHost>

This all works fine except that, after a few days, Tomcat just seems to 
stop serving. Client requests to http://www.some-host.org/ will wait 
for as long as the is willing to and then just give up.

If I issue:
# ps -Al
the results include:
0 S   103 26384     1 99  81   0 - 77800 schedu pts/0    00:00:22 java
0 S   103 19815     1  0  76   0 - 67245 schedu ?        00:00:22 java
0 S   103 11301     1  0  76   0 - 67357 schedu ?        00:00:22 java

(The Tomcat process(es!) runs as a non-privileged 'tomcat'.)

So all I can do is restart Tomcat
# $CATALINA_HOME/bin/catalina.sh restart

and it then works fine a few more days.

# tail /var/log/apache2/error.log gives:
[Mon Oct 11 09:21:34 2004] [error] [client ***] proxy: error reading 
status line from remote server localhost
[Mon Oct 11 09:21:34 2004] [error] [client ***] proxy: Error reading 
from remote server returned by /

(I can't find any Tomcat logs...)

Any ideas why this might be happening?

Cheers,
Richard


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message