From nobody@FreeBSD.org  Wed Apr 18 16:31:39 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id B9C3F106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 18 Apr 2012 16:31:39 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id A44BF8FC12
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 18 Apr 2012 16:31:39 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q3IGVdLV033564
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 18 Apr 2012 16:31:39 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q3IGVdau033563;
	Wed, 18 Apr 2012 16:31:39 GMT
	(envelope-from nobody)
Message-Id: <201204181631.q3IGVdau033563@red.freebsd.org>
Date: Wed, 18 Apr 2012 16:31:39 GMT
From: Aldo <rimbalza@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ZFS panics the server
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         167067
>Category:       kern
>Synopsis:       [zfs] [panic] ZFS panics the server
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-fs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 18 16:40:02 UTC 2012
>Closed-Date:    
>Last-Modified:  Sat Apr 21 05:47:20 UTC 2012
>Originator:     Aldo
>Release:        FreeBSD 9.0-RELEASE #0. AMD64
>Organization:
>Environment:
FreeBSD -snip- 9.0-RELEASE FreeBSD 9.0-RELEASE #0. AMD64
>Description:
Installed FreeBSD. Added the patch to not panic ZFS on "ls -la" (sorry, don't remember number/link, damn, it was related to something assuming FreeBSD in some ondisk structure if I remember) on Solaris created volumes, and recompiled zfs.ko.

It mounts my pool and dataset ok.
Installed Samba 3.6.4. Also tried 3.6.1, compiled with variuos options with clang or gcc 4.2. Doesn't change.

If I run stress tests with scripts it runs fine. When my users try to access the Samba share, the server panics (see attach).
It seems something related to concurrency. I moved 200Gb with no problems, when two people open a word document the server is gone.
The panic reports it was running smbd in the moment.

Pool v28 upgraded from Opensolaris v22.
The picture of the dump is here http://forums.freebsd.org/showthread.php?t=31447
>How-To-Repeat:
Don't really know, it surely needs several people accessing the share.
Files were heavily manipulated on their permissions (setfacl).

>Fix:
After a full working day trying any kind of sysctl (memory, zil, limits) I decommissioned the server, since it was in production and needed to function.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-amd64->freebsd-fs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sat Apr 21 05:47:02 UTC 2012 
Responsible-Changed-Why:  
Over to maintainer(s). 

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