[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#126750: klogd should optionally be started from init(8)

On Sat, Dec 29, 2001 at 09:47:27PM -0200, Henrique de Moraes Holschuh wrote:
> Nowhere does it use the process name to lessen the chances of killing a
> process. IMHO it would be a nice idea to have such a whitelist just in case.

Extremely bad idea... All of a sudden every process somebody does not want
to be killed is called "syslog" or "named" or what ever.

Let's face it folks: if the OOM killer hits you constantly you have exhausted
your resources.  The solution is to buy new resources, not to invent
convoluted schemes to make a bad situatation last longer.

If you are hit just occasionally, you simply might want to have a monitor
script checking the status of your daemons.  net-smnp can do that for you,
even send traps to your management console (if you happen to have one, if
not: a simple shell script, cron and mailx will do nicely!)

Always remember: poor system administration skills can never be remedied by
software. And not monitoring the trends of your resource consumption
and planning ahead to have new resources available when the crap hits the
fan is very poor system administration...

So if you really want to do some good for Debian and the Linux community,
just write some scripts which use sar output, calculate a trend and notify
the administrators of current and estimated future resource consumption
on a regular basis.  If you want to do a really good job have it generate
plain text reports one could hand off to a manager to get additinal funds.
There are commercial programs that do this, so it can be done.

Dominik Kubla
ScioByte GmbH    Zum Schiersteiner Grund 2     55127 Mainz (Germany)
Phone: +49 700 724 629 83                    Fax: +49 700 724 629 84
1024D/717F16BB    A384 F5F1 F566 5716 5485  27EF 3B00 C007 717F 16BB

Reply to: