🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #1782

Re: INN 1.4 memory leak under HPUX 8.02

#1782
From: Peter Wemm
Date: Tue, 06 Apr 1993 16:23
33 lines
2359 bytes
In <1ppjrh$sf3@spock.dis.cccd.edu> markb@spock.dis.cccd.edu (Mark Bixby) writes:

>I migrated from INN 1.2 to INN 1.4 a couple of weeks ago.  I'm still seeing the
>same rate of memory leak on my HP 9000/817 running HPUX 8.02.  It's about 1 MB 
>per week.  I thought this leak from INN 1.2 was supposed to have been fixed.

>Are any other HPUX INN sites experiencing this?

SCO unix seems to do it too, as does SVR4.0.  Perhaps it's a generic
SYSV feature?

Sidenote:  SVR4.0/386 has a neat bug in the unix domain socket
emulation that is triggered by INN.  It causes innd to grow by 4K
after each rnews connection via the nntpin socket.  Causing rnews to
to it's posting via a normal AF_INET connection works around the
problem.  It slows the leak from "serious" to "not much of a problem".
Once the AF_UNIX leak is gone, the SVR4 innd grows the same rate as SCO unix.

Perhaps there's a subtle difference somewhere between SunOS and SYSV?  Is
something in the libraries on SunOS and other BSD systems returning a
pointer to static data, whereas on SYSV it returns a malloc()ed pointer?

-Peter
>-- 
>Mark Bixby                         Internet: markb@cccd.edu
>Coast Community College District   1370 Adams Avenue
>District Information Services      Costa Mesa, CA, USA  92626
>Technical Support                  (714) 432-5064
>"You can tune a file system, but you can't tune a fish." - tunefs(1M)
-- 
Peter Wemm   peter@DIALix.oz.au -or- peter@zeus.DIALix.oz.au
NIC handle: PW65    Current maintainer of the "NN" newsreader.
Technical Details
Message-ID: <1psapo$5ek@DIALix.oz.au>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.hp.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!noc.near.net!uunet!munnari.oz.au!uniwa!DIALix!not-for-mail
References: <1ppjrh$sf3@spock.dis.cccd.edu>

Show Full Headers
Complete Article Headers
Message-ID: <1psapo$5ek@DIALix.oz.au>
Subject: Re: INN 1.4 memory leak under HPUX 8.02
Date: Tue, 06 Apr 1993 16:23:20 +0000
From: peter@DIALix.oz.au (Peter Wemm)
References: <1ppjrh$sf3@spock.dis.cccd.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.hp.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!noc.near.net!uunet!munnari.oz.au!uniwa!DIALix!not-for-mail
Newsgroups: news.software.b,news.software.nntp,comp.sys.hp
Organization: DIALix Services, Perth, Western Australia
Lines: 32
Distribution: inet
NNTP-Posting-Host: localhost.dialix.oz.au
X-Newsreader: NN version 6.4.19 #1