Greetings,
Tomcat is running, and was working fine until the memory usage went up
to 167, now none of the .jsp pages will respond ( the server hangs
forever ).
The last entries from the Catalina.out are :
java.lang.OutOfMemoryError
java.lang.OutOfMemoryError
java.lang.OutOfMemoryError
 
I don't understand how the JVM could be our of memory because I set it
to use 256M.  
So the last time this happened, I wrote a piece of code that would leak
some memory thinking that might be somehow related, but the tomcat
process used more than 167M when I tested that page.
 
 
I have set the CATALINA_OPTS="-Xms64M -Xmx256M", and everything looks
right when I list the processes.
ps -elf | grep tomcat :
 
0 S tomcat4  17629     1  0  85   0    - 315671 schedu Sep21 ?
00:00:04 /usr/java/j2sdk1.4.2_03/bin/java -Xms64M -Xmx256M.
 
However, after the system shows 167M in top, tomcat no longer responds.
None of the tomcat logs are written to, and I find this in the mod_jk
log :
 
[Thu Sep 23 11:00:03 2004]  [jk_ajp_common.c (738)]: ERROR: can't
receive the response message from tomcat, network problems or tomcat is
down. err=-104
[Thu Sep 23 11:00:03 2004]  [jk_ajp_common.c (1137)]: Error reading
reply from tomcat. Tomcat is down or network problems.
[Thu Sep 23 11:00:03 2004]  [jk_ajp_common.c (1290)]: ERROR: Receiving
from tomcat failed, recoverable operation. err=0
[Thu Sep 23 11:00:03 2004]  [jk_ajp_common.c (1309)]: sending request to
tomcat failed in send loop. err=0
 
top output :
 
  PID    USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME CPU
COMMAND
17629  tomcat4   25    0  167M 140M 12484 S     0.0  6.9  15:40   0 java
 
RedHat Linux ES 3.0
Apache 2.0.46 with ( mod_jk )
Tomcat 4.1.24
Sun j2sdk 1.4.2_03
 
I am confused.  Any help is greatly appreciated.  Please let me know if
I can provide any more informative details.  
Thank you for your time.
Take Care.
Shannon
 
PS
I have searched list archives and read the docs about tomcat
OutOfMemoryError, but none seem to address my problem.

Reply via email to