Does anyone have any solid information about the scalability of Tomcat?  It
seems very limiting to me, but that is hopefully due to improper
configuration.  Here is our situation and what seems to be happening under a
small amount of stress.

---About our Environment---

PIII 1.0Ghz
512 Meg Ram
Linux RedHat 7.1
MySQL Database
Apache 1.3.x
mod_jk - logging turned all the way down
Tomcat 3.2.4 - contexts *are* reloadable right now
SUN JDK 1.3.1_01

---About our Application---

Our Application is a content management tool that reads and writes to the
MySQL Database and reads and writes files.  All the pages within this
application are served by Tomcat 3.2.4.  About 80-120 people per day log
into this application and spend anywhere from 10 minutes to one hour working
on the application.  At any given time there are between 15 and 50 active
database connections.

---What we are seeing---

Tomcat needs to be restarted every few days.  If we don't restart it, it
seems tomcat eventually locks up and does not respond at all.  No errors or
anything are reported, it just will not respond.  Apache continues to work
during this time and all static HTML pages are accessible.

CPU - The processor usage seems to slowly increase as time goes on.  After
about one day, it seems one java process uses 30% of available CPU or more,
depending on whether users are performing operations or not.  When nobody is
doing anything, the processer still seems to be sitting around 30% until
tomcat is restarted.  This seems to cap after three to five days and not
increase too much more.

RAM - This slowly increases and never stops increasing.  We do not have any
special parameters set for the VM when it starts, but this does not seem to
matter.  The RAM gets up to about 135 MB after four or five days, but would
continue to grow if tomcat were not allowed.


Can anyone explain this behavior, talk about the scalability of Tomcat, or
provide any similar working solutions that perform better than this?  Is it
normal, should we just throw more hardware at it?  Are there configuration
parameters that can be used to increase performance, such as set
reloadable=false in all contexts?  Would we get better performance if we
upgraded to 4.x, or would that just be more work for little improvement?


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to