Received: by taz.hyperreal.com (8.7.5/V2.0) id BAA27563; Tue, 20 Aug 1996 01:31:06 -0700 (PDT) Received: from hume.esi.co.uk by taz.hyperreal.com (8.7.5/V2.0) with ESMTP id BAA27555; Tue, 20 Aug 1996 01:31:03 -0700 (PDT) Received: (from drtr@localhost) by hume.esi.co.uk (8.7.3/8.7.3) id JAA22437; Tue, 20 Aug 1996 09:30:30 +0100 (BST) Date: Tue, 20 Aug 1996 09:30:30 +0100 (BST) From: David Robinson To: new-httpd@hyperreal.com Subject: Re: inquiry regarding child process reaping (fwd) In-Reply-To: <199608191403.AA15051@en.muc.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-new-httpd@apache.org Precedence: bulk Reply-To: new-httpd@hyperreal.com On Mon, 19 Aug 1996, Ralf S. Engelschall wrote: > On 19 Aug 1996 15:17:42 +0200 in en.lists.apache-new-httpd you wrote: > > > [...] > > > - More significantly, we intermittently run into a problem with > > > amd hanging (it's a known problem on AIX, OSF/1, Linux, and > > > possibly other platforms). Since amd is single-threaded, when > > > it hangs, all subsequent requests hang as well. > > [...] > > > What on Earth is amd? [...] > > AMD = AutoMount Daemon > - - - > > FYI: > > In this case, the freely available automount package which has been ported to > nearly every Unix derivate. It is a great package (even better then the SunOS > or Solaris automounters). But the observation of AMD is correct and really a > drawback of AMD: When it hangs, all hangs! But in practice, it works great. > We use it on two clusters of SunoS 4.1.3 machines and it works reall fine. I haven't been following this thread, but... amd is a freely available automount daemon, written by Jan-Simon Pendry at Imperial College (UK) (and the documentation does read like a thesis chapter). Yes, if your automounter hangs, then any process which trys to access an un-mounted filesystem will hang inside the kernel. Processes which are accessing already mounted filesystems might hang, if the filesystem was not mounted in-place. However, amd was designed to never hang in normal operation; so if it does, it should be regarded as a bug. It takes extreme care to avoid any blockable system calls; for those system calls for which blocking might be unavoidable, it forks before calling them. amd was significantly better than the SunOS automounter; the latter would hang if it tried to mount a filesystem from a remote server that was down. Whereas the Solaris automounter is just as good as amd, because Sun took the opportunity to put automounting features into the kernel. David.