From owner-freebsd-stable Tue Apr 29 15:02:38 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id PAA13744 for stable-outgoing; Tue, 29 Apr 1997 15:02:38 -0700 (PDT) Received: from gatekeeper.alcatel.com.au (gatekeeper.alcatel.com.au [203.17.66.1]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id PAA13731 for ; Tue, 29 Apr 1997 15:02:21 -0700 (PDT) Received: from 139.188.23.1 (139.188.23.1) by gatekeeper.alcatel.com.au (PMDF V5.0-5 #11861) id <01IIB550JGU80004D5@gatekeeper.alcatel.com.au> for freebsd-stable@freefall.FreeBSD.ORG; Wed, 30 Apr 1997 07:57:31 +1000 Received: from cbd.alcatel.com.au (cbd.alcatel.com.au) by cim.alcatel.com.au (PMDF V5.0-6 #9239) id <01IIB598E2OG8ZEOY4@cim.alcatel.com.au> for freebsd-stable@freefall.FreeBSD.ORG; Wed, 30 Apr 1997 08:00:55 +1000 Received: from gsms01.alcatel.com.au (gsms01.alcatel.com.au) by cbd.alcatel.com.au (PMDF V5.0-5 #9241) id <01IIB55L0IE89YDT0T@cbd.alcatel.com.au> for freebsd-stable@freefall.FreeBSD.ORG; Wed, 30 Apr 1997 07:57:59 +1100 Received: (from jeremyp@localhost) by gsms01.alcatel.com.au (8.7.5/8.7.3) id IAA11983 for freebsd-stable@freefall.FreeBSD.ORG; Wed, 30 Apr 1997 08:01:22 +1000 (EST) Date: Wed, 30 Apr 1997 08:01:22 +1000 (EST) From: Peter Jeremy Subject: Swap leaks (was Re: Memory usage on NFS server) To: freebsd-stable@freefall.FreeBSD.ORG Message-id: <199704292201.IAA11983@gsms01.alcatel.com.au> Content-transfer-encoding: 7BIT Sender: owner-stable@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Tue, 29 Apr 1997 10:03:57 +0200 (SAT), John Hay wrote: > Inn then typically show a usage of >~70M according to top, but as soon as I kill and restart it the swap >usage go down to ~5M. Some of the BSD/386-derived Unices have a memory leak in the VM subsystem which matches the above behaviour: When a process fork()d whilst the system was paging, swap space allocated to the child was not released until the _parent_ exit()d. This primarily bit long- running daemons that fork() regularly: cron, inetd, innd and sendmail. I thought FreeBSD 2.1 and 2.2 included fixes for this VM problem. Can someone please confirm this. (In which case John's problem is something else). Peter -- Peter Jeremy (VK2PJ) peter.jeremy@alcatel.com.au Alcatel Australia Limited 41 Mandible St Phone: +61 2 9690 5019 ALEXANDRIA NSW 2015 Fax: +61 2 9690 5247