tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michiel Toneman <Michiel.Tone...@bibit.com>
Subject Re: java.lang.OutOfMemoryError
Date Thu, 05 Aug 2004 15:11:57 GMT

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:mhe@itsc.uah.edu]
>>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: tomcat-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>>
>>    
>>
>
>
><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: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>  
>


-- 
Michiel Toneman  Software Engineer   Bibit Global Payment Services
Regulierenring 10  3981 LB  Bunnik       Michiel.Toneman@bibit.com
Tel. +31-30-6595168  Fax +31-30-6564464      http://www.bibit.com/


---------------------------------------------------------------------
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