From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 10d020,eda702008412e972 X-Google-Attributes: gid10d020,public X-Google-Thread: 10e254,eda702008412e972 X-Google-Attributes: gid10e254,public X-Google-Thread: fee84,eda702008412e972 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-09-20 05:25:54 PST Path: bga.com!news.sprintlink.net!uunet!zib-berlin.de!news.uni-ulm.de!rz.uni-karlsruhe.de!subnet.sub.net!xlink100!smurf.noris.de!not-for-mail From: urlichs@smurf.noris.de (Matthias Urlichs) Newsgroups: news.software.nntp,news.software.b,comp.unix.osf.osf1 Subject: Re: Problem with INN on OSF/1 Date: 19 Sep 1994 17:24:35 +0200 Organization: noris network GbR, Nuernberg, FRG Distribution: inet Message-ID: <35kafk$b11@gate.noris.de> References: <34q11e$4v4@mustang.mst6.lanl.gov> NNTP-Posting-Host: localhost Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Xref: bga.com news.software.nntp:4646 news.software.b:1580 comp.unix.osf.osf1:3612 In news.software.b, article <34q11e$4v4@mustang.mst6.lanl.gov>, carter@corvette.mst6.lanl.gov (Dave Carter) writes: > i compiled INN with the security patch on an alpha running osf/1. > everything's been going fine, but lately, i've noticed that the innd > process has been growing. it starts out at around 18M, and seems to > grow slightly every day. (it's currently up to 35M). what is going > on? > Are you using the malloc that comes with INN? Most malloc libraries try to be clever about coalescing free blocks and searching for "best-fit" free blocks somehow. Schemes like that are known to be broken in the sense that there's always a memory allocation pattern which can fragment a memory pool (which means that the pool will grow without bounds). The malloc coming with INN has no such problem, it's far too stupid for that. Note that in this case, "stupid" also means "optimal when used in a virtual-memory environment". Some people even put that malloc in their system C library. ;-) -- Matthias Urlichs \ XLink-POP N�rnberg | EMail: urlichs@smurf.noris.de Schleiermacherstra�e 12 \ Unix+Linux+Mac | Phone: ...please use email. 90491 N�rnberg (Germany) \ Consulting+Networking+Programming+etc'ing 42 PGP: 1B 89 E2 1C 43 EA 80 44 15 D2 29 CF C6 C7 E0 DE Click here. From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10e254,eda702008412e972,start X-Google-Attributes: gid10e254,public X-Google-Thread: fee84,eda702008412e972,start X-Google-Attributes: gidfee84,public X-Google-Thread: 10d020,eda702008412e972,start X-Google-Attributes: gid10d020,public X-Google-ArrivalTime: 1994-09-10 08:00:07 PST Path: nntp.gmd.de!xlink.net!slsv6bt!slbh01.bln.sel.alcatel.de!rcvie!Austria.EU.net!newsfeed.ACO.net!paladin.american.edu!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!netline-fddi.jpl.nasa.gov!nntp-server.caltech.edu!mustang.mst6.lanl.gov!corvette.mst6.lanl.gov!carter From: carter@corvette.mst6.lanl.gov (Dave Carter) Newsgroups: news.software.nntp,news.software.b,comp.unix.osf.osf1 Subject: Problem with INN on OSF/1 Date: 9 Sep 1994 16:03:58 GMT Organization: Los Alamos National Laboratory, Group MST-6 Distribution: inet Message-ID: <34q11e$4v4@mustang.mst6.lanl.gov> NNTP-Posting-Host: corvette.mst6.lanl.gov Summary: memory leak X-Newsreader: TIN [version 1.2 PL2] Xref: nntp.gmd.de news.software.nntp:9188 news.software.b:6683 comp.unix.osf.osf1:5275 i compiled INN with the security patch on an alpha running osf/1. everything's been going fine, but lately, i've noticed that the innd process has been growing. it starts out at around 18M, and seems to grow slightly every day. (it's currently up to 35M). what is going on? - dave