Hi
I have a huge problem with one of my box, I'll apreciate if anybody can
enlight me about where could be the error.
The server its a RH 7.2 with 1 GB RAM.
I'm running Tomcat 4.0.3 with mod_webapp and mod_jk as well over
apache 1.3.23.
My problem start when I have tomcat running and I restart apache,
catalina.out it start to fill with java.lang.OutOfMemoryError
messages, if I restart tomcat too the problem disapear.
I tried to run a cronjob
*8 * * * * /var/tomcat403/jakarta-tomcat-4.0.3/bin/restart.sh
where restart.sh say
#!/bin/sh
echo Stopping Tomcat 4.0.3
JAVA_HOME=/var/tomcat403/j2sdk1.4.0/; export JAVA_HOME
export CATALINA_HOME=/var/tomcat403/jakarta-tomcat-4.0.3
$CATALINA_HOME/bin/shutdown.sh
echo Waiting for Tomcat to Stop
sleep 15
echo Starting Tomcat 4.0.3
$CATALINA_HOME/bin/startup.sh
echo Done.
If I don't do that, after awhile apache start to fail.
But I want to avoid to run that cron every 10 minutes, anybody can
help me to find what its wrong and why everytime that I restart apache
I get java.lang.OutOfMemoryError messages?
Thanks in advance
--
Best regards,
Jorge Catena
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>