No, you're not being paranoid. Are you using nscgi and running CGI
scripts? If so, then you're running into this problem (from the
ChangeLog):

2003-04-04 Scott S. Goodwin <[EMAIL PROTECTED]>

   * nscgi/nscgi.c: (bug) Ns_DStringInit called in CgiExec was
destroying the
      linked list used to maintain the list of dstrings in use by the
module,
      resulting in a memory leak for every cgi script run.



You can get AOLserver 3.5.9 or later (better yet, go grab the latest
CVS copy on the v35bp branch), or go into nscgi.c and remove the line
that reads:

Ns_DStringInit(&dsPtr);

from the CgiExec function, and recompile.

/s.


On Jan 8, 2004, at 4:57 PM, John Shafto wrote:


I was running nsd v.3.4.2 on a fairly active website
(FreeBSD 4.x os) for a few weeks and had some
trouble with the nsd process growing.   I was restarting
the process every few days as it grew to 40-60Mb.

I posted a couple messages on this list about
v4.0 and using port 80 as I was trying to run it,
but decided it's probably not stable enough for a
production server.  I built v3.5.6 for the site
with the latest tcl (8.4.5) and the PHP4.3.4 sapi
module (but not running any php actively on the site).
I'm  running zero dynamic/database stuff at this point,
but am running a couple small perl/C cgi things
(form mailer and counter).

Now, it appears that the 3.5.6 process still has a
memory leak, as it has been steadily growing for
about the last 24 hours.   It's up to 21mb, which
would be okay if it stops growing pretty soon.

Anyone have any ideas on what causes or how to
stop memory leaks in version 3.x?   What size do
your nsd processes typically run at after a few days?
Maybe I'm just being paranoid and not letting it grow
to where it needs to be (if it caches).  I'm used to
apache processes running at <20Mb.

Thanks,

--
Untied we stand, fettered we fall.


-- AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to
<[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the
Subject: field of your email blank.


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of 
your email blank.

Reply via email to