After running chef-client for a while my /var/cache/chef/checksums has
more than 200 K of files and chef-client fails
Can I remove these files?
After running chef-client for a while my /var/cache/chef/checksums has
more than 200 K of files and chef-client fails
Can I remove these files?
Ohai!
On Tue, Dec 7, 2010 at 8:44 AM, le.huy@ingdirect.es wrote:
After running chef-client for a while my /var/cache/chef/checksums has more
than 200 K of files and chef-client failsCan I remove these files?
Yes, it's completely safe, they're just there as an optimization, the
next chef run may need to re-checksum some files, but this isn't
really a big deal.
Chef 0.9.12 will clean these up automatically. As I mentioned in the
release announcement, the first time you run Chef after upgrading,
Chef can use a lot of CPU cleaning these out if you have that many, so
it's a good idea to remove them manually if you're concerned about the
impact on your production apps.
Also, be careful cleaning the checksums on Chef server: your cookbook
files are stored in a different directory also named "checksums" and
you don't want to delete those.
HTH,
Dan DeLeo
ATTENTION:
The information in this electronic mail message is private and
confidential, and only intended for the addressee. Should you
receive this message by mistake, you are hereby notified that
any disclosure, reproduction, distribution or use of this
message is strictly prohibited. Please inform the sender by
reply transmission and delete the message without copying or
opening it.
Messages and attachments are scanned for all viruses known.
If this message contains password-protected attachments, the
files have NOT been scanned for viruses by the ING mail domain.
Always scan attachments before opening them.