> This problem had been plauging me for years, at random times Tomcat would
> just lock up and had to be restarted.  My setup is similar to yours, four
> cocoon webapps running under tomcat 5.5 behind Apache.  Dual PIII 933mhz
> with 1gig RAM on redhat 8 
>
> I FINALLY found the cause and solution:

I'm interested in the values that you have set for the store-janitor in 
cocoon.xconf based on your JVM settings below, as well as any max-pool changes. 
 My setup is somewhat similar:

Applications
------------------------
Cocoon 2.1.6
Apache Tomcat 5.0.28
JVM 1.4.2_07

Hardware/Software
------------------------
Dual Xeon 3.06 GHz
3 GB RAM
RedHat Enterprise AS 3


I went ahead and used the JVM settings you provided, yet I was always faced 
with about a 2-second lag for each page request, no matter how many times I 
visited the page.  I hadn't even scaled the numbers you provided for min and 
max heap size, etc.  The only thing I changed in the store-janitor was the 
freememory and heapsize parameters to the following:

freememory = 81472000 (about 15% of the heapsize)
heapsize   = 536000000 (slightly less than 512 MB)

I didn't change any pool sizes.  Are you getting about a 2-second lag for each 
page request as well?  This memory allocation has always been a mystery for 
me...

Jon

<<winmail.dat>>

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

Reply via email to