Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Apr 2005 07:51:35 -0500
From:      Jacob S <stormspotter@6Texans.net>
To:        freebsd-isp@freebsd.org
Subject:   Automatically kill run-away processes?
Message-ID:  <20050415075135.0d313f8f@jacob.6texans.net>

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

We have a server with a couple hundred clients on it. Normally it runs
great, with a load of 0.6 - 1.6, but occasionally someone runs a large
script or sends a lot of e-mails and makes the load go through the roof.

I know the Linux kernel has the "oom-killer" that will start killing
processes when it runs out of ram. Is there an equivalent for FreeBSD?

Also, is there any way I can add extra accounting details in the
logfiles? Such as, perhaps which script Apache ran that sent the
e-mails, etc? I know it may not be that straight forward, but if anybody
else has tricks for doing something similar to this, I would appreciate
it if they could share them with us.

TIA,
Jacob


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