Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

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.

share|improve this question
add comment

1 Answer 1

up vote 2 down vote accepted

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.

share|improve this answer
    
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 at 19:51
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.