True, there is a definite memory leak when using a connector and a front-end webserver (e.g. mod_jk, mod_jk2)
You can try fixing this by putting:
# Fix memory leak bug in tomcat 5.0.19: request.registerRequests=false
in $TOMCAT_HOME/conf/jk2.properties
Cheers,
Michiel
Allistair Crossley wrote:
We had memory loss with 5.0.19. We profiled a 5.0.19 web app and found that memory was not being garbage collected too well. As soon as we upgraded this went away and was proven by th profiling. Start by trying out 5.0.27 and see how it goes. If it still happens then take Yoav's advice and profile you app using the (now freeware and excellent) JProbe (www.quest.com) and go from there.
ADC
-----Original Message----- From: Matt He [mailto:[EMAIL PROTECTED] Sent: 05 August 2004 15:43 To: Tomcat Users List Subject: java.lang.OutOfMemoryError
Hi,
We upgraded our Tomcat server from 3.0 to 5.1.19 about two months ago (linux
machine). Since then it frequently crashed (twice a week). It seems like the
crash was caused a web crawler. This web crawler generate many threads and
quickly drained server memory. The log file showed
java.lang.OutOfMemoryError. When we use Tomcat 3, this crawler didn't cause
this problem.
Does anyone have any suggestion on how to solve this problem (we don't want
to block this crawler)?
Thanks.
Matt
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
<FONT SIZE=1 FACE="VERDANA,ARIAL" COLOR=BLUE> -------------------------------------------------------
QAS Ltd.
Developers of QuickAddress Software
<a href="http://www.qas.com">www.qas.com</a>
Registered in England: No 2582055
Registered in Australia: No 082 851 474
-------------------------------------------------------
</FONT>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Michiel Toneman Software Engineer Bibit Global Payment Services Regulierenring 10 3981 LB Bunnik [EMAIL PROTECTED] Tel. +31-30-6595168 Fax +31-30-6564464 http://www.bibit.com/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
