cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "T.Pospisek's MailLists" <t...@spin.ch>
Subject Re: Cocoon configuration performance comparison?
Date Fri, 19 Jan 2001 10:43:01 GMT
On Fri, 19 Jan 2001, Paul Russell wrote:

> * T.Pospisek's MailLists (tpo2@spin.ch) wrote :
> > We have been runing a live Cocoon site for quite a while, but have been
> > forced to pull the plug due to response delays getting tooooooooooooo
> > long (several couples of seconds) and are generating everything offline
> > and just copying over the generated pages to our online site now. We're a
> > low traffic site btw - we've got a 40 hits/hour average.
>
> That is deeply worrying. What type of content are you generating?

xsl(XML) -> HTML

> Do you have caching enabled?

Yes, I sure hope so. From /etc/cocoon/cocoon.properties:

##########################################
# Cache Managers                         #
##########################################

# the default cache
cache = org.apache.cocoon.cache.CocoonCache

# disable page caching
#cache = org.apache.cocoon.cache.NoCache

> Are the documents very large?

The average size of a XML document is about 3KB, the average of the
resulting HTML doc is about 5KB. During the XSL transformation (which is
quite linear btw. ... see http://sourcepole.com/sources/software/sp.xsl/
for the XSL source) the navigation bar is included per
<xsl:apply-templates select="document($navigation-bar)" ...>.

> Does the machine have enough RAM and a sensible processor?

Quoting from my posting:

On Fri, 19 Jan 2001, T.Pospisek's MailLists wrote:

> Our server's got the following setup:
>
> - Intel Pentium 233 MHz, 128M RAM, 128M swap
> - network connectivity is not a problem
> - Linux 2.2.18
> - Debian woody/testing
> - Apache 1.3.9
> - Sun's JRE/jdk1.1.8
> - Cocoon 1.8
> - jserv1.2 ??
> - xalan_1_2_D02.jar
> - xerces_1_2.jar
>
> We're runing jserv with the following parameters (if we ommit them,
> we're geting out of memory errors). Everything else is default:
>
> * /etc/jserv/jserv.properties:
>   wrapper.bin.parameters=-ms64m -mx128m -ss500k -oss1m
>
> Judging by "top" the server itself never seemed to suffer neither
> performance problems nor memory problems.

Any ideas?
*t

----------------------------------------------------------------------------
             Tomas Pospisek
	     SourcePole   -  Linux & Open Source Solutions
	     http://sourcepole.ch
	     Elestastrasse 18, 7310 Bad Ragaz, Switzerland
	     Tel: +41 (81) 330 77 11
----------------------------------------------------------------------------





Mime
View raw message