Paul,
Since this is all running in one partition, about the only way I can think
of is to put a monitor on the system that whenever the Tomcat jobs spike
over a certain percentage of CPU for a specified period of time, it drops
the priority of those jobs to over 50. A CL using some APIs or Management
Central could do that for you.
What OS version?
--
Jim Oberholtzer
Chief Technical Architect
Agile Technology Architects
-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Holm, Paul
Sent: Tuesday, April 22, 2014 4:50 PM
To: Java 400 List
Subject: How To Limit Tomcat CPU on IBM i
I'm running Tomcat 5.5 directly on the IBM i. Periodically when running
some code the CPU spikes to 99.9%. We suspect it might be some infinite
loops in certain cases and we are analyzing that.
Tomcat is started from a CL command which calls the catalina400.sh
How can I LIMIT the amount of CPU that Tomcat is allowed so it doesn't
degrade performance for the other system users?
Thanks, Paul Holm
--
This is the Java Programming on and around the IBM i (JAVA400-L) mailing
list To post a message email: JAVA400-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at
http://archive.midrange.com/java400-l.
As an Amazon Associate we earn from qualifying purchases.