Date: Tue, 12 Apr 2005 14:35:39 -0500 From: Garance A Drosihn <drosih@rpi.edu> To: des@des.no (Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= ), Steven Hartland <killing@multiplay.co.uk> Cc: freebsd-hackers@freebsd.org Subject: Re: kernel killing processes when out of swap Message-ID: <p06210233be81d3179d62@[128.113.24.47]> 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
At 6:46 PM +0200 4/12/05, Dag-Erling Sm=F8rgrav wrote: >"Steven Hartland" <killing@multiplay.co.uk> writes: >> Thanks for the feedback seems very strange that sshd was the first thing= the >> kernel killed off; so unless it was actually=20 >>at fault ( would be very strange ) >> it would have been one of the smallest not largest processes. >> The box has runs several 200M+ process and more 100M+ where >> as sshd is usually 6M. >> >> So this leads me to the questions: >> 1. Any know issues ssh which could make it eat memory? >> 2. Is there possibly a bug with the "large process detection"? > >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. =46rom time-to-time, we talk about implementing some form of SIGDANGER, similar to what AIX has. -- Garance Alistair Drosehn =3D gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p06210233be81d3179d62>