Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Aug 2001 08:47:56 -0700 (PDT)
From:      Peter <pb.ludd.luth.se@FreeBSD.org (a)>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/30164: Machine hangs on swap problems.
Message-ID:  <200108281547.f7SFlu980281@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108281547.f7SFlu980281>