From owner-freebsd-bugs Sun Apr 13 21:40:05 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id VAA14465 for bugs-outgoing; Sun, 13 Apr 1997 21:40:05 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id VAA14459; Sun, 13 Apr 1997 21:40:03 -0700 (PDT) Resent-Date: Sun, 13 Apr 1997 21:40:03 -0700 (PDT) Resent-Message-Id: <199704140440.VAA14459@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, jlemon@americantv.com Received: from sumatra.americantv.com (sumatra.americantv.com [199.184.181.250]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id VAA14121 for ; Sun, 13 Apr 1997 21:33:45 -0700 (PDT) Received: (from jlemon@localhost) by sumatra.americantv.com (8.7.6/8.7.3) id XAA09320; Sun, 13 Apr 1997 23:47:28 -0500 (CDT) Message-Id: <199704140447.XAA09320@sumatra.americantv.com> Date: Sun, 13 Apr 1997 23:47:28 -0500 (CDT) From: jlemon@americantv.com Reply-To: jlemon@americantv.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/3278: MFS chews up all swap space Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 3278 >Category: kern >Synopsis: mounting MFS uses up swap space >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Apr 13 21:40:01 PDT 1997 >Last-Modified: >Originator: Jonathan Lemon >Organization: >Release: FreeBSD 3.0-CURRENT i386 >Environment: FreeBSD 3.0-CURRENT #0: Sun Apr 13 21:55:38 CDT 1997 Machine with 32M memory, 71M swap >Description: Mounting MFS filesystem causes roughly 2x physical memory to be allocated in swap partition, even though almost nothing is running. System then slowly runs out of swap, resulting in signal 6's to most processes, and cumulates with a panic in update that ususally looks like: lockstatus(34) ufs_islocked() vfs_msync() sync() vfs_update() >How-To-Repeat: # grep swap /etc/fstab /dev/sd3s2b none swap sw 0 0 # swapinfo Device 1K-blocks Used Avail Capacity Type /dev/sd3s2b 73728 0 73664 0% Interleaved # mount -t mfs /dev/sd3s2b /tmp # swapinfo Device 1K-blocks Used Avail Capacity Type /dev/sd3s2b 73728 68184 5480 93% Interleaved # umount /tmp # swapinfo Device 1K-blocks Used Avail Capacity Type /dev/sd3s2b 73728 10488 63176 14% Interleaved >Fix: Don't use MFS, until fixed. >Audit-Trail: >Unformatted: