Hello,

I have the following setup.

Java jdk 1.4.2
tomcat 5.0.19
Apache 2.0
mod_jk 2.0

ok there are 3 instances of tomcat and one of them with 4 webapps
contexts. and 3 large applications that are used a lot. And I do some
preloading of some data from database into objects at start up...

About every week or so I get out of memory errors... Some of them are due
to Java advanace imageing API. Its a little buggy but also sometimes
because of tomcat needing more memory. and I am fixing some of my own apps
bugs...

So my questions:

1. I experimented with setting JVM memory options larger but I am not sure
what's a good amount for each of the tomcats? 256MB.. 512MB...??

I only have 1GB of RAM and 2GB of swap and the machine has 2 Xeon and runs
Redhat.

2. based on what should I make changes to these settings? or should just
take the defaults?

maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" acceptCount="100"

3. If I upgrade JDK and tomcat would that improve things? I did see some
bugs related to JDK 1.4.2 but 1.5 could have some other things too :)

4. I don't use jsp and infact I could even run things on Jserv so what
tomcat version is faster and needs less memory?


Thanks











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

Reply via email to