Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 8302 invoked from network); 26 Jan 2004 15:53:56 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 26 Jan 2004 15:53:56 -0000 Received: (qmail 29723 invoked by uid 500); 26 Jan 2004 13:03:44 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 29661 invoked by uid 500); 26 Jan 2004 13:03:44 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 29645 invoked from network); 26 Jan 2004 13:03:44 -0000 Received: from unknown (HELO main.gmane.org) (80.91.224.249) by daedalus.apache.org with SMTP; 26 Jan 2004 13:03:44 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1Al6P2-0000k4-00 for ; Mon, 26 Jan 2004 14:03:44 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: dev@cocoon.apache.org Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Al6P1-0000jw-00 for ; Mon, 26 Jan 2004 14:03:43 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1Al6P0-0008Tn-00 for ; Mon, 26 Jan 2004 14:03:42 +0100 From: Jorg Heymans Subject: Re: JVM memory settings for production Cocoon? Date: Mon, 26 Jan 2004 14:02:02 +0100 Lines: 120 Message-ID: References: <84F0A43A4248CE45B5C0E20F4C40779C5DA4BA@naomi.webworks.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en In-Reply-To: <84F0A43A4248CE45B5C0E20F4C40779C5DA4BA@naomi.webworks.nl> Sender: news X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Arje, How do the amount of available memory and the JDK memory settings (eg Xms512M -Xmx512M) relate? Having 512MB in my server, what's the maximum i can/should set these parameter so i'm not starving the other processes of memory? Any real-life thoughts? (I'll start googling this anyway) Jorg Arje Cahn wrote: > By the way, i've set up > http://wiki.cocoondev.org/Wiki.jsp?page=CocoonPerformance > to scribble down some performance tricks. Please add your findings! > > Arj� > > >>-----Original Message----- >>From: Arje Cahn >>Posted At: Monday, January 26, 2004 1:26 PM >>Posted To: Cocoon Dev List >>Conversation: JVM memory settings for production Cocoon? >>Subject: RE: JVM memory settings for production Cocoon? >> >> >>Hi, >> >>We have Xms & Xmx both on 512mb for about 3 or 4 medium >>websites (about 10 to 20.000 pages in total). >>Make sure you set the "maxobjects" of the transient-store to >>a high number if you've got lots of memory available. It's >>set to 100 by default which is *way* too low. I use about 4 >>to 8000. Seems to work. Check the status page to use if it's >>not overloading. >> >>Also, set the store-janitor's heapsize in cocoon.xconf higher >>(by default it's set to use only 64 mb). Set the use-store >>attribute of the XSLT processor you're using to true to cache >>your XSLT's (is this still set to false by default >>http://archives.real-time.com/pipermail/cocoon-devel/2003-Octo >>ber/022203.html?). Turn off subsitemap reloading (only for >>deployment!). >> >>Oh, use XSLTC. >> >>Hope this helps! >> >>Arj� >> >> >> >>>-----Original Message----- >>>From: Rottmann, Lars [mailto:Lars.Rottmann@vodafone.com] >>>Posted At: Monday, January 26, 2004 11:44 AM >>>Posted To: Cocoon Dev List >>>Conversation: JVM memory settings for production Cocoon? >>>Subject: AW: JVM memory settings for production Cocoon? >>> >>> >>> >>>We currently use the following options (on a 4GB machine): >>> >>>JAVA_OPTIONS_GENERAL="-server -Djava.awt.headless=true \ >>>-Xms2536M -Xmx2536M -XX:+UseParallelGC \ >>>-XX:+UseAdaptiveSizePolicy -DisableExplicitGC " >>> >>>Lars >>> >>> >>> >>> >>>>On 23.01.2004 17:06, Andrzej Jan Taramina wrote: >>>> >>>> >>>>>Currently have -Xms set to 256MB and -Xmx set to 512MB, but that >>>>>sounds low >>>>>to me. >>>> >>>>Not that I'm very experienced with such settings, but I >> >>"heard" that >> >>>>setting Xms and Xmx to the same value is recommendable and it was >>>>standard in the company I worked for. 256 MB is indeed not >>> >>>much, but 512 >>> >>>>should be enough for normal Cocoon pipeline processing. >> >>Using FOP or >> >>>>Batik is more memory consuming. >>>> >>>>Joerg >>> >>> >>>Vodafone Global Content Services Limited >>>Registered Office: Vodafone House, The Connection, Newbury, >>>Berkshire RG14 2FN >>> >>>Registered in England No. 4064873 >>> >>>This e-mail is for the addressee(s) only. If you are not an >>>addressee, you >>>must not distribute, disclose, copy, use or rely on this >> >>e-mail or its >> >>>contents, and you must immediately notify the sender and >>>delete this e-mail >>>and all copies from your system. Any unauthorised use may be >>>unlawful. The >>>information contained in this e-mail is confidential and may >>>also be legally >>>privileged. >>> >>> >> >