Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Sep 1996 23:09:00 -0700
From:      Julian Elischer <julian@whistle.com>
To:        questions@freebsd.org
Subject:   Trimming RAM usage on FreeBSD box
Message-ID:  <323CEEFC.2781E494@whistle.com>

next in thread | raw e-mail | index | archive | help
I have a small FreeBSD box that has 8MB of ram
it is running a few servers that seem to 
use all it's RAM so I end up thrashing to the point that
it becomes unusable.. (login takes about 15 minutes)

We've already tackled sendmail so that it doesn't fork 6000 processes
when it get's new conections, but things like apache seem to not be
able to work without forking processes, and of course CGI
scripts keep forking off and execing, etc.

there area couple of things people might be able to help me with..

1/ I rememeber some talk of a much more efficient http daemon, that 
didn't need to fork off all these processes,
2/ Has anyone recently run a system with "TRIMMED" libraries..
By this I mean, 
stipping out NIS and locale and any other bits that are unlikely to be
needed in a small dedicated system..
 does it still work?

anyone with ideas about tuning this box for RAM usage or even on 
how to actually work out where all the RAM is going
would be most welcome..

P.s. Under MACH there was a utility that allowed you to 
find out the VM regions allocated to a process
(from outside the process) and what all these regions were being 
used as (read/write/ exec etc.)
knowledge of such a program under freebsd would be useful too.

hmmmm I just found that one..it's called /proc :)


julian



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?323CEEFC.2781E494>