System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Need of the daemosn nfskd abd nfsktcpd

SOLVED
Go to solution
Sagar Sirdesai
Trusted Contributor

Need of the daemosn nfskd abd nfsktcpd

Hi
nfskd and nfsktcpd

Please suggest why these 2 daemons are need in hp-ux
12 REPLIES
Michal Kapalka (mikap)
Honored Contributor

Re: Need of the daemosn nfskd abd nfsktcpd

hi,

its a core subsystem from NFS.

NFS Kernel thread daemon - nfskd

mikap
Michal Kapalka (mikap)
Honored Contributor

Re: Need of the daemosn nfskd abd nfsktcpd

Sajjad Sahir
Honored Contributor

Re: Need of the daemosn nfskd abd nfsktcpd

Dear Sagar

These are nfs daemons and are controlled by

/etc/rc.config.d/nfsconf file.


thanks and regards

Sajjad Sahir
Sagar Sirdesai
Trusted Contributor

Re: Need of the daemosn nfskd abd nfsktcpd

Thanks for the replies.

Please let me know what is the need of these daemons.

Sagar
Michal Kapalka (mikap)
Honored Contributor
Solution

Re: Need of the daemosn nfskd abd nfsktcpd

Sagar Sirdesai
Trusted Contributor

Re: Need of the daemosn nfskd abd nfsktcpd

Thanks to Michal for the link

After reading the Document I have doubt

So nfsktcpd daemon is used for NFS over TCP .

Now by default all NFS request use TCP so does this mean the nfsd daemon is rarely used on in HP-11i

Michal Kapalka (mikap)
Honored Contributor

Re: Need of the daemosn nfskd abd nfsktcpd

Hi,

its depend on the used NFS version.

http://www.unixguide.net/hp/faq/5.7.15.shtml

mikap
Dave Olker
HPE Pro

Re: Need of the daemosn nfskd abd nfsktcpd

Hi Sagar,

> So nfsktcpd daemon is used for NFS over
> TCP .
>
> Now by default all NFS request use TCP so
> does this mean the nfsd daemon is rarely
> used on in HP-11i

If you're running HP-UX 11i v1 or v2 and you're only using NFS/TCP then the nfsktcpd threads will be doing all the work and the nfsd daemons will do no real work.

You can confirm this with nfsstat. That command shows a breakdown of how many requests arrived on connection-oriented transports (TCP) vs. connectionless transports (UDP). If you don't see any UDP requests then your nfsd daemons should be idle.

The nfskd daemon, as you probably already read, was a placeholder for implementing a threaded model for NFS/UDP that we never completed so it does nothing.

If you're running 11i v3 there is only a single nfsd daemon process running and all the UDP and TCP requests are serviced by threads owned by this process.

Regards,

Dave
Sagar Sirdesai
Trusted Contributor

Re: Need of the daemosn nfskd abd nfsktcpd

Hi Dave

Thanks for the information
So if I am using 11.11 and 11.23 then nfsktcpd daemon handles the NFS requests.
So there is need for only nfsd daemon which handles the TCP connections.

So Can I stopped the nfsd from running as this will reduce cpu utilisation.
Aryan
Advisor

Re: Need of the daemosn nfskd abd nfsktcpd

Hi Sagar,

nfsd daemons are responsible for handling the majority of all NFS server requests with the exception of MOUNT requests and file locking requests.

Special nfsd daemon is called as nfsktcpd.

These daemons must be running on a system for it to serve NFS filesystems.

May be this link will help you out more.
http://my.safaribooksonline.com/0130428167/ch04

Regards,
Aaryan
Dave Olker
HPE Pro

Re: Need of the daemosn nfskd abd nfsktcpd

Hi Sagar,

> So Can I stopped the nfsd from running as
> this will reduce cpu utilisation.

If your NFS server is not receiving any requests via UDP then why would the nfsd daemons be consuming CPU time? These daemons should be idle if there are no UDP requests.

Can you collect an "nfsstat -s" from the server and post it here?

Thanks,

Dave
Sagar Sirdesai
Trusted Contributor

Re: Need of the daemosn nfskd abd nfsktcpd

Thanks to all for the response

Sagar