From owner-freebsd-bugs@FreeBSD.ORG Tue Jun 8 07:30:27 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C6F1416A4D0 for ; Tue, 8 Jun 2004 07:30:27 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A4A7043D46 for ; Tue, 8 Jun 2004 07:30:27 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i587URZe070322 for ; Tue, 8 Jun 2004 07:30:27 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i587URaK070321; Tue, 8 Jun 2004 07:30:27 GMT (envelope-from gnats) Resent-Date: Tue, 8 Jun 2004 07:30:27 GMT Resent-Message-Id: <200406080730.i587URaK070321@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, JP Dinger Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 214FA16A4CE for ; Tue, 8 Jun 2004 07:30:14 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A97043D2D for ; Tue, 8 Jun 2004 07:30:14 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i587UDux063641 for ; Tue, 8 Jun 2004 07:30:13 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.11/8.12.11/Submit) id i587UDLw063640; Tue, 8 Jun 2004 07:30:13 GMT (envelope-from nobody) Message-Id: <200406080730.i587UDLw063640@www.freebsd.org> Date: Tue, 8 Jun 2004 07:30:13 GMT From: JP Dinger To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: kern/67706: cvs update over a union mount slows and then slowly hangs the system X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jun 2004 07:30:28 -0000 >Number: 67706 >Category: kern >Synopsis: cvs update over a union mount slows and then slowly hangs the system >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jun 08 07:30:27 GMT 2004 >Closed-Date: >Last-Modified: >Originator: JP Dinger >Release: 4.9-REL-p9, 4.9-REL-p4, 4.10-REL >Organization: >Environment: FreeBSD cazorp.gate5.de 4.9-RELEASE-p9 FreeBSD 4.9-RELEASE-p9 #1: Fri Jun 4 14:08:43 CEST 2004 root@cazorp.gate5.de:/usr/obj/usr/src/sys/PROZACII i386 Also verified with GENERIC, of both 4.9-p4 and 4.10 (switched back from 4.10 to veryfy it wasn't a regression). >Description: With /usr/ports union mounted on /data/ports, cd /usr;cvs checkout ports will work but cvs update will make the machine unbearably slow, until no commands will work anymore. Symptoms include increasing slowness until total halt, but switching vtys will keep working. Disc and network activity will drop to zero as well, until interrupts/sec matches HZ. vmstat and top (when they have been running before, starting them won't be doable) will continue to update, however. The system will be 99.x% idle and run 0.(9-x)% sys, but no intr or user. Swap is not touched. Namei and related cache stats are empty. >How-To-Repeat: df -h /data /usr Filesystem Size Used Avail Capacity Mounted on /dev/ad0s1h 87G 1.9G 78G 2% /data /dev/ad0s1f 1.2G 224M 872M 20% /usr mkdir /data/ports mkdir /usr/ports mount -t union /data/ports /usr/ports cd /usr cvs checkout ports *optionally wait a day* cvs update -dP ports run systat -v or top and watch the machine do nothing. wait 15 minutes. switch to another vty/login/whatever and try to start anything else. Wait another 15 minutes, when the command hasn't even started decide the machine is hung. Reboot, when the machine comes up umount the unionfsen and try again directly in /data. >Fix: n/a >Release-Note: >Audit-Trail: >Unformatted: