I created a ticket with BMC and they looked at the logs and said that we
needed to increase our Java Heap size to 1GB.  We have a Windows 2003
Mid Tier server with 2GB of RAM  (7.0.1 Patch 3) and there are other
apps on this server, so 1GB seemed a little excessive, so I asked "Is
there a formula to figure what size the Java Heap should be?"
 
They replied: 

There is no formula for calculating the heap size. The default heap size
on Tomcat is 64mb.Our recommendation to increase the heap size is based
on the error we're seeing in the Tomcat log. For large applications such
as ITSM 6 we recommend a heap size of 512mb and for larger applications
such as ITSM 7, we recommend 1G.

Well, we don't have ITSM 6 or 7, just AR System and Mid Tier.  

We've increased to 128MB so far.  But my question is, does anyone have a
formula or an idea of what the heap size should be?  Also, does anyone
have their Tomcat performance or logs monitored to notify when it's over
the heap size (when the log says: Java.lang.OutOfMemory: Java Heap
Space)?

Lisa

 

 


________________________________

From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Averell, Graham
Sent: Wednesday, September 26, 2007 4:23 AM
To: [email protected]
Subject: Re: Tomcat Using Full CPU on Win2003


** 

Hi Lisa,

Have you tried manually deleting the tomcat cache?  Move or delete the
Catalina dir (fine it in \Tomcat 5.5\work\ dir). It will rebuild after
restarting the tomcat service.

Also watch the cpu usage after stopping the tomcat service. Wait till it
drops before manually restarting the service. 

Graham 

________________________________

From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Kemes, Lisa
Sent: 25 September 2007 19:52
To: [email protected]
Subject: Re: Tomcat Using Full CPU on Win2003

I tried to find this .dll and did not find it.  So I'm thinking that
this may not be the problem. 

Thanks!

________________________________

From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Tony Worthington
Sent: Tuesday, September 25, 2007 11:53 AM
To: [email protected]
Subject: Re: Tomcat Using Full CPU on Win2003

** 
Lisa - 

Are you using the tcnative.dll?  It would be in Tomcat\bin --
tcnative-1.dll or tcnative.dll 

I found that deleting/renaming the file fixed my 100% cpu issues.  I
also use mod_jk which I think plays into the problem. 

http://archive.netbsd.se/?ml=tomcat-dev&a=2006-11&t=2659074 

If that's not the issue maybe someone else can give you further
insight... 

-tony 


-- 
Tony Worthington
Sr. Technical Analyst
Kohl's Department Stores
[EMAIL PROTECTED]
262-703-5911 



"Kemes, Lisa" <[EMAIL PROTECTED]> 
Sent by: "Action Request System discussion list(ARSList)"
<[email protected]> 

09/25/2007 10:20 AM 

Please respond to
[email protected]

To

[email protected] 

cc

Subject

Tomcat Using Full CPU on Win2003




** 

We have production ARS 7.0.1 Mid-Tier Server down due to the tomcat
process taking a full CPU (spinning).  Stopped/restarted the service and
can get in ... 

Mid Tier Logs: 
Sep 25, 2007 10:34:25 AM - WARNING (com.remedy.log.INTERNAL) : (Thread
12) The JSWRiter parameter is not set to mutiline mode. Performance
might get affected due to this. 

Not sure how to avoid this in the future? 

Lisa Kemes 
BMC Remedy Developer 
Tyco Electronics 
717-810-2408 tel 
717-810-2124 fax 
[EMAIL PROTECTED] 

__20060125_______________________This posting was submitted with HTML in
it___ 

__20060125_______________________This posting was submitted with HTML in
it___

__20060125_______________________This posting was submitted with HTML in
it___
Please consider the environment before printing this e-mail or its
attachments. 
________________________________

This e-mail (and any attachments) contains information, which is
confidential and intended solely for the attention and use of the named
addressee(s). If you are not the intended recipient you must not copy,
distribute or use it for any purpose or disclose the contents to any
person. If you have received this e-mail in error, please notify us
immediately at [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> . The information 
contained
in this e-mail (and any attachments) is supplied in good faith, but the
sender shall not be under any liability in damages or otherwise for any
reliance that may be placed upon it by the recipient. Any comments or
opinions expressed are those of the originator not of NTT Europe Ltd.
unless otherwise expressly stated. 
NTT Europe Limited is a company registered in England and Wales with
company number 2307625. Registered Address: NTT Europe Ltd. 3rd Floor,
Devon house, 58-60 St. Katharine's Way, London, E1W 1LB, UK. Telephone
+44-20-7977-1000. Facsimile +44-20-7977-1001. Website Link:
http://www.ntteurope.com <http://www.ntteurope.com/>  
 
__20060125_______________________This posting was submitted with HTML in
it___ 

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the 
Answers Are"

Reply via email to