We too have struggled with the "nscd madness".
Guys(cPanel ones), enabling those kind of services "by default" while they weren't running is a really "crap deployment behaviour".
This service almost killed multiple hypervisors with bunch of cPanel-based VPS's.
Given the fact that the service is "monitored" by default and /etc/init.d/nscd stop is ineffective, please provide solution for:
- Disabling NSCD and disabling it from tailwatchd, with command line only tools
If anybody else needs to "fast disable" nscd on a hundred/thousands of servers, here is what I've done (until cPanel provide "good way of disabling it"):
Update: The right way to disable NSCD (suggested by cPanel support)
pkill -9 -f nscd
# This disables nscd in Tailwatchd
touch /etc/nscddisable ; /scripts/restartsrv nscd
# This disables nscd in init.d
chkconfig off nscd