Interesting results for getservbyname() performance (and possible changes for /etc/services)
Paul A Houle
ph18 at cornell.edu
Thu Jan 12 16:52:53 UTC 2006
Nils Philippsen wrote:
> nscd can't (or at least doesn't) take advantage of knowing about local
> file changes, it caches information for a certain time period and it
> doesn't seem to cache services, only passwd, group, hosts.
How often do you update /etc/services?
You can always clear the cache by kicking ncsd. If you're updating
/etc/services via an rpm, you can kick ncsd in the postinstall script.
More information about the fedora-devel-list