tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Eggers <its_toas...@yahoo.com>
Subject Re: High CPU usage - tomcat 7 and need solutions
Date Sun, 01 Sep 2013 02:20:41 GMT
On 8/31/2013 7:05 PM, Karuppu Samy wrote:
> I need suggestion to limit the memory /CPU limit for tomcat. Is there any
> variable to setup to limit this?
>
>
> On Sun, Sep 1, 2013 at 2:31 AM, André Warnier <aw@ice-sa.com> wrote:
>
>> Karuppu Samy wrote:
>>
>>> Hi Team,
>>>
>>> I find tomcat is using high CPU usage in my server. Is there any way to
>>> limit the memoryCPU resource limit for tomcat 7?  Any guide??
>>>
>>>
>> Remove your applications ?
>>

I second André's suggestion.

You're using jsvc it appears.

You could use -Xms and -Xmx arguments to constrain the memory. However, 
this is unlikely to give you what you want.

You could use OS commands to constrain CPU usage. However, this is 
unlikely to give you what you want.

If your application is well-behaved, you just may need a bigger system.

If your application is poorly behaved, then you need to fix your 
application.

As André was trying to gently point out, this is an application problem 
and not a Tomcat problem.

Since we know nothing of your application, there is nothing (short of 
Pid's crystal ball) that we can offer that will be of use.

. . . . just my two cents.
/mde/

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


Mime
View raw message