×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Do you have multiple oores?

Are you running 7.1?

If the answer to both is yes, take a look at Workload capping
http://pic.dhe.ibm.com/infocenter/iseries/v7r1m0/topic/rzaks/rzaksworkloadcapping.htm

HTH,
Charles


On Wed, Apr 23, 2014 at 8:09 AM, Jim Oberholtzer <
midrangel@xxxxxxxxxxxxxxxxx> wrote:

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.


--
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.



This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.