From ryan@metacolo.com  Tue Jun 17 19:30:10 2003
Return-Path: <ryan@metacolo.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 57EEC37B404
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 17 Jun 2003 19:30:10 -0700 (PDT)
Received: from mx1.metacolo.net (fxp0-vn0.bb1.sfo.metacolo.net [209.237.229.10])
	by mx1.FreeBSD.org (Postfix) with ESMTP id D8A8F43FB1
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 17 Jun 2003 19:30:09 -0700 (PDT)
	(envelope-from ryan@metacolo.com)
Message-Id: <20030618023009.B84C1284F4@mx1.metacolo.net>
Date: Wed, 18 Jun 2003 02:30:09 +0000 (UTC)
From: Ryan Lackey <ryan@metacolo.com>
Reply-To: Ryan Lackey <ryan@metacolo.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: heavy i/o on GBDE partition on SMP locks up box on 5.0/5.1
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         53433
>Category:       kern
>Synopsis:       heavy i/o on GBDE partition on SMP locks up box on 5.0/5.1
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 17 19:40:05 PDT 2003
>Closed-Date:    Sun Nov 26 20:23:11 GMT 2006
>Last-Modified:  Sun Nov 26 20:23:11 GMT 2006
>Originator:     Ryan Lackey
>Release:        FreeBSD 5.0-RELEASE-p7 i386
>Organization:
metacolo
>Environment:
System: FreeBSD bb1-sfo.metacolo.net 5.0-RELEASE-p7 FreeBSD 5.0-RELEASE-p7 #9: Wed Jun 18 01:25:58 UTC 2003 root@bb1-sfo.metacolo.net:/usr/obj/usr/src/sys/RYAN i386


	
>Description:
	My system reliably locks up when operating in SMP mode and doing
	large disk I/O to a gbde-encrypted partition (postfix mailspool)
	on 5_1_0-RELEASE and 5_0.  Specifically a directory of >200M with
	lots of postfix mail spool files (>2000?)

>How-To-Repeat:
	On my system, a 5.1-RELEASE VA Linux 2230 Dual p3-800Mhz L440gx based
	SMP system, I have a 1.4G GBDE partition.  In this partition, I had
	a postfix mail spool which due to a mail flood had expanded to
	400M.

	Upon noticing this full partition, I ssh'd in and began to delete
	files.  Part of this involved deleting the 400M mailspool and 
	manually removing files...during this process, the machine locked 
	up (remotely).  No syslog messages were present from between
	normal operation and reboot, so I assume the machine paniced.

	I rebooted and had the same behavior on trying to delete the spool.

	I downgraded to 5_0 and had exactly the same problem when attempting
	rm -rf on the postfix spool.

	I recompiled the kernel without SMP support and on 5_0 have not
	yet had another lockup.  I successfully deleted the mailspool.

syslog messages included repeats of the following pre-crash:

	Jun 15 22:20:08 bb1-sfo kernel: Jun 15 22:20:08 bb1-sfo remailer/qmgr[20985]: fatal: myrealloc: insufficient memory: Cannot allocate memory

Jun 15 22:29:52 bb1-sfo kernel: Jun 15 22:29:52 bb1-sfo kernel: /home: optimiza\tion changed from TIME to SPACE
Jun 15 22:30:25 bb1-sfo kernel: Jun 15 22:30:25 bb1-sfo remailer/qmgr[35323]: f\atal: scan_dir_push: open directory active: No such file or directory

>Fix:
	Disabling SMP support seems to make 5_0 reliable, at least.  I will
	investigate with 5_1, and assemble a spare machine for more 
	extensive testing of -CURRENT SMP+GBDE interaction under load, since
	I plan to use this configuration in heavy production as soon as
	possible.



>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: arved 
State-Changed-When: Tue Aug 24 15:15:26 GMT 2004 
State-Changed-Why:  
Is this still an issue with recent versions of FreeBSD? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=53433 

From: Ryan Lackey <ryan@venona.com>
To: Tilman Linneweh <arved@FreeBSD.org>
Cc: freebsd-bugs@FreeBSD.org
Subject: Re: kern/53433: heavy i/o on GBDE partition on SMP locks up box on 5.0/5.1
Date: Tue, 24 Aug 2004 14:44:51 +0000

 I am in Iraq; I don't currently have an SMP FreeBSD box on which to test.
 
 Quoting Tilman Linneweh <arved@FreeBSD.org>:
 > Synopsis: heavy i/o on GBDE partition on SMP locks up box on 5.0/5.1
 > 
 > State-Changed-From-To: open->feedback
 > State-Changed-By: arved
 > State-Changed-When: Tue Aug 24 15:15:26 GMT 2004
 > State-Changed-Why: 
 > Is this still an issue with recent versions of FreeBSD?
 > 
 > http://www.freebsd.org/cgi/query-pr.cgi?pr=53433
 > 
 
 -- 
 Ryan Lackey [RL960-RIPE AS24812]   ryan@venona.com   +1 800 732 0127
 OpenPGP DH 4096: B8B8 3D95 F940 9760 C64B   DE90 07AD BE07 D2E0 301F

From: Ryan Lackey <ryan@venona.com>
To: Tilman Linneweh <arved@freebsd.org>
Cc:  
Subject: Re: kern/53433: heavy i/o on GBDE partition on SMP locks up box on 5.0/5.1
Date: Sun, 3 Jul 2005 03:43:50 +0000

 I don't know; I haven't had a chance to test on a non-production SMP box.
 
 Quoting Tilman Linneweh <arved@FreeBSD.org>:
 > Synopsis: heavy i/o on GBDE partition on SMP locks up box on 5.0/5.1
 > 
 > State-Changed-From-To: open->feedback
 > State-Changed-By: arved
 > State-Changed-When: Tue Aug 24 15:15:26 GMT 2004
 > State-Changed-Why: 
 > Is this still an issue with recent versions of FreeBSD?
 > 
 > http://www.freebsd.org/cgi/query-pr.cgi?pr=53433
 > _______________________________________________
 > freebsd-bugs@freebsd.org mailing list
 > http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
 > To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"
 > 
 
 -- 
 Ryan Lackey [RL960-RIPE AS24812]  ryan@venona.com    +1 212 372 7595
 OpenPGP DH 4096: B8B8 3D95 F940 9760 C64B   DE90 07AD BE07 D2E0 301F
State-Changed-From-To: feedback->closed 
State-Changed-By: remko 
State-Changed-When: Sun Nov 26 20:21:54 UTC 2006 
State-Changed-Why:  
The submitter does not have the possibility to test this 
and there are no other reports. Therefor I will close this 
PR, if the submitter has feedback or someone else, please 
contact me so that we can look into the details to solve 
it (and reopen the PR ofcourse). 

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