On Thu, 8 Jan 2004, Dossy wrote: > On 2004.01.08, John Shafto <[EMAIL PROTECTED]> 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. > > 40-60MB is nothing. I'd worry if your nsd grows beyond 2GB.
Disable the caches. You don't need them for a site that only gets a few hits a day. The configuration below runs on a P2-400 and can still serve 40 pages/second: wwwrun 1056 0.0 1.3 12296 3556 ? S 2003 0:00 /opt/aolserver/bin/nsd -ft /opt/aolserver/nsd.tcl -u wwwrun wwwrun 1059 0.0 1.3 12296 3556 ? S 2003 0:01 /opt/aolserver/bin/nsd -ft /opt/aolserver/nsd.tcl -u wwwrun wwwrun 1060 0.0 1.3 12296 3556 ? S 2003 0:00 /opt/aolserver/bin/nsd -ft /opt/aolserver/nsd.tcl -u wwwrun wwwrun 1078 0.0 1.3 12296 3556 ? S 2003 0:01 /opt/aolserver/bin/nsd -ft /opt/aolserver/nsd.tcl -u wwwrun wwwrun 1111 0.0 1.3 12296 3556 ? S 2003 0:00 /opt/aolserver/bin/nsd -ft /opt/aolserver/nsd.tcl -u wwwrun wwwrun 1166 0.0 1.3 12296 3556 ? S 2003 0:00 /opt/aolserver/bin/nsd -ft /opt/aolserver/nsd.tcl -u wwwrun wwwrun 1167 0.0 1.3 12296 3556 ? S 2003 2:46 /opt/aolserver/bin/nsd -ft /opt/aolserver/nsd.tcl -u wwwrun wwwrun 18918 0.0 1.3 12296 3556 ? S 10:29 0:00 /opt/aolserver/bin/nsd -ft /opt/aolserver/nsd.tcl -u wwwrun The nsd process is running for 64 days now. 12mb is not much at all. In fact, the Apache that does run on the same machine: root 1193 0.0 0.0 97424 140 ? R 2003 0:39 /usr/sbin/httpd -f /etc/httpd/httpd.conf wwwrun 13427 0.2 1.4 98212 3600 ? S Jan16 8:02 /usr/sbin/httpd -f /etc/httpd/httpd.conf wwwrun 13441 0.1 1.5 98336 3932 ? S Jan16 6:20 /usr/sbin/httpd -f /etc/httpd/httpd.conf wwwrun 18952 0.0 0.5 97468 1424 ? S 10:30 0:00 /usr/sbin/httpd -f /etc/httpd/httpd.conf wwwrun 18953 1.4 1.4 98084 3704 ? S 10:30 0:00 /usr/sbin/httpd -f /etc/httpd/httpd.conf wwwrun 18954 0.0 0.6 97448 1676 ? S 10:30 0:00 /usr/sbin/httpd -f /etc/httpd/httpd.conf wwwrun 18956 0.0 0.3 97424 804 ? S 10:30 0:00 /usr/sbin/httpd -f /etc/httpd/httpd.conf ... and those are processes instead of threads; i.e. they do not share all of their memory. It's just a normal Apache configuration, even with a few modules removed. Php is installed however, and it is really memory hungry. Daniël Mantione -- 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.