We were experiencing the same problem with our tomcat servers (5.0.28).  Our
problem was that the jk connector port was being overwhelmed with
connections (we connect to tomcat from apache via mod_jk).  There in no way
5.0.28 to enlarge the thread pool size on the connectors (in server.xml).
The solution we found was to add the recylce_timeout property to all of our
workers in the apache/conf/workers.properties file:

        worker.tc1.recycle_timeout=120

This setting will kill threads that have been inactive for two minutes (the
thread checking takes place once a minute by default).  We've been running
for a week with this setup and have had no recurrence of the problems you
describe.

If you are running tomcat 5.5, you can set the threads pool size for
connectors in server.xml using the maxThreads property of the connector.

If you are not running apache/tomcat, you will have to change the settings
on the tcp/ip connector port.

Hope this helps.



-----Original Message-----
From: Mike Sabroff [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 10, 2006 8:20 AM
To: Tomcat Users List
Subject: Re: Tomcat out of memory

At our company we bounce tomcat every morning via a cron job

Burak "Y                            " wrote:
> Hi all;
>
> I have a web site where 200 users online at average...These user overload
started in these days...
>
> Webpages seem to be loading sometimes then blank page comes(totaly blank
no error messages)...I havent set any memory pool option on Tomcat or havent
installed native software support of Tomcat...
>
> Please give me an idea in this situation...What must i do?
>
> thanks
>
> Burak YILMAZ
>
>               
> ---------------------------------
>  Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on
new and used cars.
>   

--
Mike Sabroff
Web Services
Developer
[EMAIL PROTECTED]
920-568-8379


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

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

Reply via email to