10-01-2010
37,
0
Join Date: Nov 2008
Last Activity: 24 October 2013, 2:38 PM EDT
Location: Kuala Lumpur
Posts: 37
Thanks Given: 10
Thanked 0 Times in 0 Posts
Error restarting autofs in RedHat
Hi Expert,
I am trying to restart automount as it's consume much CPU.
Tasks: 2392 total, 7 running, 2352 sleeping, 25 stopped, 8 zombie Cpu(s): 9.3% us, 28.5% sy, 0.0% ni, 61.5% id, 0.2% wa, 0.2% hi, 0.2% si Mem: 15799928k total, 11029764k used, 4770164k free, 162424k buffers Swap: 22773752k total, 7303680k used, 15470072k free, 2628508k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
5939 root 25 0 27112 1556 952 S 97.2 0.0 3155:01 automount
when I restart autofs, I got error
Stopping automount:umount2:
Device or resource busy umount: /proj: device is busy umount2:
Device or resource busy umount: /tool: device is busy
[FAILED]
Starting automount:
/tool: mount failed! failed to load map: /usr/sbin/automount --timeout=300 /tool yp auto.tool -DOS=k26_g23_64 tcp,rsize=32768,wsize=32768,timeo=600,retrans=2
/proj: mount failed! failed to load map: /usr/sbin/automount --timeout=300 /proj yp auto.proj -DOS=k26_g23_64 tcp,rsize=32768,wsize=32768,timeo=600,retrans=2 /home: mount failed!
ps -ef | grep automount | egrep -v grep
root 5885 1 0 Sep13 ? 00:02:11 /usr/sbin/automount --timeout=300 /tool yp auto.tool -DOS=k26_g23_64 tcp,rsize=32768,wsize=32768,timeo=600,retrans=2
root 5939 1 12 Sep13 ? 2-04:45:46 /usr/sbin/automount --timeout=300 /proj yp auto.proj -DOS=k26_g23_64 tcp,rsize=32768,wsize=32768,timeo=600,retrans=2
Your assistance in this matter is very much appreciated. Thx.