From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 26 10:32:31 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 1D65AA42; Fri, 26 Sep 2014 10:32:31 +0000 (UTC) Received: from mail.beastielabs.net (unknown [IPv6:2001:888:1227:0:200:24ff:fec9:5934]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BCE4B281; Fri, 26 Sep 2014 10:32:30 +0000 (UTC) Received: from beastie.hotsoft.nl (beastie.hotsoft.nl [IPv6:2001:888:1227:0:219:d1ff:fee8:91eb]) by mail.beastielabs.net (8.14.7/8.14.7) with ESMTP id s8QAWR5G067122; Fri, 26 Sep 2014 12:32:27 +0200 (CEST) (envelope-from hans@beastielabs.net) Message-ID: <542540BB.80001@beastielabs.net> Date: Fri, 26 Sep 2014 12:32:27 +0200 From: Hans Ottevanger User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 MIME-Version: 1.0 To: =?UTF-8?B?RWR3YXJkIFRvbWFzeiBOYXBpZXJhxYJh?= Subject: Re: Fwd: Autofs: spurious (?) log messages and zombies from automountd References: <54226E4D.1040704@beastielabs.net> <54250A50.1000607@beastielabs.net> <20140926090053.GA10644@brick.home> In-Reply-To: <20140926090053.GA10644@brick.home> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 10:32:31 -0000 On 09/26/14 11:00, Edward Tomasz NapieraƂa wrote: > 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? > No. Just the normal messages logged at boot time. >> 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. > I planned to make a new CURRENT snapshot installation on another machine anyhow today. I will see what happens there. Kind regards, Hans