Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Apr 2005 17:01:35 +0100
From:      "Steven Hartland" <killing@multiplay.co.uk>
To:        <freebsd-hackers@freebsd.org>, <freebsd-stable@freebsd.org>
Subject:   kernel killing processes when out of swap
Message-ID:  <014301c53eb5$42638bf0$b3db87d4@multiplay.co.uk>

next in thread | raw e-mail | index | archive | help
Just had a problem with a box where it looks like it ran out of swap due
to a problem process, not a problem. The problem was that it seems
the kernel on detecting this starts killing off seeming random processes,
the first one being sshd hence making the machine inaccessible.

So the question is: Does the kernel kill random processes when out of
swap or does it kill any processes that require more memory when out
of swap? Which leads to the question would it not be more sensible to
kill off the largest process first as its more than likely that it is responsible
for the problem?

[quote]
Apr 10 20:09:25 appledore kernel: pid 414 (sshd), uid 0, was killed: out of swap space
[/quote]

    Steve


================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 

In the event of misdirection, illegible or incomplete transmission please telephone (023) 8024 3137
or return the E.mail to postmaster@multiplay.co.uk.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?014301c53eb5$42638bf0$b3db87d4>