Hash: SHA256


On 8/13/19 13:11, Childers, Paula wrote:
> Windows Server 2008r2,  Oracle Java 1.7.0_231

Thanks for that.

> We are running multiple (6) Tomcats (each as a service) on this 
> server.  Recently installed 7.0.96 for all six, as an upgrade from 
> 7.0.94.
> We are seeing at least one of the Tomcats will attempt to grab as 
> much CPU as possible, until the system is at 100%.> Tried different
> combinations of the different Tomcats running to see if the problem
> was with a specific one, but the behavior occurs in multiple
> combinations.  As long as there is more than one Tomcat running,
> one of them will try to grab 100% CPU.  (Almost like it is in a
> loop? Or competing for a resource?)
> If I start up only one Tomcat, it runs normally.

Are you using 6 different installations, or a split-installation with
CATALINA_HOME and different CATALINA_BASES? It shouldn't really
matter, but it would be good to know.

> Bumped logging to DEBUG, nothing additional showed up, all logs
> look normal.
> Shut down all the 7.0.96 Tomcats, brought the previous 7.0.94 
> Tomcats back up, and all of them run normally, no CPU hogging -
> total CPU consumption fluctuates around 15% unless there is heavy
> usage.
> None of the web applications have changed anytime recently.
> Java was updated from 1.7.0_221 to 1.7.0_231 at the same time as
> the Tomcat 7.0.96 upgrade, but the 7.0.94 Tomcats do not seem to
> have any problems with the newer Java version.
That shouldn't really affect much unless there happens to be a really
bad JVM bug. With a version number like that, I wouldn't expect a big
bug like that to be present. You might want to upgrade to an even more
recent version of Java. The world is pretty much on Java 12 at this
point. (I say this personally as a Java 8 hold-out.)

> When we initially upgraded to 7.0.96, there were some issues with 
> accessing certain files and disk areas due to the "default" user 
> change to "local service" - we changed the user back to the
> previous "Local System" to allow time for examining the permissions
> changes that will be necessary to use "local service" in our
> environment.

That should be "safe" as far as Tomcat is concerned. You may want to
investigate a little more about how best to set permissions for your
Tomcat user.

Can you take some thread dumps of the 100%-CPU-process a few seconds
apart to see what the JVM is doing? Feel free to post the whole thread
dump to the list if you aren't quite sure how to read it.

- -chris
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/


To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to