Nico Kadel-Garcia
2013-Mar-22 11:53 UTC
[Samba] Flushing wafcache when tweaking Samba builds
I notice that Sama builds with Samba 4.0.x now use WAFCACHE to store temporary files in the build process. Caching these files is fine, but what clears them out? I've been working in test environments where WAFCACHE was set to "/tmp/wafcache", such as building Fedora RPM's for testing, and eventually ran my filesystem out of inodes because nothing expires them. For now, I've left a cron job running to flush old files there, but does anyone have a better approach? Should the WAFCACHE be in inside the build tree, and flushed as part of "make clean"?
Andrew Bartlett
2013-Mar-26 21:55 UTC
[Samba] Flushing wafcache when tweaking Samba builds
On Fri, 2013-03-22 at 07:53 -0400, Nico Kadel-Garcia wrote:> I notice that Sama builds with Samba 4.0.x now use WAFCACHE to store > temporary files in the build process. Caching these files is fine, but > what clears them out? I've been working in test environments where > WAFCACHE was set to "/tmp/wafcache", such as building Fedora RPM's for > testing, and eventually ran my filesystem out of inodes because > nothing expires them. > > For now, I've left a cron job running to flush old files there, but > does anyone have a better approach? Should the WAFCACHE be in inside > the build tree, and flushed as part of "make clean"?The only waf cache I can find is in bin/.confcache. Have you set something manually? Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org