Well I'm not sure how to check the current memory settings but I sure know how to adjust them :)
Presuming that you downloaded Tomcat directly and installed manually: open "$TOMCAT/bin/catalina.sh" Add the following somewhere near the top (I place mine after all the explanatory comments): JAVA_OPTS=" -Xmx1024m" This is tells java to allow a maximum of 1024 megabytes of memory to this instance of tomcat. Adjust appropriately. Please note: * the leading SPACE before the "-Xmx". * this is not a labeled parameter, therefore no "=" btwn the option and value. On Wed, Jun 10, 2009 at 1:12 PM, Jones, Keven <keven.jo...@ncr.com> wrote: > Thank you Tim > > I am going to attempt to set the maxThreads on 8011 to 600 and hope it > helps. > > The config is 1 linux apache2 server with 4 linux tomcat servers and each > tomcat server has 4 sepearte tomcat instances. So we have a total of 16 > tomcat instances across 4 servers. > > Yes, there is a firewall between the web sever and the > app(tomcat)/db(mysql) server. > > KJ > > -----Original Message----- > From: Tim Funk [mailto:funk...@apache.org] > Sent: Wednesday, June 10, 2009 1:02 PM > To: Tomcat Users List > Subject: Re: Tomcat maxThreads Issue > > Looking at the history of the thread - here are some guesses .... > > You have a connector on port 81 (http) and a connector on 8011 (ajp) and > commented out connector for 443. > > The port 81 connector and commented out connector are set to 600 - which > means absolutely nothing if apache is talking to tomcat via jk. > > Set |maxThreads on the connector for using port 8011 and life should be > better. > > If there are mulitple apache servers in front of tomcat - you need to > ensure you have (#apaches * max number connections per apache) threads > available on each tomcat. The thread history seems to indicate you only have > one apache with 100 workers max. So raising the maxThreads in tomcat from > 200 to something higher is not needed. > > Is there a firewall between apache and tomcat? If so - it could mean that > your firewall is timing out the connection and then bad things happen. > | > http://tomcat.apache.org/tomcat-6.0-doc/config/ajp.html > > > -Tim > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >