From: Ian Kent Subject: Re: autofs expire_indirect errors in syslog Date: Mon, 24 Mar 2008 14:47:42 +0900 Message-ID: <1206337662.2993.18.camel@raven.themaw.net> References: <66d392400803192215p36cc021bv6bfae3c09e173602@mail.gmail.com> <1206336287.2993.4.camel@raven.themaw.net> <66d392400803232231pcc78fe5g514976d8288b0383@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <66d392400803232231pcc78fe5g514976d8288b0383@mail.gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: autofs-bounces@linux.kernel.org Errors-To: autofs-bounces@linux.kernel.org To: Kamil Kisiel Cc: autofs@linux.kernel.org On Sun, 2008-03-23 at 22:31 -0700, Kamil Kisiel wrote: > On Sun, Mar 23, 2008 at 10:24 PM, Ian Kent wrote: > > > > On Wed, 2008-03-19 at 22:15 -0700, Kamil Kisiel wrote: > > > I'm using autofs to mount some NFS shares, but occasionally some of > > > the machines on the network get their syslog filling up with errors > > > like this: > > > > Version info, distribution and autofs? > > > > > > > > > > > > Mar 19 21:11:05 automount[6762]: expire_indirect: fstat > > > failed: Bad file descriptor > > > Mar 19 21:12:20 automount[6762]: expire_indirect: fstat > > > failed: Bad file descriptor > > > Mar 19 21:13:35 automount[6762]: expire_indirect: fstat > > > failed: Bad file descriptor > > > > > > Any suggestions as to why this might be, or steps to take to debug? > > > > > > I'm using kernel 2.6.24 for x86_64 on an AMD 64 and autofs version > 5.0.3. The distribution is Gentoo Linux. This behavior is not isolated > to one machine, all of the machines running the same system image > exhibit the same symptoms every now and then. I've changed that message to debug logging in the latest revision. I had a look around but couldn't find anything and so I didn't track it down. So we can get expire requests for stale mounts now and again and, as far as I can see, it's not otherwise a problem. Looks like the Gentoo package is close to up to date wrt. 5.0.3. The patches on kernel.org: autofs-5.0.3-expire-works-too-hard-update.patch autofs-5.0.3-expire-works-too-hard-update-2.patch together change the log message from error to debug (the later reverts a hunk of the first that was incorrect) since I still want to know how often it happens when debugging. Ian