× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Unfortunately that only restricts to one core. One core can still drive a
system to its knees

--
Jim Oberholtzer
Chief Technical Architect
Agile Technology Architects


-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Charles Wilt
Sent: Wednesday, April 23, 2014 7:31 AM
To: Java Programming on and around the IBM i
Subject: Re: How To Limit Tomcat CPU on IBM i

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/rzaksworkloadca
pping.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 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.

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2024 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.