From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 26 09:00:59 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0F247ACF for ; Fri, 26 Sep 2014 09:00:59 +0000 (UTC) Received: from mail-la0-x236.google.com (mail-la0-x236.google.com [IPv6:2a00:1450:4010:c03::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 87C9D7A9 for ; Fri, 26 Sep 2014 09:00:58 +0000 (UTC) Received: by mail-la0-f54.google.com with SMTP id ty20so1582852lab.27 for ; Fri, 26 Sep 2014 02:00:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:mail-followup-to :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=zw6TCFlCO9CUgJND2hc7pi+p8DdvkvrzyxZeVzhTbPw=; b=l0U2+SRg1mqWJr2Hmkstg/MfmBqTnsi0B0LJwyAeDzYn/MC/EfnPgRFGoTbCCDPD8g JrNTm1E0Hx/qGhEYzG1BCUWCsCm5/PznssxO9XirC/ttIQDX2KNx5Km3iRCHheHDtj39 Oi/zXbgy/Zfmv8Yj2r+5bN4I6daF6aKk57O11mOYY/Jk4Hk+/up4zwrjqFrFPvAjLJgs 2kL+vh9iBG09869IhEGumKVS5g6w1kj1DjQpuPX0zWsfGGfKhspFcAssv520TIKcIDlv 0u5mug5MBGG4Lzce3eNFSQz3FT3fdjTloQ2q2H3LQPvU/24RW4PqAhuZEeEdFc/Breqj Lhag== X-Received: by 10.152.21.6 with SMTP id r6mr18983562lae.6.1411722056556; Fri, 26 Sep 2014 02:00:56 -0700 (PDT) Received: from brick.home (adfm247.neoplus.adsl.tpnet.pl. [79.184.116.247]) by mx.google.com with ESMTPSA id as5sm1650659lac.46.2014.09.26.02.00.55 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Sep 2014 02:00:56 -0700 (PDT) Sender: =?UTF-8?Q?Edward_Tomasz_Napiera=C5=82a?= Date: Fri, 26 Sep 2014 11:00:53 +0200 From: Edward Tomasz =?utf-8?Q?Napiera=C5=82a?= To: Hans Ottevanger Subject: Re: Fwd: Autofs: spurious (?) log messages and zombies from automountd Message-ID: <20140926090053.GA10644@brick.home> Mail-Followup-To: Hans Ottevanger , freebsd-hackers@freebsd.org References: <54226E4D.1040704@beastielabs.net> <54250A50.1000607@beastielabs.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <54250A50.1000607@beastielabs.net> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: freebsd-hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Sep 2014 09:00:59 -0000 On 0926T0840, Hans Ottevanger wrote: > Reposting here (with typos in subject corrected) after no response from > stable@ for almost two days. > > Regards, > > Hans > > > -------- Forwarded Message -------- > Subject: Aitofs: spurious (?) jog messages and zombies from automountd > Date: Wed, 24 Sep 2014 09:10:05 +0200 > From: Hans Ottevanger > To: freebsd-stable@FreeBSD.org > > Hi, > > When accessing a directory for the first time on /net, automounted using > the new autofs, I reproducibly get error messages in the log. > > I have exported a single directory (read/write) from my test server: > > $ showmount -e soekris > > Exports list on soekris: > /home > > My client runs 10-STABLE, also known as 10.1-BETA2 these days, updated > to r272021. The kernel config is GENERIC minus devices that I do not > have, with AUTOFS added. > > When accessing the server for the first time using: > > ls /net/soekris/home/hans > > I get the expected directory listing but immediately also see the > following in /var/log/messages: > > Sep 24 07:39:09 beastie automountd[1554]: child process 2096 terminated > with exit status 1 > Sep 24 07:39:09 beastie automountd[1554]: child process 2101 terminated > with exit status 1 There are no log messages preceding this? > Additionally, a zombie process keep hanging forever: > > $ pstree 1554 > -+= 01554 root /usr/sbin/automountd > \--- 02106 root > > When I wait until the directory is autounmounted and retry the access, > the zombie disappears (apparently finally waited for) and I get two > others in return: > > $ pstree 1554 > -+= 01554 root /usr/sbin/automountd > |--- 02658 root > \--- 02663 root > > and a few extra log messages: > > Sep 24 08:52:17 beastie automountd[1554]: child process 2106 terminated > with exit status 1 > Sep 24 08:52:17 beastie automountd[1554]: child process 2653 terminated > with exit status 1 > > Is anyone else seeing this? > Do I miss something? > Is this expected behavior? Not quite; I'll try to reproduce it.