Operating System - HP-UX
1832645 Members
2988 Online
110043 Solutions
New Discussion

AUTOMOUNTD continually runs

 
SOLVED
Go to solution
Jerry Ragland
New Member

AUTOMOUNTD continually runs

Hello all.
It seems that the Automountd daemon is continually running. It's the first command listed when I do a 'top' command.
I've looked everywhere but I cannot locate what is calling it.
Does anyone have a suggestion?
We're running 11.23.

Thanks in advance!
9 REPLIES 9
Mridul Shrivastava
Honored Contributor
Solution

Re: AUTOMOUNTD continually runs

Check the NFS configuration... automountd is a daemon which runs if you have configured auto fs.
Time has a wonderful way of weeding out the trivial
James R. Ferguson
Acclaimed Contributor

Re: AUTOMOUNTD continually runs

Hi Jerry:

See '/sbin/init.d/nfs.client' and the driving configuation file '/etc/rc.config.d/nfsconf'.

Regards!

...JRF...
TTr
Honored Contributor

Re: AUTOMOUNTD continually runs

Automount is started in the NFS services. You can stop it by using the "/sbin/init.d/nfs.client stop" script or just kill the automount daemon.

Then you can prevent it from starting upo again by disabling it in /etc/rc.config.d/nfsconf and change the AUTOMOUNT or AUTOFS to 0.
Jerry Ragland
New Member

Re: AUTOMOUNTD continually runs

Thanks for the replies!

The thing is we have two systems running the same OS. From what I can tell, the configuration files are the same on both.
This daemon is continually running only on one, though.
The only difference is that there is one less file system being mounted on the machine with the continually running Automountd. Otherwise, the configurations are the same.
I'm trying to find out what is calling the daemon. I'm sure it's related to that missing file system, just not sure where it'd be.
Dennis Handly
Acclaimed Contributor

Re: AUTOMOUNTD continually runs

AUTOMOUNTD should continually run but what is the CPU percentage? Mine is about 1.5 to .5 %.
Rasheed Tamton
Honored Contributor

Re: AUTOMOUNTD continually runs

Hi Jerry,

What I understand is that you use autofs on your systems and on one of them it is continually running and always seen on the top. If that is the case, why do not you use lsof with the pid of the automountd. It would give you some clues.

lsof -p process id of the automountd.

If you are using NIS or DNS, try manually ping the server which exported the missing file system. May be it is related to resolver issues.

Regards.
Jerry Ragland
New Member

Re: AUTOMOUNTD continually runs

Thanks again for the answers!
The CPU usage of Automountd is hovering around 100%. Here is the top command results:
0 ? 1016 root 152 20 11228K 1344K run 6391:53 99.45 99.28 automountd

I downloaded the lsof command and ran it. Not sure what to do with the results, though.
What exactly should I look for?

Thanks again, all!
TTr
Honored Contributor

Re: AUTOMOUNTD continually runs

Jerry,

Is automountd consuming the entire CPU immediately upon reboot or something else triggers it thereafter?

Do you even have a need for automount?

Do you have created an autofs map?

Do you have NFS mounts?

Do you have a conflict between entries in fstab and entries in the autofs maps?

Check if there are any patches for automountd or NFS with references to automount.

Is the automountd at the same level on the two servers that you mentioned?
Dennis Handly
Acclaimed Contributor

Re: AUTOMOUNTD continually runs

>The CPU usage of Automountd is hovering around 100%.

This sounds broken to me. :-)
Are you using the enhanced autofs with the latest patches?
See Dave's link in:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1219285