From owner-freebsd-questions@FreeBSD.ORG Sat Jan 20 08:13:43 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 8D0E416A404 for ; Sat, 20 Jan 2007 08:13:43 +0000 (UTC) (envelope-from zbyszek@szalbot.homedns.org) Received: from lists.lc-words.com (lists.lc-words.com [83.19.156.210]) by mx1.freebsd.org (Postfix) with ESMTP id 34D3813C428 for ; Sat, 20 Jan 2007 08:13:43 +0000 (UTC) (envelope-from zbyszek@szalbot.homedns.org) Received: from localhost ([::1] helo=lists.lc-words.com) by lists.lc-words.com with esmtp (Exim 4.66 (FreeBSD)) (envelope-from ) id 1H8BMC-0005iE-OH for freebsd-questions@freebsd.org; Sat, 20 Jan 2007 09:13:48 +0100 Received: from 192.168.11.7 (SquirrelMail authenticated user zbyszek@szalbot.homedns.org) by lists.lc-words.com with HTTP; Sat, 20 Jan 2007 09:13:48 +0100 (CET) Message-ID: <60303.192.168.11.7.1169280828.squirrel@lists.lc-words.com> In-Reply-To: <20070120080417.GA4365@xor.obsecurity.org> References: <60131.192.168.11.7.1169279847.squirrel@lists.lc-words.com> <20070120080417.GA4365@xor.obsecurity.org> Date: Sat, 20 Jan 2007 09:13:48 +0100 (CET) From: "Zbigniew Szalbot" To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.9a MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: virtual memory management X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Jan 2007 08:13:43 -0000 Hello again, >> The swap size usage grow so big probably because I started wget to >> download an iso image and then WinSCP to grab it from the FBSD machine >> to my laptop. When I started wget, the swap usage was around 19% and >> had been like that for many days. > > That should not cause such a thing (wget does not try to fit the whole > file in memory, so it won't be pushing stuff out to swap). Look at the > process sizes in top to see what is using the swap space - something(s) > that is still running is using that 482MB. I do not see such a process: PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 21442 root 2 20 0 224M 26128K kserel 0:06 0.00% java 896 mysql 16 20 0 70756K 14764K kserel 255:35 0.00% mysqld 98693 bind 1 96 0 32812K 32172K select 0:22 0.00% dnscache 5035 www 1 4 0 28372K 15660K accept 5:05 1.86% httpd 5026 www 1 4 0 28240K 15104K accept 4:46 0.00% httpd 5065 www 1 4 0 28128K 15196K accept 4:29 0.00% httpd 5030 www 1 4 0 27892K 15144K accept 4:21 0.00% httpd 5126 www 1 4 0 27784K 14864K accept 4:20 0.00% httpd 5029 www 1 4 0 27760K 14644K accept 4:22 0.00% httpd 5027 www 1 4 0 27740K 15140K accept 4:30 0.00% httpd 5028 www 1 4 0 27516K 14812K accept 4:03 0.00% httpd 95977 www 1 4 0 27216K 14532K accept 2:21 0.00% httpd 703 root 1 96 0 16412K 2296K select 4:35 0.00% httpd 91014 mailman 1 8 0 11492K 1600K nanslp 6:00 0.00% python 91012 mailman 1 8 0 11024K 1560K nanslp 5:32 0.00% python 91010 mailman 1 8 0 11008K 1568K nanslp 5:23 0.00% python 91009 mailman 1 8 0 11008K 1552K nanslp 5:20 0.00% python I have just restarted the java program as it used to hold 224M but it did not help (and it is quite stable and never given me any problem). After using Squirrel Mail for some time swap use went down to 71% Mem: 258M Active, 49M Inact, 108M Wired, 16M Cache, 60M Buf, 61M Free Swap: 512M Total, 440M Used, 71M Free, 86% Inuse Thank you very much for your suggestion Kris! -- Zbigniew Szalbot