From owner-freebsd-questions@FreeBSD.ORG Tue Sep 11 17:05:44 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C13161065670 for ; Tue, 11 Sep 2012 17:05:44 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from asbnvacz-mailrelay01.megapath.net (asbnvacz-mailrelay01.megapath.net [207.145.128.243]) by mx1.freebsd.org (Postfix) with ESMTP id 8F4688FC08 for ; Tue, 11 Sep 2012 17:05:44 +0000 (UTC) Received: from mail4.sea5.speakeasy.net (mail4.sea5.speakeasy.net [69.17.117.48]) by asbnvacz-mailrelay01.megapath.net (Postfix) with ESMTP id 5A542A71496 for ; Tue, 11 Sep 2012 13:05:38 -0400 (EDT) Received: (qmail 8973 invoked from network); 11 Sep 2012 17:05:37 -0000 Received: by simscan 1.4.0 ppid: 15278, pid: 429, t: 0.1446s scanners: clamav: 0.88.2/m:52/d:10739 Received: from unknown (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail4.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 11 Sep 2012 17:05:37 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 3B8A333C25; Tue, 11 Sep 2012 13:05:37 -0400 (EDT) From: Lowell Gilbert To: =?iso-8859-1?Q?Micka=EBl_Can=E9vet?= References: <1347268974.4141.65.camel@pc437.embl.fr> Date: Tue, 11 Sep 2012 13:05:36 -0400 In-Reply-To: <1347268974.4141.65.camel@pc437.embl.fr> (=?iso-8859-1?Q?=22M?= =?iso-8859-1?Q?icka=EBl_Can=E9vet=22's?= message of "Mon, 10 Sep 2012 11:22:54 +0200") Message-ID: <44k3w0ij6n.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Swapped memory limited to about 500MB for a process ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Sep 2012 17:05:44 -0000 Micka=EBl Can=E9vet writes: > I was impacted by a memory leak that has been fixed by this patch: > http://people.freebsd.org/~rmacklem/namei-leak.patch > > What I noticed when the server was paging is that it seems that only > about 500MB of my 4GB swap partition was used before crashing. I was > wondering why it didn't take the whole 4GB up to the crash of the server > because of lake of memory (that would let me more time to react). > > Is there such king of setting that prevent a process to put more then > 500MB of data in swap ? limits(1)?