Caching Server Cache Size
The Caching Service in OS X Sever is great – turn it on, and it largely works just fine. However, I host the cache itself on a Drobo. The Drobo appears as a 16TB volume on the system, so Server.app thinks it’s just a wonderful idea to give me Cache Size slider graduations of 30GB, 1TB, 2TB, etc. That’s not helpful.
Luckily, Apple haven’t obfuscated the configuration for this at all, and I’m not being sarcastic for once. Just go to:
/Library/Sever/Caching/Config/Config.plist
You’ll find the CacheLimit key right there at the top, with an integer value in bytes. Turn off Caching Server, edit, turn Caching Server back on again. Lovely.
Okay, so the slider shows the wrong value, but the Usage area gets it right. Now why couldn’t they have just put a box in the UI? Ah, because this is Server.app, not Server Admin.app.
My sarcasm is creeping back!