Re: Reducing system resource usage by Tomcat/Cocoon

2001-11-15 Thread Adam A R

Hi Anthony,

I was wondering if it was only me whos having the problem.

My Problem:

I am using Cocoon1.8 with iAnywhere Wireless Server(from Sybase). For
simplicity I am using a simple XML file with a simple XSL stylesheet which
transforms the XML to HTML
Everything is OK until I request around 19 xml documents from Cocoon.(it
doesnt matter if i keep refreshing the same page.) But when I cross this
limit, the CPU usage never comes back to normal. It keeps varying between
44% - 85%. And if i keep requesting xml pages... it goes upto 100% never to
come back!!!  I have to restart the server.

Has anyone else run into such case??

Is there some solution/workaround to this? if its a problem with Cocoon.

cheers
Adam


- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, November 14, 2001 10:30 PM
Subject: Re: Reducing system resource usage by Tomcat/Cocoon


 Interesting - I've been running c2 on NT and UNIX - it seems much better
 behaved under UNIX - I still fail to understand the CPU usage when it's
 idle (100% if allowed on NT! and 2.6% on UNIX, but why, it's not doing
 anything).

 dunno the answer. Maybe should be posted to the 'dev' mail list.

 Regards,

 Anthony Aldridge
 Lead Application developer

 Managed Intranet Hosting
 CSC
 JPMorganChase
 Personal GDP: 325-8338
 MIH Hotline: 876-1300





 Robert J. Lebowitz [EMAIL PROTECTED] on 14/11/2001 02:40:56

 Please respond to [EMAIL PROTECTED]

 To:   [EMAIL PROTECTED]
 cc:
 Subject:  Reducing system resource usage by Tomcat/Cocoon


 I've been running Cocoon 2 for a few days now using Tomcat/Apache as a
 servlet container.  Frankly, I'm a bit stunned at what a memory hog the
 framework is.

 I've been trying to determine by what means I can reduce the amount of
 memory utilized, but thought I'd simply ask the group to see what items
 they
 think would be significant:

 1.  Choice of VM:  I'm using Sun's jdk 1.3.1 under Linux.  Would the IBM
VM
 be a better choice?
 2.  Configuration of Tomcat:  what aspects of Tomcat can be tuned to
reduce
 memory usage?  I've experimented  running Tomcat in standalone mode, and
 using the Warp connector.. what can I do to reduce resource usage?
 3.  Eliminating unneeded jars, Generators, Transformers, etc.
 4.  Cocoon configuration itself...

 Thanks I look forward to your remarks.

 Rob


 -
 Please check that your question has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faqs.html

 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]







 -
 Please check that your question has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faqs.html

 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Reducing system resource usage by Tomcat/Cocoon

2001-11-14 Thread aaldridg

Interesting - I've been running c2 on NT and UNIX - it seems much better
behaved under UNIX - I still fail to understand the CPU usage when it's
idle (100% if allowed on NT! and 2.6% on UNIX, but why, it's not doing
anything).

dunno the answer. Maybe should be posted to the 'dev' mail list.

Regards,

Anthony Aldridge
Lead Application developer

Managed Intranet Hosting
CSC
JPMorganChase
Personal GDP: 325-8338
MIH Hotline: 876-1300





Robert J. Lebowitz [EMAIL PROTECTED] on 14/11/2001 02:40:56

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:
Subject:  Reducing system resource usage by Tomcat/Cocoon


I've been running Cocoon 2 for a few days now using Tomcat/Apache as a
servlet container.  Frankly, I'm a bit stunned at what a memory hog the
framework is.

I've been trying to determine by what means I can reduce the amount of
memory utilized, but thought I'd simply ask the group to see what items
they
think would be significant:

1.  Choice of VM:  I'm using Sun's jdk 1.3.1 under Linux.  Would the IBM VM
be a better choice?
2.  Configuration of Tomcat:  what aspects of Tomcat can be tuned to reduce
memory usage?  I've experimented  running Tomcat in standalone mode, and
using the Warp connector.. what can I do to reduce resource usage?
3.  Eliminating unneeded jars, Generators, Transformers, etc.
4.  Cocoon configuration itself...

Thanks I look forward to your remarks.

Rob


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]