Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 27925 invoked from network); 5 Jul 2006 06:43:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Jul 2006 06:43:55 -0000 Received: (qmail 31784 invoked by uid 500); 5 Jul 2006 06:42:50 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 31657 invoked by uid 500); 5 Jul 2006 06:42:49 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 31581 invoked by uid 99); 5 Jul 2006 06:42:48 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Jul 2006 23:42:48 -0700 X-ASF-Spam-Status: No, hits=3.1 required=10.0 tests=BE_BOSS,DNS_FROM_RFC_ABUSE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: 212.27.42.30 is neither permitted nor denied by domain of elecharny@gmail.com) Received: from [212.27.42.30] (HELO smtp4-g19.free.fr) (212.27.42.30) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Jul 2006 23:42:46 -0700 Received: from [192.168.0.1] (vol75-3-82-66-216-176.fbx.proxad.net [82.66.216.176]) by smtp4-g19.free.fr (Postfix) with ESMTP id 0441854862 for ; Wed, 5 Jul 2006 08:42:24 +0200 (CEST) Message-ID: <44AB611F.3060804@gmail.com> Date: Wed, 05 Jul 2006 08:50:07 +0200 From: Emmanuel Lecharny Reply-To: elecharny@iktek.com User-Agent: Mozilla Thunderbird 1.0.7 (X11/20050923) X-Accept-Language: fr, en MIME-Version: 1.0 To: Apache Directory Developers List Subject: Re: setting VM Parameters in Apacheds References: <20060705040230.57073.qmail@web33303.mail.mud.yahoo.com> In-Reply-To: <20060705040230.57073.qmail@web33303.mail.mud.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ramesh fenandoz a �crit : > Hi , Hi ! > I want to set min max heap size for jvm when apacheds starts, Is > there any place i can configure this? I am running apacheds-RC1 on linux As it's running as a service on Linux, it will be in the file /etc/init.d/apacheds. There is a switch with a "start" option, where you can modify the JVM parameters : ... case "$1" in start) # # Start apacheds # echo -n $"Starting $prog: " ulimit -S -c 0 >/dev/null 2>&1 RETVAL=0 $DAEMON_HOME/apacheds \ -user $APACHEDS_USER \ -home $JAVA_HOME \ <---------------------------------------------------you can add a parameter here, don't forget the \ ! -Djava.io.tmpdir=$TMP_DIR \ -Dlog4j.configuration=file://$SERVER_HOME/conf/log4j.properties\ -pidfile $PID_FILE \ -outfile $SERVER_HOME/var/log/apacheds-stdout.log \ -errfile $SERVER_HOME/var/log/apacheds-stderr.log \ -cp $CLASSPATH \ org.apache.directory.daemon.JsvcBootstrapper \ $APACHEDS_HOME start ... > > rgds > ram > > ------------------------------------------------------------------------ > Want to be your own boss? Learn how on Yahoo! Small Business. >