From dev-return-12146-apmail-directory-dev-archive=directory.apache.org@directory.apache.org Tue Jun 06 08:54:25 2006 Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 76887 invoked from network); 6 Jun 2006 08:54:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Jun 2006 08:54:24 -0000 Received: (qmail 42909 invoked by uid 500); 6 Jun 2006 08:54:24 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 42866 invoked by uid 500); 6 Jun 2006 08:54:23 -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 42855 invoked by uid 99); 6 Jun 2006 08:54:23 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jun 2006 01:54:23 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=RCVD_IN_BL_SPAMCOP_NET,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of elecharny@gmail.com designates 66.249.92.174 as permitted sender) Received: from [66.249.92.174] (HELO ug-out-1314.google.com) (66.249.92.174) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jun 2006 01:54:22 -0700 Received: by ug-out-1314.google.com with SMTP id a2so1617191ugf for ; Tue, 06 Jun 2006 01:54:01 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=W5MjkqpxEm/dj8iphIKLybN9wBWWR8RjdU64VYQEE80CReicTjaKg4qfgL8KJcP92NPVcCbN09+YQ57KkWqOgY3NWCRBPBuZ2fNmjUFNzUGJ9Q8Cy3BmtcBtWaTIZCrfP+lSG91Cvm0yCWuBCaVBMnNH2PyhkbwCNncWQ8ooiYk= Received: by 10.78.45.13 with SMTP id s13mr1079147hus; Tue, 06 Jun 2006 01:54:01 -0700 (PDT) Received: by 10.78.75.6 with HTTP; Tue, 6 Jun 2006 01:54:00 -0700 (PDT) Message-ID: Date: Tue, 6 Jun 2006 10:54:01 +0200 From: "Emmanuel Lecharny" Reply-To: elecharny@apache.org To: "Apache Directory Developers List" Subject: Bash script [was Re: Various questions] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thanks a lot Quanah ! We will modify the scripts accordingly to your proposal in the next RC. Have a good day. Emmanuel On 6/6/06, Quanah Gibson-Mount wrote: > > > --On Tuesday, June 06, 2006 1:15 AM +0200 Emmanuel Lecharny > wrote: > >> Good call on the time, it was 54 minutes via ldapadd. :) > >> > >> I gave it 2GB of memory to play with, that may have been overkill, but > >> it worked. > > > > Any idea about the real memory used ? (jconsole) But I don't want to pu= sh > > you on this, don't loose 54' again :) > > > > What scared me a lot is that if we need to push ADS to the limit, I kno= w > > a company which had 70 millions entries in its ldap server. So if it go= es > > linear (very unlikely, and if it goes, I guess that their ise something > > wrong in the B-tree impl :), that would mean 12 days of processing on > > ADS. Oh My ! > > Yeah, in my work for Symas, I've worked with companies who use in excess = of > 100 million entry databases. Scaling loads really becomes a factor, whic= h > is why I was curious about the offline loading capabilities. It led Syma= s > to work on ways to optimize the bulk imports so that they are a lot more > efficient that normal ldapadd (contributed back into OL of course). > > > btw, we are currently trying to close a RC4, as I stated recently in on= e > > of my previous post, so don't spend too much time playing with RC3, it'= s > > really not usable. Just enjoy the ease of installation it offers, thank= s > > to Alex work. > > > Sure thing, the install was quite easy. > > I made a change to the startup init script that may be useful in adding t= o > the release: > > -bash-3.00$ diff -u /usr/local/apacheds-1.0-RC3/bin/server.init apacheds > --- /usr/local/apacheds-1.0-RC3/bin/server.init Sun Jun 4 20:38:28 2006 > +++ apacheds Mon Jun 5 16:14:20 2006 > @@ -126,6 +126,8 @@ > TMP_DIR=3D$SERVER_HOME/var/tmp > PID_FILE=3D$SERVER_HOME/var/run/server.pid > > +MEM_OPS=3D"-Xms256m -Xmx2048m" > + > cd $SERVER_HOME > > case "$1" in > @@ -141,6 +143,7 @@ > -user $APACHEDS_USER \ > -home $JAVA_HOME \ > -Djava.io.tmpdir=3D$TMP_DIR \ > + $MEM_OPS \ > -Dlog4j.configuration=3Dfile://$SERVER_HOME/conf/log4j.properties\ > -pidfile $PID_FILE \ > -outfile $SERVER_HOME/var/log/apacheds-stdout.log \ > > > It makes it a lot easier to easily control the memory options. > > > > 1Am, CEST, time to dream about the fastest Ldap server on earth... (may > > be OpenLdap for this night :) > > > Have a goodnights sleep. I look forward to benchmarking 1.0RC4. > > > --Quanah > > -- > Quanah Gibson-Mount > Principal Software Developer > ITS/Shared Application Services > Stanford University > GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html > --=20 Cordialement, Emmanuel L=E9charny