From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,e9f3a0e4d01445b2,start X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-05-07 09:16:26 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-xfer2.newshosting.com!uunet!dca.uu.net!prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr12.news.prodigy.com.POSTED!not-for-mail Message-ID: <3CD7F963.B7729610@randallkunkee.com> From: Randy Kunkee X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en, de MIME-Version: 1.0 Newsgroups: comp.unix.tru64 Subject: massive memory consumption on 5.1 with OpenLDAP slapadd (but not 4.0g) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 65.65.19.145 X-Complaints-To: abuse@prodigy.net X-Trace: newssvr12.news.prodigy.com 1020787049 ST000 65.65.19.145 (Tue, 07 May 2002 11:57:29 EDT) NNTP-Posting-Date: Tue, 07 May 2002 11:57:29 EDT Organization: Prodigy Internet http://www.prodigy.com X-UserInfo1: S[OERT_D^JWYBFD[LZKJOPHAWB\^PBQLGPQRJVMHQAVTUZ]CLNTCPFK[WDXDHV[K^FCGJCJLPF_D_NCC@FUG^Q\DINVAXSLIFXYJSSCCALP@PB@\OS@BITWAH\CQZKJMMD^SJA^NXA\GVLSRBD^M_NW_F[YLVTWIGAXAQBOATKBBQRXECDFDMQ\DZFUE@\JM Date: Tue, 07 May 2002 15:57:29 GMT Xref: archiver1.google.com comp.unix.tru64:7501 I am working with OpenLDAP 2.0.24 (the latest version from their CVS tree with OPENLDAP_REL_ENG_2 tags). I have built this using Sleepycat 4.0.14 DB. When I attempt to initialize my database using the slapadd tool, the process grows rapidly. It eventually exceeds 1 GB and then blows up due to being unable to allocate memory. The same program, built and run on a 4.0G system (identical hardware) stays around 5MB continuously. Even the same binary, taken from the 4.0G system, when run on the 5.1 system, has the same obnoxious behavior. Lastly, if I link a non-shared binary on 4.0G, it runs in around 4MB on the 5.1 system. One might think that it's a 64 bit problem, but the program appears to run fine on 4.0g, so that wouldn't be it. One might think there's just a general problem with the program, but I can build the same scenario on FreeBSD 4.5-STABLE, and it cooks along just like on 4.0g (which is also a counter exampe). We probably did not upgrade to 5.1A previously due to some problem with reading the media. That is certainly one thing to do. Is there anyone out there who can shed some light on this problem? It is one of the stranger ones I've ever seen. Is there any reason to believe that upgrading to 5.1A should fix this problem? Regards, Randy Kunkee