Automounter floods ioctl and futex error messages

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Automounter floods ioctl and futex error messages
# 1  
Old 02-22-2012
Automounter floods ioctl and futex error messages

Hi!

I have a wondering regarding the syscalls automounter floods out when running strace on the process, are the below ioctl & futex messages bad? and is there any way to investigate em deeper?

Code:
[pid 21240] ioctl(3, 0xffffffffc018937c, 0x417a8020) = -1 EAGAIN (Resource temporarily unavailable)
[pid 21240] ioctl(3, 0xc018937d, 0x417a7f80) = 0
[pid 21240] ioctl(3, 0xffffffffc018937c, 0x417a8020) = -1 EAGAIN (Resource temporarily unavailable)
[pid 21240] ioctl(3, 0xc018937d, 0x417a7f80) = 0
[pid 21240] ioctl(3, 0xffffffffc018937c, 0x417a8020) = -1 EAGAIN (Resource temporarily unavailable)
[pid 21240] ioctl(3, 0xc018937d, 0x417a7f80) = 0
[pid 21240] ioctl(3, 0xffffffffc018937c, 0x417a8020) = -1 EAGAIN (Resource temporarily unavailable)
[pid 21240] ioctl(3, 0xc018937d, 0x417a7f80) = 0
[pid 21240] ioctl(3, 0xffffffffc018937c, 0x417a8020) = -1 EAGAIN (Resource temporarily unavailable)
[pid 21240] ioctl(3, 0xc018937d, 0x417a7f80) = 0
[pid 21240] ioctl(3, 0xffffffffc018937c, 0x417a8020) = -1 EAGAIN (Resource temporarily unavailable)
[pid 21240] ioctl(3, 0xc018937d, 0x417a7f80) = 0
[pid 21240] ioctl(3, 0xffffffffc018937c, 0x417a8020) = -1 EAGAIN (Resource temporarily unavailable)
[pid 21240] ioctl(3, 0xc018937d, 0x417a7f80) = 0
[pid 21240] ioctl(3, 0xffffffffc018937c, 0x417a8020) = -1 EAGAIN (Resource temporarily unavailable)
[pid 21240] ioctl(3, 0xc018937d, 0x417a7f80) = 0

Code:
[pid 15949] clock_gettime(CLOCK_REALTIME, {1329902249, 906472000}) = 0
[pid 15949] futex(0x2b2f72968404, FUTEX_WAIT_PRIVATE, 1741469, {0, 999947000}) = -1 ETIMEDOUT (Connection timed out)
[pid 15949] futex(0x2b2f72968440, FUTEX_WAKE_PRIVATE, 1) = 0
[pid 15949] clock_gettime(CLOCK_REALTIME, {1329902250, 908468000}) = 0
[pid 15949] futex(0x2b2f72968404, FUTEX_WAIT_PRIVATE, 1741471, {0, 999941000}) = -1 ETIMEDOUT (Connection timed out)
[pid 15949] futex(0x2b2f72968440, FUTEX_WAKE_PRIVATE, 1) = 0
[pid 15949] clock_gettime(CLOCK_REALTIME, {1329902251, 910447000}) = 0
[pid 15949] futex(0x2b2f72968404, FUTEX_WAIT_PRIVATE, 1741473, {0, 999865000}) = -1 ETIMEDOUT (Connection timed out)
[pid 15949] futex(0x2b2f72968440, FUTEX_WAKE_PRIVATE, 1) = 0
[pid 15949] clock_gettime(CLOCK_REALTIME, {1329902252, 912470000}) = 0
[pid 15949] futex(0x2b2f72968404, FUTEX_WAIT_PRIVATE, 1741475, {0, 999893000}) = -1 ETIMEDOUT (Connection timed out)
[pid 15949] futex(0x2b2f72968440, FUTEX_WAKE_PRIVATE, 1) = 0
[pid 15949] clock_gettime(CLOCK_REALTIME, {1329902253, 914483000}) = 0
[pid 15949] futex(0x2b2f72968404, FUTEX_WAIT_PRIVATE, 1741477, {0, 999893000}) = -1 ETIMEDOUT (Connection timed out)
[pid 15949] futex(0x2b2f72968440, FUTEX_WAKE_PRIVATE, 1) = 0

# 2  
Old 02-22-2012
What are you auto-mounting? NFS share? Resource temporarily unavailable could mean anything like full usage of memory, exceeding permitted number of processes, out of temporary storage, etc. What exactly are you doing here?
# 3  
Old 03-12-2012
Quote:
Originally Posted by admin_xor
What are you auto-mounting? NFS share? Resource temporarily unavailable could mean anything like full usage of memory, exceeding permitted number of processes, out of temporary storage, etc. What exactly are you doing here?
Hi!

Yes NFS shares via NetAPP filers.
got lots of RAM and /tmp so probably not, but maybe some kind of system resource value hitting the roof.

these messages flood by all the time even when the automounter aint doing much.
# 4  
Old 03-12-2012
Okay, so are you able to mount the NFS share manually, without the automounter?
# 5  
Old 03-21-2012
Quote:
Originally Posted by admin_xor
Okay, so are you able to mount the NFS share manually, without the automounter?
Yeah, but I'm also able to mount with automounter, just wondering why the heck all these syscalls flood Smilie
# 6  
Old 03-21-2012
futex objects are used to coordinate access to something. When a futex is negative it's cooperating process(es) are in a wait state, in the case of a file system it is probably code waiting for io requests to be queued. Note the -1 in the output. This means the process checking the futex is sleeping, then waking up checking the futex and going back to sleep. Polling is the term you want. The select() system call does this for example, if you want to understand polling - read the select man page. This appears to be mostly harmless.


ioctl is the primary inquiry and control interface between processes and filesystem drivers. EAGAIN is a valid return code meaning the resource is offline, not available, busy, waiting, etc. but anyway is not able to answer. This may be very like kids in a car asking the same question every 2 minutes: 'are we there yet?'

Find out what process those pids are, then read up on what those processes do.

IMO something is possibly wasting some cpu cycles and the resources required to move a process sleep/wake (like realtime timer), and depending on your configuration this may be of little importance. You may need some kind of upgrade/patch or configuration change. It is not really "normal" AFAIK.

admin_xor implied the workround: do not automount.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Red Hat

How to mount NFS using automounter(autofs)?

I have an nfs at 192.168.1.10:/home/vm1/Desktop/nfs and will like to mount locally to /home/vm1/Desktop/nfs-mount using automounter...need help doing do What i did $cat /etc/auto.master /home/vm1/Desktop /etc/auto.nfs $cat /etc/auto.nfs nfs-bind -fstype=nfs ... (3 Replies)
Discussion started by: nokia3310
3 Replies

2. IP Networking

Naming services + Automounter

Hi gurus, I am trying to understand the enviroment which we are using. The fact that I am asking is that this is production enviroment and I cannot change anything to experiment. Following servers are somehow related to each other, please help me figure out if my conclusions are correct. -... (0 Replies)
Discussion started by: wakatana
0 Replies

3. Solaris

fssnap ioctl error

For some reason when I try to take a snapshot of the root slice on a particular machine I get an ioctl 22 error. I can't seem to find much on the problem by searching the internet other than some realtime processes such as ntp that use mlock can cause this to happen. I tried running it with truss... (2 Replies)
Discussion started by: ilikecows
2 Replies

4. UNIX for Advanced & Expert Users

ioctl : strace

Hi All, int ioctl(int d, int request, ...); Can somebody tell me how does ioctl decides the input parameter: "request". Sometimes, its SNDCTL_TMR_TIMEBASE or TCGETS or FIONREAD...etc. What is the pattern?? I am asking this coz my strace returns this: ... (1 Reply)
Discussion started by: angad.makkar
1 Replies

5. Solaris

Inappropriate ioctl for device, format error

When I try to format a slice in Solaris 10 I get the follow error : -bash-3.00# mkfs /dev/dsk/c1d0s5 18877824 Can not determine partition size: Inappropriate ioctl for device Some format command output:.... AVAILABLE DISK SELECTIONS: 0. c1d0 <DEFAULT cyl 38735 alt 2 hd 64 sec 63>... (2 Replies)
Discussion started by: spoonman
2 Replies

6. AIX

NIS and automounter...

Have an AIX 5.2 box. I had automounter already setup to control /home using /etc/auto_home as an indirect automount map. Then we added NIS. We have it working, but for some reason, the NIS table auto.home seems to override /etc/auto_home entries. Of course, there are some duplicates... (2 Replies)
Discussion started by: Garry_Garrett
2 Replies

7. UNIX for Dummies Questions & Answers

automounter

Hi ALL, Does anyone know how automounting can be disabled in solaris? (I need to mount the home directory on to a sun machine from another machine. So I run something like mount another_machine:/home /home (on my sun) however i get an error saying device busy) I was told automouting... (1 Reply)
Discussion started by: rkap
1 Replies

8. Programming

ioctl()

UNIX, gnu cc compiler, SUN Ultra 60 Hello, this is my first post, so please bear with me. I'm currently developing a test environment for a network subsystem that, when live, accesses databases and other network elements. However, my test environment will be run offline, so I need to fake... (4 Replies)
Discussion started by: j_t_kim
4 Replies

9. UNIX for Dummies Questions & Answers

automounter

I have this question in my study guide could anyone please help me with the answer and (explicit) explanation. hostname: HOSTONE automounter file: /etc/auto.home entry: scps HOSTTWO:/export/home/scps commands executed on HOSTONE, mark all commands where the automounter will be invoked. ... (3 Replies)
Discussion started by: almendrita
3 Replies
Login or Register to Ask a Question