Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Mar 1996 13:49:20 -1000
From:      "Peter Stubbs" <peters@staidan.qld.edu.au>
To:        freebsd-isp@FreeBSD.ORG
Subject:   cern httpd hanging about
Message-ID:  <94B1B2D2193@aidan.staidan.qld.edu.au>

next in thread | raw e-mail | index | archive | help
Hi all,

I'm having a problem with CERN http on my web server. Every so often I
check the swap use and find that it's too high, about 40% when 15-30%
is normal for 15-20 proxy web clients.

ps reveals that there are old httpd's hanging about with info like

166	    ??  I       1:41:02 /usr/local/libexec/httpd -r /usr....
2604    ??  IWN     0:00.10 /usr/local/libexec/httpd -r /usr....
2880    ??  IWN     0:00.11 /usr/local/libexec/httpd -r /usr....
2901    ??  IWN     0:00.12 /usr/local/libexec/httpd -r /usr....
12340   p1  R+      0:00.04 ps -ax

When I kill off the first httpd the rest also go, and the swap comes
back to normal. When I say first I mean 2604, not 166 which is started
by rc.local

Does anyone know why this happens, and if I can fix it. Is there any
danger of the system running out of memory from these hanging about,
particularly if I go away for a month?

Eeek! I've just run out of swap. Freebsd does a nice job of killing 
processes when it runs out, but not the ones that are causing the 
problem, just the ones that are asking for memory.

TIA,
Peter


Peter Stubbs, St Aidan's AGS.
ph +61-07-3379-9911, fax +61-07-3379-9432



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?94B1B2D2193>