From owner-freebsd-current Sun Aug 4 21:32:30 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id VAA17885 for current-outgoing; Sun, 4 Aug 1996 21:32:30 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id VAA17878 for ; Sun, 4 Aug 1996 21:32:27 -0700 (PDT) Received: from msmith@localhost by genesis.atrad.adelaide.edu.au (8.6.12/8.6.9) id OAA10882 for current@freebsd.org; Mon, 5 Aug 1996 14:14:02 +0930 From: Michael Smith Message-Id: <199608050444.OAA10882@genesis.atrad.adelaide.edu.au> Subject: question about grinding system (Linux guru attn. reqd) To: current@freebsd.org Date: Mon, 5 Aug 1996 14:14:02 +0930 (CST) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I've just been watching this slowly-dying -current system trying to find something that looks wrong, and I think I have something. Watching the output of vmstat -m, I notice that the numbers for the 'temp' category keep growing, and that there's about 8M allocated to it at this point in time. Following this and the suspicion that the problem is linux-emulation related I went looking for M_TEMP allocations in i386/linux, and I'd like someone who's better qualified than I to look over the exit conditions in linux_emul_find() in linux_util.c because I'm fairly sure that it's possible for this function to return without freeing its buffer, and this would lead to the sort of leak that I'm seeing. Naturally, I'll try to test this as soon as I get a chance, but I'd appreciate any comments. -- ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ ]] Genesis Software genesis@atrad.adelaide.edu.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ ]] Collector of old Unix hardware. "Where are your PEZ?" The Tick [[