I can almost bet I heard somewhere (possibly Remedy Support), a few versions
ago (I think during V5 days), that allocating about 4 MB per expected
concurrent web user is a fair algorithm to arrive at the expected web server
memory usage. I can't see how that might have changed significantly since
V5. To be on the safe side I would add another 25% to that figure.

Joe D'Souza
  -----Original Message-----
  From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] Behalf Of Kemes, Lisa
  Sent: Wednesday, October 03, 2007 12:16 PM
  To: [email protected]
  Subject: Re: Tomcat Using Full CPU on Win2003


  **
  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]

No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.488 / Virus Database: 269.14.0/1046 - Release Date: 10/3/2007
10:08 AM

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

Reply via email to