3

In Server Manager, you can set predefined limits for the caching server. Is it possible to set a custom limit? Maybe through Terminal? How do I do this?

I want to limit caching to 100GB but my options are 25GB or 270GB or 755GB or Unlimited.

1 Answer 1

2

Your options aren't limited to the numbers printed below the scroll bar. You can drag between the options to select a value closer to your desired value:


You can set custom values if you really want to though. The cache size is stored in the CacheLimit key in the configuration plist which is located by default here:

/Library/Server/Caching/Config/Config.plist
<key>CacheLimit</key>
<real>268586281855</real>

The integer is bytes.

1
  • I understand I can select values inbetween, however, I wanted to specifically state 250GB instead of 270 or 145GB. If I can enter my value manually that's all I needed to know how/where.
    – macuser76
    Apr 25, 2014 at 19:51

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .