reinipbr

Q: OS X Server 5 disk is running full in a few hours

Since I upgraded my Mac Mini to El Capitain and Server 5 I have the problem that the disk (1 TB) is running full after a short while. I find large files in the Library/Server/ServerDocs/Date directory ending .eyetv. These files are about 25GB and they get more and more until the disk (1TB) is full. That takes a few hours.

I don't habe anything else installed on the server than OS X and the Server 5, Devonthink Pro Office and Printopia. I stopped Devonthink. After that didn't help I did a fresh install deleting the previous hard drive. The problem is still continuing. I don't have Elgato's EyeTV installed on the server. This program is running on another mac in my network. However I stopped it. But I think that has nothing to do with these files. The files have old creating and modifying dates which are not matching todays date.

I browsed the log files but I couldn't find a hint what process is generating these files. Before I was running OS X 10.10 and Server 4.x. without any problems.

 

The only strange thing I can discover are thousands of these log entries create by one of my Mac's in the network:

Oct  8 17:51:41  AppleFileServer[1126] <Info>: IP 1x.x.x.xxx - - "OpenFork add" 0 0 0

Oct  8 17:51:41  AppleFileServer[1126] <Info>: IP 1x.x.x.xxx - - "OpenFork 2f7" 0 0 0

Oct  8 17:51:41  AppleFileServer[1126] <Info>: IP 1x.x.x.xxx - - "OpenFork 9e3" 0 0 0

Oct  8 17:51:41  AppleFileServer[1126] <Info>: IP 1x.x.x.xxx - - "OpenFork b08" 0 0 0

Oct  8 17:51:41  AppleFileServer[1126] <Info>: IP 1x.x.x.xxx - - "OpenFork 2ee" 0 0 0

Oct  8 17:51:41  AppleFileServer[1126] <Info>: IP 1x.x.x.xxx - - "OpenFork b12" 0 0 0

Oct  8 17:51:41  AppleFileServer[1126] <Info>: IP 1x.x.x.xxx - - "OpenFork 2f5" 0 0 0

Oct  8 17:51:41  AppleFileServer[1126] <Info>: IP 1x.x.x.xxx - - "OpenFork 2fc" 0 0 0

Oct  8 17:51:41  AppleFileServer[1126] <Info>: IP 1x.x.x.xxx - - "OpenFork 9eb" 0 0 0

 

Any Idea?

Mac mini, OS X El Capitan (10.11), OS X Server 5

Posted on Oct 8, 2015 9:20 AM

Close

Q: OS X Server 5 disk is running full in a few hours

  • All replies
  • Helpful answers

Page 1 Next
  • by Linc Davis,

    Linc Davis Linc Davis Oct 8, 2015 11:46 AM in response to reinipbr
    Level 10 (208,000 points)
    Applications
    Oct 8, 2015 11:46 AM in response to reinipbr
    I stopped it.

    Remove it completely and see whether the problem goes away.

  • by ‹db›,

    ‹db› ‹db› Oct 8, 2015 12:03 PM in response to reinipbr
    Level 1 (5 points)
    Servers Enterprise
    Oct 8, 2015 12:03 PM in response to reinipbr

    Hmm... I don't see a /Library/Server/ServerDocs directory here, but then I'm still running Yosemite. I also don't have a ~/Library/Server directory. So I'm wondering where this "ServerDocs" directory came from.


    I have used EyeTV in the past, and know EyeTV recordings do use the .eyetv filename extension. So it seems like those files would be coming from EyeTV. Do you perhaps have EyeTV configured to store videos on a shared volume on the same machine as OS X Server?

  • by Reinhard Arnhold,

    Reinhard Arnhold Reinhard Arnhold Oct 8, 2015 12:31 PM in response to Linc Davis
    Level 1 (18 points)
    Servers Enterprise
    Oct 8, 2015 12:31 PM in response to Linc Davis

    I did a fresh install On a fresh formatted disk. No Eyetv on that server. I also stopped all other Mac's in my network. These files still growing until the disk is full.

  • by Linc Davis,

    Linc Davis Linc Davis Oct 8, 2015 1:01 PM in response to Reinhard Arnhold
    Level 10 (208,000 points)
    Applications
    Oct 8, 2015 1:01 PM in response to Reinhard Arnhold

    If you're the original poster in this thread, please sign in to ASC with the same ID you used before.

  • by philouz77,

    philouz77 philouz77 Oct 10, 2015 1:58 PM in response to reinipbr
    Level 1 (0 points)
    Oct 10, 2015 1:58 PM in response to reinipbr

    I've the same problem here. My server running on a Mac mini with a 128Go SSD, Full in few hours. The "serverdocs" folder is 105Go.

     

    I've strange files see pictures.

    serverdocs.png

  • by qiij,

    qiij qiij Oct 17, 2015 3:31 PM in response to philouz77
    Level 1 (0 points)
    Oct 17, 2015 3:31 PM in response to philouz77

    Hi there,

     

    i have exactly the same problem. I have updated my mac mini late 2012 to el capitan without any problems. Installed the new OSX Server 5.0. And Now the folder /Library/Server/ServerDocs/Data uses massive ammount of disk space until the system drive is full. It is going to spam my disk with useless trash. In my case 660GB Data. Mainly .plist files and some .png files. I think it is not a feature, it is a bug.

     

    My solution until now is to end the network sharing in the file server. If you have no shares present or you have disabled the filesharing service, the folder does not get full with this trash. Just disabling IOS sharing: no change. This does not function, the folder gets bigger and bigger every minute. Clean new install of System and server: no change.

     

    I am really pleased, if someone may give a hint or solution.

  • by James Bucanek,

    James Bucanek James Bucanek Oct 17, 2015 10:37 PM in response to qiij
    Level 1 (64 points)
    Apple TV
    Oct 17, 2015 10:37 PM in response to qiij

    I have not seen this problem, but when I have mysterious files being written I find the iosnoop tool can be useful in finding out who's writing them.

     

    sudo iosnoop -m /

     

    This command causes the isotope tool to report, in real time, every read, write, open, close, create, move and so on that occurs on the boot filesystem. It can be lot of data, but just let it run for a little bit and then press Control+C to stop the tool.

     

    Find a few records that refer to your mystery files; you can use the Find command in the Terminal window. On each line, iosnoop will report the name of the process that performed that operation. That's where the files are coming from. (Note that if the process turned out to be smbd, or something like that, then the culprit is probably a file sharing client.)

  • by qiij,

    qiij qiij Oct 19, 2015 3:42 AM in response to James Bucanek
    Level 1 (0 points)
    Oct 19, 2015 3:42 AM in response to James Bucanek

    Hi, Thanks for your answer. The writing process is "sdmd". May be i write an automator skript, which deletes the Folder Data every hour. So i can use the file sharing service. Or I use Samba SMB for sharing, like with OSX 10.9.

     

    Greetings,

  • by mbresink,

    mbresink mbresink Oct 19, 2015 6:38 AM in response to reinipbr
    Level 1 (25 points)
    Oct 19, 2015 6:38 AM in response to reinipbr

    As long as no other documentation is provided by Apple, the solution is to deactivate the "ServerDocs" feature by entering the command

     

    sudo serveradmin stop documents

     

    after each installation of an updated copy of OS X Server.

  • by A Bite of Apple,

    A Bite of Apple A Bite of Apple Nov 19, 2015 5:33 PM in response to reinipbr
    Level 1 (0 points)
    Nov 19, 2015 5:33 PM in response to reinipbr

    Folks,


    Need to add my voice to this thread with the same experience on OS X Server 5.015. Just like for others above, my Data folder in the ServerDocs is quickly filling up with mostly PNG files. However, in my case I'm recognizing them as converted jpgs of my own! They probably come from my Photos library somewhere on the Mac that's running the server. Really creepy!

     

    This must be coming from the same Mac because in the server's File Sharing settings it shows 0 connected users. Also, noticed that if I turn File Sharing off, the visibly ongoing addition of PNGs stops. If I turn it back on, with a little delay it resumes.The really weird thing is that I have the same version server running on two other Macs that I oversee and the Data folder remains totally empty!

     

    I tried running sudo iosnoop -m / as James above suggested, but Terminal says it can't run it as I don't have sudo permissions... Also weird, it's my admin account...

     

    This is really disturbing and we need to get to the bottom of this. Look forward to new thoughts, suggestions...

     

    Thanks!

  • by István Flesch,

    István Flesch István Flesch Nov 30, 2015 1:59 PM in response to A Bite of Apple
    Level 1 (95 points)
    Nov 30, 2015 1:59 PM in response to A Bite of Apple

    Update:

     

    Did some experimenting and seems like the unwanted files in the Data folder of ServerDocs begin accumulating as soon as "iOS" sharing is checked in the protocol section for each share. If even one of the shares has that on, accumulation will start. As soon as "iOS" is turned off for all shares, it stops. Having WebDav on or off makes no difference.

     

    Can someone please replicate this?

  • by dom_a2345,

    dom_a2345 dom_a2345 Dec 1, 2015 10:28 AM in response to István Flesch
    Level 1 (0 points)
    Dec 1, 2015 10:28 AM in response to István Flesch

    I have the same issue with thousands (100,853) png's being created in that folder. But the pictures aren't mine!!! They seem to be being pulled from archived file backups on another had drive on the computer.

     

    Can i delete them without affecting the integrity of the original files?

     

    Also how do they get there like the above I did have iOS sharing turned on?

     

    If it is because of iOS sharing I would assume it is making smaller quicker loading versions of all files being shared, but the is just a guess!

  • by reinipbr,

    reinipbr reinipbr Dec 1, 2015 11:53 PM in response to dom_a2345
    Level 1 (0 points)
    Dec 1, 2015 11:53 PM in response to dom_a2345

    ON my Server these are .eyetv files. with the following command you can stop it until next update of server app or reboot: sudo serveradmin stop documents

    Didnt try to turn of iOS file sharing but will try this as well.

  • by ~jonathan,

    ~jonathan ~jonathan Dec 3, 2015 5:37 PM in response to István Flesch
    Level 1 (5 points)
    Dec 3, 2015 5:37 PM in response to István Flesch

    Yes, you're right. If iOS sharing is enabled on a shared folder, the sdmd process will index files in that shared folder for sharing to iOS. Disabling iOS sharing on all shared folders will stop new files from being generated in this folder.

     

    Disabling iOS sharing on all shared folders has the same result as the solution mbresink suggested of running "sudo serveradmin stop documents". Stopping the service directly using the serveradmin command line tool will help, but only temporarily since the documents service will be restarted if and when modifications are made to shared folders in Server.app.


    You can confirm that the documents service is off by opening Terminal and running:


         sudo serveradmin status documents

     

    And verifying the returned state is "STOPPED".

Page 1 Next