From nobody@FreeBSD.org  Mon Feb  5 23:20:30 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 3CCE916A401
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  5 Feb 2007 23:20:29 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id 2E92413C46B
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  5 Feb 2007 23:20:29 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l15NKNPc084313
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 5 Feb 2007 23:20:23 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id l15NKNAJ084312;
	Mon, 5 Feb 2007 23:20:23 GMT
	(envelope-from nobody)
Message-Id: <200702052320.l15NKNAJ084312@www.freebsd.org>
Date: Mon, 5 Feb 2007 23:20:23 GMT
From: Andrei Iarus<poni1111@yahoo.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: swap_pager: indefinite wait buffer: bufobj: 0, blkno: 1234, size 4096
X-Send-Pr-Version: www-3.0

>Number:         108812
>Category:       i386
>Synopsis:       swap_pager: indefinite wait buffer: bufobj: 0, blkno: 1234, size 4096
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-i386
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 05 23:30:16 GMT 2007
>Closed-Date:    Tue Feb 06 07:02:48 GMT 2007
>Last-Modified:  Tue Feb 06 07:02:48 GMT 2007
>Originator:     Andrei Iarus
>Release:        FreeBSD 6.0-RELEASE-p9
>Organization:
>Environment:
FreeBSD hostname 6.0-RELEASE-p9 FreeBSD 6.0-RELEASE-p9 #0: Sat Aug 26 22:51:21 EEST 2006     root@hostname.org:/usr/src/sys/i386/compile/kernel_name  i386

>Description:
When installing php 5.2.0 I got a lot of messages swap_pager: indefinite wait buffer: bufobj: 0, blkno: 1234, size 4096. The system was unresposive, it was a deadlock, I had to shut it down manually. 
The output of swapinfo:

Device          1K-blocks     Used    Avail Capacity
/dev/ad1s1b        105424       28   105424     0%
/dev/md0           131072       16   131072     0%
Total              236496       44   236452     0%

Interesting info from dmesg.boot:
real memory  = 100663296 (96 MB)
avail memory = 93147136 (88 MB) (why only 88?)

When the kernel was compiled, I had 64 Mb RAM, then I have added 32 more RAM.
I saw that this problem also exists with the 6.1R. The system also crashed a lot of times when I tried to portupgrade mysql4.1 (the system doesn't use any jails or something to blame on)


>How-To-Repeat:
make reinstall in /usr/ports/lang/php5/
>Fix:

>Release-Note:
>Audit-Trail:

From: Remko Lodder <remko@elvandar.org>
To: Andrei Iarus <poni1111@yahoo.com>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: i386/108812: swap_pager: indefinite wait buffer: bufobj: 0, blkno: 1234, size 4096
Date: Tue, 6 Feb 2007 07:58:26 +0100

 On Mon, Feb 05, 2007 at 11:20:23PM +0000, Andrei Iarus wrote:
 > 
 > FreeBSD hostname 6.0-RELEASE-p9 FreeBSD 6.0-RELEASE-p9 #0: Sat Aug 26 22:51:21 EEST 2006     root@hostname.org:/usr/src/sys/i386/compile/kernel_name  i386
 > 
 > >Description:
 > When installing php 5.2.0 I got a lot of messages swap_pager: indefinite wait buffer: bufobj: 0, blkno: 1234, size 4096. The system was unresposive, it was a deadlock, I had to shut it down manually. 
 > The output of swapinfo:
 > 
 > Device          1K-blocks     Used    Avail Capacity
 > /dev/ad1s1b        105424       28   105424     0%
 > /dev/md0           131072       16   131072     0%
 > Total              236496       44   236452     0%
 > 
 > Interesting info from dmesg.boot:
 > real memory  = 100663296 (96 MB)
 > avail memory = 93147136 (88 MB) (why only 88?)
 > 
 > When the kernel was compiled, I had 64 Mb RAM, then I have added 32 more RAM.
 > I saw that this problem also exists with the 6.1R. The system also crashed a lot of times when I tried to portupgrade mysql4.1 (the system doesn't use any jails or something to blame on)
 > 
 > 
 
 Hello,
 
 Given the amount of memory and the amount of swap, you probably
 run into a shortage of memory/swap in total. I saw similiar
 problems on a old computer which had almost the same amount
 of memory, it would run out of those things pretty quick, especially
 when building heavy material like MySQL etc.
 
 Please do note from a security point of view that 6.0-R is no longer
 being supported, please ponder upgrading to 6.2-R.
 
 Cheers,
 Remko
 
 p.s. With this explaination i will close this ticket.
 
 -- 
 Kind regards,
 
      Remko Lodder               ** remko@elvandar.org
      FreeBSD                    ** remko@FreeBSD.org
 
      /* Quis custodiet ipsos custodes */
State-Changed-From-To: open->closed 
State-Changed-By: remko 
State-Changed-When: Tue Feb 6 07:02:45 UTC 2007 
State-Changed-Why:  
See my audit-trail for closure reasons (basically; the machine needs to 
do a lot and lacks enough memory) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=108812 
>Unformatted:
