you may want to first try running tomcat with verbose gc turned on.


this will tell you whether or not it is working correctly. 

refer to previous email I sent with the java options for verbose gc.

peter lin

Raj Saini wrote:
> 
> I also did a small test where I was calling a simple servlet in a loop. The
> only resource used in the servlet was a random number generator. The tomcat
> crashed after running few hours.
> 
> I used the tomcat 4.1.10 for this. Though I did this test on a very small
> machine (Intel 166Mhz with 128 MB RAM), but the real reason of the crash was
> the insufficent memory. Tomcat had used all the physical and the swap file
> size grown upto 300 MB. Since there was no enough space on the file system
> and swap file size could not be increased, Tomcat crashed eventually.
> 
> I attach the servlet code for you evaluation.
> 
> Raj Saini
>

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

Reply via email to