Ok, I've done some more digging and am still stumped. I don't think it's a garbage collector. The machine runs on 2 Gigs of Ram. I set the -Xmx and -Xms value to 1024m and the younger generation values as -XX:NewSize=386m -XX:MaxNewSize=386m -XX:SurvivorRatio=4.
Watching the system in task manager, the memory used doesn't exceed 300Mb. Which leads me to believe that it's not gc. The 2 cpu's are 2 Xeon 3.20 Processors (incorrectly stated 3.06 before I believe). Talking with the developer, he thinks that it's hovering around 50% because of hyperthreading. I've watched it go up to 80% (during the first run it peaks there briefly before settling in to the standard 45%-55% range, so I don't think that's the issue. I was thinking maybe it's a database issue, but if that was the case, wouldn't the tomcat processor percent drop off while waiting for the db response? Or could this be from using connections? Also, I noticed that the thread count for the tomcat process is 44. I couldn't pass that no matter what I tried. Does this mean anything? How can I get more than 44 threads running? Thanks in advance for any help on this frustrating problem! Kevin Williams -----Original Message----- From: Kevin Williams [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 01, 2005 10:48 PM To: Tomcat Users List Subject: RE: tomcat CPU utilization pegged...total CPU only 50% [bcc][faked-from][bayes] Importance: Low Charles, My client has installed two instances of tomcat (each as a service). I'm not really sure how they did it (they have the standard C:/Program Files/Apache Group/Tomcat 4.1 folder, but the apps and conf files are in D:/instances/instance1/conf, D:/instances/instance1/app, D:/instances/instance1/work, D:/instances/instance1/log). I'll talk to the guy who configured this so I can emulate one of the instances in batch mode. I'll let you know how it goes after I make the changes! Kevin -----Original Message----- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 01, 2005 10:00 PM To: Tomcat Users List Subject: RE: tomcat CPU utilization pegged...total CPU only 50% [bcc][faked-from] Importance: Low > From: Kevin Williams [mailto:[EMAIL PROTECTED] > Subject: RE: tomcat CPU utilization pegged...total CPU only 50% > > 1. Yes, tomcat is running as a service. You might want to shutdown that service and run it from a command-line window, at least for testing purposes. Easier to fiddle with heap size options and the like. > 2. I am not aware of any CPU affinity settings. They won't show up in Task Manager. Not sure if the plain Windows Server supports affinity; my experience with that capability was on a 32-CPU Advanced (Enterprise?) Server system which I no longer have access to. There's an mmc plug in Admin Tools that lets you play with associating processes with CPUs, if it's available in your OS. > 3. I'm not sure what options are set with the jvm (I didn't > install the service). IIRC, the default heap size for the 1.4.1 JVM on Windows is only 64 MB, and that's really not enough for any serious work. I suspect that you're spending much of your time in garbage collection. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
