From owner-freebsd-questions@FreeBSD.ORG Mon Jul 11 06:32:17 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 629FF16A41C for ; Mon, 11 Jul 2005 06:32:17 +0000 (GMT) (envelope-from lars.koeller@uni-bielefeld.de) Received: from smtp-relay1.uni-bielefeld.de (smtp-relay1.uni-bielefeld.de [129.70.4.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id C115B43D45 for ; Mon, 11 Jul 2005 06:32:15 +0000 (GMT) (envelope-from lars.koeller@uni-bielefeld.de) Received: from pmxchannel-daemon.mail1.hrz.uni-bielefeld.de by mail1.hrz.uni-bielefeld.de (iPlanet Messaging Server 5.2 HotFix 2.06 (built Mar 28 2005)) id <0IJG00M0OA5QKZ@mail1.hrz.uni-bielefeld.de> for freebsd-questions@freebsd.org; Mon, 11 Jul 2005 08:32:14 +0200 (MEST) Received: from rayadm.hrz.uni-bielefeld.de ([129.70.202.15]) by mail1.hrz.uni-bielefeld.de (iPlanet Messaging Server 5.2 HotFix 2.06 (built Mar 28 2005)) with ESMTPP id <0IJG00KRDA3PLM@mail1.hrz.uni-bielefeld.de> for freebsd-questions@freebsd.org; Mon, 11 Jul 2005 08:32:13 +0200 (MEST) Received: from rayadm.hrz.uni-bielefeld.de (lkoeller@localhost) by rayadm.hrz.uni-bielefeld.de (8.11.7p1+Sun/8.11.7) with ESMTP id j6B62ng12602; Mon, 11 Jul 2005 08:02:49 +0200 (MEST) Date: Mon, 11 Jul 2005 08:02:49 +0200 From: Lars =?iso-8859-1?Q?K=F6ller?= X-Face: eCcoCV}FjV*O{6>[1$XP/e%]TJhEw2MF33dFh)^HM7Gfd=[/(4+0a$~ "of Fri, 24 Jun 2005 14:09:54 +0200." <200506241209.j5OC9sS11714@rayadm.hrz.uni-bielefeld.de> Sender: lars.koeller@uni-bielefeld.de To: freebsd-questions@freebsd.org Message-id: <200507110602.j6B62ng12602@rayadm.hrz.uni-bielefeld.de> MIME-version: 1.0 X-Mailer: exmh version 2.7.0 06/18/2004 with nmh-1.0.4 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: quoted-printable X-Spam-Level: X-UniBi-Spam-Level: , 7% X-UniBi-Spam-Rules: __C230066_P5 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __HAS_X_MAILER 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0 X-UniBi-Deliver: Tag X-UniBi-EnvFrom: lars.koeller@uni-bielefeld.de X-UniBi-EnvTo: freebsd-questions@freebsd.org X-PMX-Version: 4.7.1.128075, Antispam-Engine: 2.0.3.2, Antispam-Data: 2005.7.10.45, vscan4.hrz.uni-bielefeld.de Cc: Lars =?iso-8859-1?Q?K=F6ller?= Subject: Re: Sporadical NFS errors with NetApp backend (solved) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jul 2005 06:32:17 -0000 ---------- Hello, alas I get not response to my question, but some more googling and = testing leads to a solution. With the following mount options all runs well: tcp,rw,bg,dumbtimer,-r=3D32768,-w=3D32768 the most important thing is to not use any of the following intr or soft it seems (only idea and wild speculation), that with even the intr = mount option some IO ops are interrupted, so that I see the reported = errors below. Perhaps the problem are a signal send to a thread??? Regards Lars In reply to Lars K=F6ller who wrote: = > At the moment I have a really strange problem in our environment. > = > - NetApp Cluster NFS file server > - HPUX-11, Solaris-8, FreeBSD-4.11 Clients > = > - 60000 Virus/Spam scans a day, spread over 5 different FreeBSD Machi= nes, > two different hardware bases, 1GBit Network > = > A problem occurs with the Sophos PMX (PureMessage Anti-Spam/Anti-Virus)= > Application. 1-3 times a day the following happens: > = > - pmx_log:3 2005-06-23T12:26:58 [36968,milter] pmx_file(): = > Can't append message info to '/usr/local/pmx4/var/qdir/tmp/11195224= 18-36968:135299072-ZN0IIE00EX1IKSAE.00-738-vscan1.hrz.uni-bielefeld.de': = Bad file descriptor at /usr/local/pmx4/lib/site_perl/5.6.1/PureMessage/Me= ssageFile.pm line 124. > = > - /usr/local/pmx4/var is located on the NetApp Filer (NFSv3) > = > - Line 124 referenced above looks like (close($f)): > = > sub make { > my $class =3D shift; > my $fname =3D shift; > my $minfo =3D @_ =3D=3D 1 ? shift : do { > require PureMessage::MessageInfo; > PureMessage::MessageInfo->new(@_); > }; > open(my $f, ">>", $fname) || die "Can't append to '$fname': $!\n"; > print $f _minfo_block($minfo); > close($f) || die "Can't append message info to '$fname': $!"; > 1; > } > = > - BUT: The message-info is absolutely correct appended! > = > This does not occur if I move /usr/local/pmx4/var on a local disk. -- = Dr. Lars K=F6ller \ E-Mail : Lars.Koeller@Uni-Bielefeld.DE Leitung Systeme \ Tel: +49 521/106-4964, FAX: +49 521/106-154964 u. Serverdienste \ PGP-Key: http://www.uk.pgp.net/pgpnet/wwwkeys.html --------- FreeBSD, what else? ----- http://www.de.freebsd.org ---------