🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
7 messages
7 total messages Started by Steinar Haug Sat, 26 Jul 1997 00:00
Re: INN 1.5.1 Memory leak?
#19693
Author: Steinar Haug
Date: Sat, 26 Jul 1997 00:00
24 lines
1542 bytes
[Jeff McCombs]

|   	I'm working with a test-install of INN-1.5.1 to replace our older
|   1.4.1 installation, and I noticed what appears to be a memory leak. 
|   
|   	I'm running this on a Sparc-5, running solaris 2.5.1. It appears
|   after about 10 hours of running, inn sucks down all the memory on the
|   machine and doesn't give it back. 
|   
|   	When I origionlly started the INN program this morning (7am, 25th),
|   The sparc-5 had about 25 megs of free ram. By 7:30pm, I was down to 1043k
|   free, and I'd started to get into heavy swap.

Are you using the Perl or TCL extensions? As far as I know they are known
to have memory leaks.

I'm running 1.5.1 on an Ultra/2.5.1/NetApp system, and it's rock stable.
The current innd process has been running for two *months* (that's the
last time the machine was booted :-). No discernible memory leaks.

Steinar Haug, Nethelp consulting, sthaug@nethelp.no

Re: INN 1.5.1 Memory leak?
#19685
Author: Jeff Garzik
Date: Sat, 26 Jul 1997 00:00
19 lines
1161 bytes
(cc'd to author)

Steinar Haug wrote:
> Are you using the Perl or TCL extensions? As far as I know they are known
> to have memory leaks.


heh -- don't know about the TCL extensions, but the 1.5.1 release
version doesn't have any Perl memory leaks...  I haven't had an innd
process (w/ Perl enabled) running for two months, but I've had it up for
weeks at a time, and the VM usage stabalized at around 40MB after six or
so hours.
-- 
Jeff Garzik					   Quality news feeds
News Administrator		       INN Technical info, Consulting
Spinne, Inc.				http://www.spinne.com/usenet/

Re: INN 1.5.1 Memory leak?
#19687
Author: Richard Michael Todd
Date: Sat, 26 Jul 1997 00:00
23 lines
1545 bytes
sthaug@nethelp.no (Steinar Haug) writes:

> I wrote:
> 
> |   No, I've never used the Perl of TCL extensions myself. I just remember
> |   seeing several people commenting on memory leaks with this code right
> |   after 1.5.1 was out.
> 
> I've now had several people telling me that they see *no* memory leaks
> using the Perl extensions with 1.5.1. Anybody using the TCL extensions
> who can comment?

Yeah.  My experience has been the same, no noticable memory leakage due to
having TCL filtering on.

As I recall from discussion on the net, some of the earlier versions of the
Perl library code were prone to memory leakage; if you're using the Perl
filters, you may wish to ensure you've got whatever the current Perl version
is.


Re: INN 1.5.1 Memory leak?
#19689
Author: Steinar Haug
Date: Sat, 26 Jul 1997 00:00
18 lines
1313 bytes
[Michael Hucka]

|   sthaug> Are you using the Perl or TCL extensions? As far as I know they are
|   sthaug> known to have memory leaks.
| 
| Hmm.  Do you know the nature of the memory leak in the Perl hooks?  I've been
| running a Perl-based spam filter and haven't experienced a leak.  Innd has
| been running for over 4 weeks and hasn't grown since maybe the first few days
| after it was last restarted.

No, I've never used the Perl of TCL extensions myself. I just remember
seeing several people commenting on memory leaks with this code right
after 1.5.1 was out.

Steinar Haug, Nethelp consulting, sthaug@nethelp.no

Re: INN 1.5.1 Memory leak?
#19690
Author: Michael Hucka
Date: Sat, 26 Jul 1997 00:00
19 lines
1364 bytes
>>>>> On 26 Jul 1997, sthaug@nethelp.no (Steinar Haug) wrote:

  sthaug> Are you using the Perl or TCL extensions? As far as I know they are
  sthaug> known to have memory leaks.

Hmm.  Do you know the nature of the memory leak in the Perl hooks?  I've been
running a Perl-based spam filter and haven't experienced a leak.  Innd has
been running for over 4 weeks and hasn't grown since maybe the first few days
after it was last restarted.

I've never tried the Tcl extensions, so I can't comment on that.

-- 
Mike Hucka    hucka@umich.edu    http://www.eecs.umich.edu/~hucka    University
 PhD to be, computational models of human visual processing (AI Lab)     of
   UNIX systems administrator & programmer/analyst (EECS DCO)         Michigan

Re: INN 1.5.1 Memory leak?
#19697
Author: Steinar Haug
Date: Sat, 26 Jul 1997 00:00
14 lines
1112 bytes
I wrote:

|   No, I've never used the Perl of TCL extensions myself. I just remember
|   seeing several people commenting on memory leaks with this code right
|   after 1.5.1 was out.

I've now had several people telling me that they see *no* memory leaks
using the Perl extensions with 1.5.1. Anybody using the TCL extensions
who can comment?

Steinar Haug, Nethelp consulting, sthaug@nethelp.no

Re: INN 1.5.1 Memory leak?
#19745
Author: J. Porter Clark
Date: Mon, 28 Jul 1997 00:00
25 lines
1687 bytes
sthaug@nethelp.no (Steinar Haug) writes:

>No, I've never used the Perl of TCL extensions myself. I just remember
>seeing several people commenting on memory leaks with this code right
>after 1.5.1 was out.

I'll confess: I have whined here and elsewhere about a slow memory leak
with the perl extensions and INN 1.5.1.  This was a couple of MB per
day.  innd would grow from 48 MB to 72 or so before I'd restart it.

I *think* I cured it by compiling perl with the system's
malloc--instead of the one that comes with perl--and compiling innd
likewise.  This seems to have plugged the leak.  It's a little hard to
tell because I've been playing around with 1.6b2, and I haven't run
1.5.1 uninterrupted for weeks at a time lately.

This is on a SPARC, Solaris 2.5.1, perl 5.004_01, with Sun's cc
(SC4.0).

-- 
J. Porter Clark    jpc@drum.msfc.nasa.gov
NASA/MSFC Flight Data Systems Branch

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads