Skip to contentSkip to conversation

autofs expire_indirect errors in syslog

DISCUSSION Kamil Kisiel 2 participants 4 messages Mar 20, 2008 – Mar 24, 2008 Kernel automounter

lore
Share & tools
lore
#0 lore raw

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:

Mar 19 21:11:05 <hostname> automount[6762]: expire_indirect: fstat
failed: Bad file descriptor
Mar 19 21:12:20 <hostname> automount[6762]: expire_indirect: fstat
failed: Bad file descriptor
Mar 19 21:13:35 <hostname> automount[6762]: expire_indirect: fstat

failed: Bad file descriptor

Any suggestions as to why this might be, or steps to take to debug?

Signature · 1 line
Kamil
maintainer
#1 lore raw
Quoted 3 lines · Kamil Kisiel

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?

Quoted 9 lines
Mar 19 21:11:05 <hostname> automount[6762]: expire_indirect: fstat
failed: Bad file descriptor
Mar 19 21:12:20 <hostname> automount[6762]: expire_indirect: fstat
failed: Bad file descriptor
Mar 19 21:13:35 <hostname> automount[6762]: expire_indirect: fstat

failed: Bad file descriptor

Any suggestions as to why this might be, or steps to take to debug?

#2 lore raw
Quoted 21 lines · Ian Kent
Quoted 3 lines · Kamil Kisiel

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?

Quoted 9 lines
Mar 19 21:11:05 <hostname> automount[6762]: expire_indirect: fstat
failed: Bad file descriptor
Mar 19 21:12:20 <hostname> automount[6762]: expire_indirect: fstat
failed: Bad file descriptor
Mar 19 21:13:35 <hostname> 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.

Signature · 1 line
Kamil
maintainer
#3 lore raw
Quoted 19 lines · Kamil Kisiel
Quoted 18 lines · Ian Kent
Quoted 3 lines · Kamil Kisiel

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?

Quoted 8 lines
Mar 19 21:11:05 <hostname> automount[6762]: expire_indirect: fstat
failed: Bad file descriptor
Mar 19 21:12:20 <hostname> automount[6762]: expire_indirect: fstat
failed: Bad file descriptor
Mar 19 21:13:35 <hostname> automount[6762]: expire_indirect: fstat

failed: Bad file descriptor

Quoted 8 lines
Quoted 3 lines
Quoted 1 line

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