Clearing the Cache on the Linux server

We've seen many times that the server takes records from its cache which aren't the same as the real records or the globally updated records. In that scenario, we have to clear the cache on the server to get the new/updated records on the server.

NSCD (Name Service Cache Daemon) is a daemon that provides a cache for the most common name service requests.

To clear the cache, we need to restart the NSCD service as below :-

/etc/init.d/nscd restart

That's it. This will flush the records from the cache and will enable the server to look out for the new records on getting a query.

Sachin Friday 23 August 2013 - 6:04 pm | | Default
Used tags: , , ,

No comments

(optional field)
(optional field)

Comment moderation is enabled on this site. This means that your comment will not be visible until it has been approved by an editor.

Remember personal info?
Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.