Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Apr 2005 18:53:41 +0200
From:      Marc Olzheim <marcolz@stack.nl>
To:        Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= <des@des.no>
Cc:        Steven Hartland <killing@multiplay.co.uk>
Subject:   Re: kernel killing processes when out of swap
Message-ID:  <20050412165341.GA2257@stack.nl>
In-Reply-To: <86ll7ox7re.fsf@xps.des.no>
References:  <200504121224.j3CCOFXL019177@marlena.vvi.at> <011a01c53f66$4035aa00$b3db87d4@multiplay.co.uk> <86ll7ox7re.fsf@xps.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help

--oyUTqETQ0mS9luUI
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Tue, Apr 12, 2005 at 06:46:45PM +0200, Dag-Erling Smrgrav wrote:
> There is no "large process detection".  The first process that tries
> to fault in a new page after the system runs out of swap gets killed.

Which sucks when a process like X tries to free and realloc things when
possible and tries to be system friendly, but thus increases the chance
to get shot down, while programs over-allocing memory and never freeing
it get to survive. It's a sad world. :-P

Anyway, when at our office we were running X on low-memory systems and
had to reboot often because of X being killed, rendering the text
console useless, we had a patch to prevent processes with specific names
being killed. I could revive this and turn this into a sysctl if
anyone's interested...

Marc

--oyUTqETQ0mS9luUI
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCW/0VezjnobFOgrERAunQAJ9DT0HTncPpxd5xQ/iEZanxfNGDoACfeHfW
v6Ixpk6l+/NAYYXBofpMgiw=
=vGEy
-----END PGP SIGNATURE-----

--oyUTqETQ0mS9luUI--



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