From owner-freebsd-bugs Tue Aug 28 8:50:13 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id DD8C237B40B for ; Tue, 28 Aug 2001 08:50:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f7SFo0Z80658; Tue, 28 Aug 2001 08:50:00 -0700 (PDT) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 2A1FC37B403 for ; Tue, 28 Aug 2001 08:47:56 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f7SFlu980281; Tue, 28 Aug 2001 08:47:56 -0700 (PDT) (envelope-from nobody) Message-Id: <200108281547.f7SFlu980281@freefall.freebsd.org> Date: Tue, 28 Aug 2001 08:47:56 -0700 (PDT) From: Peter To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/30164: Machine hangs on swap problems. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 30164 >Category: kern >Synopsis: Machine hangs on swap problems. >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Aug 28 08:50:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Peter >Release: 4.3-RELEASE >Organization: >Environment: FreeBSD host.domain 4.3-RELEASE FreeBSD 4.3-RELEASE #0: Mon Jul 9 05:01:32 CEST 2001 toor@host.domain:/usr/src/sys/compile/WAVEKERNEL i386 >Description: I was running netscape v4.76 and after browseing a while the machine starts to be real slow due swapping. After getting tired of waiting I tried to switch to text console with Ctrl+Alt+F1. But then XFree freeze. Tried to connect to the problem machine from a laptop the ssh deamon only responds by connecting, no ssh init strings.. nothing. The hardisc led is flickering so I decide to reset the machine. After rebooting the syslog shows: Aug 28 16:55:24 wave /kernel: swap_pager_getswapspace: failed Aug 28 16:55:24 wave last message repeated 14 times Aug 28 16:55:54 wave last message repeated 25 times There is a similar bug report for v4.0 o [2000/07/05] kern/19714 dillon swap_pager_getswapspace: failed >How-To-Repeat: My Guess (no tested): Let a program allocate all memory available when running xfree86. Then try to switch into textconsole. >Fix: debug swap_pager_getswapspace? The former version I used killed processes when it got out of swap rather than letting the system down. An approach might be to let the pid that cause out of swap (if that's the case?) to be killed. >Release-Note: >Audit-Trail: >Unformatted: >swapinfo (after reboot!) Device 1K-blocks Used Avail Capacity Type /dev/da0s2b 67456 18112 49344 27% Interleaved I suspect netscape used up all memory and freebsd was not handling that properly. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message