On Fri, Feb 13, 2004 at 01:30:27PM -0500, Dan Melomedman wrote:
> Dan Wilder wrote:
> > The box never seems to break into a sweat.  I'm running a monitor
> > script which looks for rapid increase of swapspace used and restarts
> 
> Unreliable approach. Use your shell's ulimit or a program like
> 'softlimit' to limit the server's memory usage. Use 'runit' or
> 'daemontools' to restart the service if it exits.

In what respect is ulimit superior to well-tuned --max-child-processes?
Recall we're looking at a runaway aggregate load, not a single-process
problem.

softlimit appears from the documentation to be mostly a DJB extension 
to the ulimit concept.  Again, what does this have to do with 
excessive aggregate usage?

At the present time the monitor is just a canary in the coalmine.
A very healthy canary, I'd like to add.  One that consumes zero
sysadmin time.

-- 
Dan Wilder

Reply via email to