Andrew, Believe me I wish this was on Linux soooo many things would be so much easier for someone who is used to unix, but unfortunately we are on windows server 2k3 the decision was made before I got here. We are moving to either linux or Solaris in the future but that will take a while.
The highest that we could set the heap was to 1200. I tried higher and it would not start. It also seemed somewhat unstable above 1024 which was the previous setting, slowness updating the client and other things. The company that develops the enterprise s/w that uses tomcat said that settings over 1024 were unstable so my feeling was confirmed by them. We use an snmp agent to our nms to get system statistics. There was nothing out of the ordinary, other than tomcat using about 1298M which is the most that we have seen it use. We have everything up and running now and we are load balancing which is how it should have been set up in the first place. The memory usage of tomcat has dropped ~40% since we made that change. It was normally using between 600M & 800M now its down to about 4-500M give or take. I can't run ps on Windows unfortunately. As far as the JVM settings are concerned I will have to see where they are set. Since this is not just tomcat things are not all where they normally are but I will check. As far as it dumping core we have 2 .hprof files in our directory which is what the vendor had us send in so that they can look through them each one of those came when it had full thread dump in the log files. The other time we saw no .hprof but the message in the stdout.log that says tomcat is shutting down. Regards, Sean On Dec 6, 2007 12:42 PM, Andrew Miehs <[EMAIL PROTECTED]> wrote: > Do you also have performance data for the front end machines? > > What OS are you running? > > Would definitely recommending installing sar (or sysstat package) if > you are running linux. > If Linux, which kernel? > > If it really is heap, have a look at: > > http://hausheer.osola.com/docs/5 for a simple description on how to > fix this... > > Below is the google link which shows how this was found.... > http://www.google.com/search?rls=en-us&q=java.lang.OutOfMemoryError:+Java+heap+space&ie=UTF-8&oe=UTF-8 > > > > The thing I am wondering also is why it shuts down cleanly > > sometimes. Is > > there something internally that triggers that with this version of > > Tomcat, > > would an out of heap memory situation cause that. Maybe its in one > > of the > > logs but I am still going through all of them. There are multiple > > megs of > > them. > > > > Are you sure it shuts down cleanly - this seems strange - you may want > to chnage `ulimit -c 1000` so that you can see whether it really core > dumps or not.... > > what does `ps auxH` report on your machine? > > How much memory is the thing using? > > How high have you configured your memory settings for the JVM? > > > > Cheers > > Andrew -- "Any sufficiently advanced technology is indistinguishable from magic." - Arthur C. Clarke