From owner-freebsd-hackers@FreeBSD.ORG Tue Apr 12 16:46:53 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F99A16A4CF for ; Tue, 12 Apr 2005 16:46:53 +0000 (GMT) Received: from bgo1smout1.broadpark.no (bgo1smout1.broadpark.no [217.13.4.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id 90FF043D54 for ; Tue, 12 Apr 2005 16:46:52 +0000 (GMT) (envelope-from des@des.no) Received: from bgo1sminn1.broadpark.no ([217.13.4.93]) by bgo1smout1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0IEU00IL8ECPO900@bgo1smout1.broadpark.no> for freebsd-hackers@freebsd.org; Tue, 12 Apr 2005 18:41:13 +0200 (CEST) Received: from dsa.des.no ([80.203.228.37]) by bgo1sminn1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0IEU00KEZEO72V70@bgo1sminn1.broadpark.no> for freebsd-hackers@freebsd.org; Tue, 12 Apr 2005 18:48:07 +0200 (CEST) Received: by dsa.des.no (Pony Express, from userid 666) id 8F56FEBE06; Tue, 12 Apr 2005 18:46:50 +0200 (CEST) Received: from xps.des.no (xps.des.no [10.0.0.12]) by dsa.des.no (Pony Express) with ESMTP id DB0D3EBE2B; Tue, 12 Apr 2005 18:46:45 +0200 (CEST) Received: by xps.des.no (Postfix, from userid 1001) id C861A33C5A; Tue, 12 Apr 2005 18:46:45 +0200 (CEST) Date: Tue, 12 Apr 2005 18:46:45 +0200 From: des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=) In-reply-to: <011a01c53f66$4035aa00$b3db87d4@multiplay.co.uk> To: Steven Hartland Message-id: <86ll7ox7re.fsf@xps.des.no> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: quoted-printable X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on dsa.des.no References: <200504121224.j3CCOFXL019177@marlena.vvi.at> <011a01c53f66$4035aa00$b3db87d4@multiplay.co.uk> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (berkeley-unix) X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED,AWL autolearn=disabled version=3.0.2 X-Spam-Level: cc: ALeine cc: freebsd-hackers@freebsd.org Subject: Re: kernel killing processes when out of swap X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2005 16:46:53 -0000 "Steven Hartland" writes: > Thanks for the feedback seems very strange that sshd was the first thing = the > kernel killed off; so unless it was actually at fault ( would be very str= ange ) > 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. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no