Tuesday, September 20, 2011

Empty directories in SystemPageCache

Empty directories can grow under the SystemPageCache on the shared disk. This can contribute to unnecessary consumption of inodes in production where there is a high turnover of cached items. Cached pagelets are stored in subfolders under SystemPageCache, and when CS removes a pagelet the *.hdr, *.txt and *.qry files are deleted but the empty directories are not. These can be purged, preferably during a downtime.

E.g.;

find /path/to/SystemPageCache -type d -empty -depth -exec rmdir {} \;

No comments:

Post a Comment