I'm running OS X Server, with the File Sharing, Time Machine and VPN services enabled. The /Library/Server/ServerDocs directory is taking up huge amounts of space.

The <code>/Library/Server/ServerDocs</code> directory is taking up huge amounts of space.

What does this directory do? Can it be deleted safely?

On a side note, many other subfolders of /Library/Server/ are also pretty chunky, such as Calendar and Contacts, Wiki, ProfileManager, etc., even though those aren't service I've ever used on this Server.

  • Did you look inside the ServerDocs folder to see what is using the space? Similarly with the other folders? Apple quotes 10 GB of space needed for Server, with "additional space" needed for "some features", so 22 GB doesn't seem outside the realm of possibility to me. – tubedogg Jun 20 '15 at 20:22
  • Here's the directory listing of the ServerDocs (sorted by file size). The files have all sorts of types and obscure names. – Alexander - Reinstate Monica Jun 20 '15 at 21:00
  • At least one of those files is an application. To answer your original question, no, deleting files out of /Library is almost never a good idea, unless you are absolutely positive that the files are no longer needed (either due to a removed application or that they are transient cache files that an application can recreate). – tubedogg Jun 20 '15 at 21:07
  • SC2Mod files are StarCraft 2 mod files, according to the internet.There seems to be no association with that file extension outside of StarCraft. Do you play StarCraft? – tubedogg Jun 20 '15 at 21:10
  • Yes, I suspect those are some kind of backups, but I don't know why server would have them. – Alexander - Reinstate Monica Jun 20 '15 at 21:12

This is an index of the files stored in any file share point which has "iOS" turned on as a protocol. Disabling iOS sharing will prevent this folder from filling up, though I've yet to find the "by the book" way to clear this folder.

  • Interesting. Mine was nearly 100GB. Not sure anyone knows how to connect to our fileshares via iOS so turning that off on the shares, but so far it hasn't cleared the data. – fastasleep Jan 26 '17 at 4:08

You must log in to answer this question.

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