StMarco

Q: Calendar Server maximum number of resources has been reached

Hello

 

we have a Mavericks server version 3.1.1 with Calendar sharing activated.

I imported the office calendar and shared it with 8 people, after that i could make a test appointment from all the work stations.

 

now one day later when i try to make an appointment from a shared station or the owner station i get the error

 

The event "test entry" was rejected by "Office calendar" because the maximum number of resources has been reached.

 

in the access log i get an error like:

 

::1 - name of the user [17/Apr/2014:11:04:05 +0200] "PUT /calendars/__uids__/B0DA6BCF-6F01-4346-8D36-17BB746E1DCD/b3e021ff-6ec9-4251-958 0-ad504ec06fb9/621920B7-180E-4E3E-8349-2A4DE4A4F322.ics HTTP/1.1" 403 127 "-" "Mac_OS_X/10.9.2 (13C64) CalendarAgent/176" i=0 or=1 t=32.2 cl=330 err=max-resources fwd=192.168.4.184

 

thanks for any help

 

Marco

Mac mini, OS X Mavericks (10.9.2), Server version 3.1.1

Posted on Apr 17, 2014 2:11 AM

Close

Q: Calendar Server maximum number of resources has been reached

  • All replies
  • Helpful answers

  • by Linc Davis,Solvedanswer

    Linc Davis Linc Davis Apr 17, 2014 10:53 AM in response to StMarco
    Level 10 (207,926 points)
    Applications
    Apr 17, 2014 10:53 AM in response to StMarco

    From the CalDAV source code, it seems that there's a maximum of 10,000 "resources" in a calendar or address book. A resource would be an event or contact. Any chance you exceeded that limit?

  • by StMarco,

    StMarco StMarco Apr 22, 2014 4:04 AM in response to Linc Davis
    Level 1 (4 points)
    Mac OS X
    Apr 22, 2014 4:04 AM in response to Linc Davis

    Thanx Linc,

     

    we imported a calendar that was started in 2005, so the 10000 could be the problem 10000/10years =1000/250 working days=max 4 items a day.

     

    what confused me was the fact i could make test appointments 'after' importing the calendar from different workstations, the error only appeared the day after. Probably the import was still going on while i was making the test appointments.

     

    We will now start new calendars every 2 years or so.

     

    Thanx again, your answers to other posts helped me in the past you are a real support to this community!

     

    Greetings

     

    Marco

  • by hjc2,

    hjc2 hjc2 May 9, 2014 4:16 PM in response to StMarco
    Level 1 (0 points)
    May 9, 2014 4:16 PM in response to StMarco

    You have to be kidding.  Just ran into the same problem under similar circumstances.  These Calendars are INTEGRAL in checking for potential conflicts of interest in my business. We need to be able to search many more then 10,000 resources. 10k  resources seems like an unsubstantial number for what I believed to be higher end server software for mac. Worked ok with 10.6.8 and busysync. We are really "trying" to upgrade but...   Help would be appreciated Apple. BTW what calender server is a big company like Apple using?

  • by Andre LaBranche1,Helpful

    Andre LaBranche1 Andre LaBranche1 May 12, 2014 11:54 AM in response to hjc2
    Level 1 (10 points)
    May 12, 2014 11:54 AM in response to hjc2

    Hi,

     

    The easiest way around this is to create an additional calendar, as the 10k limit applies per calendar.

     

    Also, this 10k limit is configurable in caldavd.plist - the config key is MaxResourcesPerCollection. In modern versions of Server.app, you can over-ride the default value and keep this change separate from the config file maintained by Server.app, by putting this change in caldavd-user.plist. This file doesn't exist by default, and would live in "/Library/Server/Calendar and Contacts/Config". If it exists, caldavd-user.plist is read after caldavd-system.plist. A sample is shown below:

     

    <?xml version="1.0" encoding="UTF-8"?>

    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

    <plist version="1.0">

    <dict>

              <key>MaxResourcesPerCollection</key>

              <integer>20000</integer>

    </dict>

    </plist>

     

    For older versions of server (that don't have caldavd-system.plist), you'd need to add

     

      <key>MaxResourcesPerCollection</key>

      <integer>20000</integer>

     

    into the existing caldavd.plist, anywhere inside the top-level dict.

     

    HTH,

    -dre

  • by StMarco,

    StMarco StMarco May 13, 2014 6:53 PM in response to Andre LaBranche1
    Level 1 (4 points)
    Mac OS X
    May 13, 2014 6:53 PM in response to Andre LaBranche1

    Hello Andre,

     

    I ended up not importing the whole old calendar and adviced the client we should start a new calendar every two years to make shure we did not reach that limit.

     

    Thanks, this is good info

     

    Marco