From owner-freebsd-fs@FreeBSD.ORG Sun Jul 13 06:52:55 2003 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BFE1837B401 for ; Sun, 13 Jul 2003 06:52:55 -0700 (PDT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 10A2B43F93 for ; Sun, 13 Jul 2003 06:52:55 -0700 (PDT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.9/8.12.9) with ESMTP id h6DDqjai027834; Sun, 13 Jul 2003 09:52:45 -0400 (EDT) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)h6DDqZvV027829; Sun, 13 Jul 2003 09:52:45 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Sun, 13 Jul 2003 09:52:35 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Oliver Fromme In-Reply-To: <200307090913.h699DnK3053575@lurza.secnetix.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-fs@FreeBSD.ORG Subject: Re: NFS problem FreeBSD vs NetApp Filer using tomcat / java X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jul 2003 13:52:56 -0000 On Wed, 9 Jul 2003, Oliver Fromme wrote: > Someone asked me off-list whether I use the "interruptible" flag for > the NFS mounts, and suggested switching it off. > > Well, I always set the interruptible flag, so that processes don't hang > in case of NFS problems (so I can kill or Ctrl-C them). Otherwise they > will hang forever until I reboot. > > It is my understanding that the interruptible flag has only an effect > when a signal is delivered to a process which is blocked on NFS I/O. Or > am I wrong? My recollection is that the linux threading mechanism uses signals between threads as part of its synchronization primitives, etc. It could be that we're seeing a nasty interaction between NFS being unable to distinguish between "user" signals (Ctrl-C from a tty) and "system" signals from the thread library interrupting an NFS operation generated by the pager on a program image file, resulting in a segfault. So it would be interesting to know if turning off that flag makes the program run properly. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories