Ok so here is the situation now.
Reason I find more multiple xinetd running on the system is,
1-xinetd fork itself to fulfil nrpe request.
2-then child process exits.
3-very rarely child is not able to exit properly.
4-yet according to normal procedure parent xinetd create a next child process.
Now the thing is
(out put from lsof)
Code:
etd 26133 root 0u IPv4 3333 TCP host-with-issue.mycompany.com:36421->ad.mycompany.com:ldap (ESTABLISHED)
xinetd 26133 root 1u IPv4 3333 TCP host-with-issue.mycompany.com:36424->ad.mycompany.com:ldap (ESTABLISHED)
xinetd 26133 root 5u IPv4 333 TCP *:nrpe (LISTEN)
xinetd 26133 root 6u IPv4 3333 TCP host-with-issue.mycompany.com->192.1.XX.XX:XXXX (CLOSE_WAIT)
xinetd 26133 root 7u unix 33333 50072649 socket
xinetd 26133 root 0u IPv4 333 TCP host-with-issue.mycompany.com:36421->ad.mycompany.com:ldap (CLOSE_WAIT)
xinetd 26133 root 1u IPv4 3333 TCP host-with-issue.mycompany.com:36424->ad.mycompany.com:ldap (CLOSE_WAIT)
for some reason xinetd go thround active Directory, and probably active directory acts up and xinetd gets hung.
1-Can we make xinetd not to go through active dir??