Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 15 Jul 2002 09:27:29 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 15 Jul 2002 09:27:28 -0400 Received: from ping.uio.no ([129.240.78.2]:4112 "EHLO ping.uio.no") by vger.kernel.org with ESMTP id ; Mon, 15 Jul 2002 09:27:27 -0400 To: Roy Sigurd Karlsbakk Cc: linux-kernel@vger.kernel.org Subject: Re: Killing/removing defunct processes? References: <200207151442.57464.roy@karlsbakk.net> From: ilmari@ping.uio.no (Dagfinn Ilmari =?iso-8859-1?q?Manns=E5ker?=) Organization: Program-, Informasjons- og Nettverksteknologisk Gruppe, UiO Date: 15 Jul 2002 15:30:19 +0200 In-Reply-To: <200207151442.57464.roy@karlsbakk.net> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1155 Lines: 25 Roy Sigurd Karlsbakk writes: > hi all Hi Roy, > How can I kill/remove a defunct process (trying to read on from a > chrashed NFS server) without rebooting? It really should be some > sort of hack (extra kill argument?) to do this. >From nfs(5), mount options: hard If an NFS file operation has a major timeout then report "server not responding" on the console and continue retrying indefinitely. This is the default. intr If an NFS file operation has a major timeout and it is hard mounted, then allow signals to interupt the file operation and cause it to return EINTR to the calling program. The default is to not allow file operations to be interrupted. You want both these options when mounting. It might be possible to do a "mount -o remount,intr /hung/nfs/mount" and then kill, but I'm not sure. -- ilmari - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/