-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 David,
On 7/16/14, 8:10 AM, David kerber wrote: > On 7/16/2014 8:00 AM, Brandon M. Wagner wrote: >> I'm having an issue with Tomcat 7.0.54 on a Windows Server 2008 >> machine (8GB of RAM, Dual AMD Opteron 8 core CPUs 2.0Ghz) where >> the .WAR file is taking 45 minutes to an hour to unpack and >> deploy. I can unpack the same .WAR file on my development machine >> (Windows 7, 16GB of RAM, Intel i7 870 2.93Ghz) in less than 2 >> minutes. >> >> Something troubling I'm noticing on the production machine is >> that the CPU usage will hover at around 13%. I've tried setting >> affinity and priority, but still Tomcat is only using the 13% of >> the CPU. > > So it's using all of one core (1/8=12.5%). I don't think TC will > multi-thread the deployment, so your CPU speed will be a bigger > factor than the number of CPUs, and your dev machine has a nearly > 50% higher clock speed. I'd be surprised if unzipping a WAR file was a CPU-bound process on today's hardware: the CPU is waaaay faster than the disk is. > What is the difference in your HD speed? Does your dev machine > have a much faster HD than the production server? That could make > a big difference. +1 Network share? > Do some digging to see what resource the production server is > limiting on; I'm guessing CPU and HD I/O. - -1 CPU +1 I/O - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJTxnRlAAoJEBzwKT+lPKRYz0cQALmsNjrBCx0Grjo82eGONtn2 tUjWWej0sgMLnxMLcKoHUblxiVbeRsC1W1UG7PF0TYbz1Mxs98N4xzguSVsnEkP9 hYEWv8jMyAoCMJA/GTyQZ4TD5b7x9tBhtCRkkGwDAe0yZdasFZkbvOBmMW3xvXiu JpTcVVwJd/+5ewgCFAwrPWhmbtnlroDGHFw92Xm0wCutFMeY9MUqSI/jL4oeemiD QWY8WL+y7D8F76sHymVV3XT1q+biRsrIxC+HaN+3En75EeStOxZ6fjrhkVswYynO IhPSls+ndOyEVCq0EARkFT5zpVq5DDKf0V7XVcDy/XLGXrk3g82SXi0xPlfHu2g1 fMp4LH6OKTHmG94iV3gHnYfK2cuy5p8tO1g0sj3OMmLIwFDKziv9QxRulQQCfCpY bvluFH6WMURZ9/Wmwqzln0w/zOMxOzH3biCv/A+FJA2P88mA3G4bFHNuQbGjN4Y4 ygTzk2H4+7zG3aeSvZQra6TptDPWPa+OKKDlx7QosZnxhC0n8Cjm4bvwHz+2cyN7 KhF6l4in5XCUEAOnfKk8j2HoAckNiQQ0INmG1u67IPAXM0y3W359SoxpGQojl5qk tRH1TUEnKemd+pt/1Swts/8tCuksVX0XAF0FhSXmNvARdpMWiaYrL1mcneRcew0l rQsyLHDqvA6OoeHK4GNN =TFO5 -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org