Size issues with /var/folders/

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Size issues with /var/folders/

The Mac OS X Server Mailing List mailing list
Hi guys

Has this issue been solved in Yosemite?

We have OS X server running for a school with a few hundred users, each time a new user is created using either WGM or Server App, a cache folder is created in /var/folders/. The problem is with the size of /var/folders/*/*/C/com.apple.IconServices being 500mb+ per user with a limited boot space, creating multiple new users proves to be a major problem.

Their are work arounds but they are less than productive or elegant.

Kris


OS X 10.9.4
Server 3.1.2
Xserve 2009

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      ([hidden email])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/macos-x-server/lists%2Bs10970n2h62%40n7.nabble.com

This email sent to [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Size issues with /var/folders/

The Mac OS X Server Mailing List mailing list
No real solution, but I found a work-around for this bug just recently in our dual-boot labs by using Radmind. Our users are supposed to be wiped at logout for security reasons. With /var/folders not getting purged, we were running in to the same disappearing space issues. One of the most heavily used machines actually became unbootable because the hard drive filled up.

Basically, I put a fresh copy of our image on a machine, and noted which folders in /var/folders were there before any network users logged in. Those are the folders you want to keep, unless you like watching your icons disappear off the dock and in open windows while you watch…. Ask me how I know this...

If you have only network users, you may be able to setup a script+cron job to wipe /var/folders/ and copy the critical user folders back once a day or once a week, just to keep things cleared out.

For Radmind users it's a pretty easy fix:

In radmind, I had to modify my negative.T file to comment out /var/folders/ (this was included by default), then create a new transcript file with only the three necessary folders in /var/folders. I was able to deploy this at logout, so it was pretty nonintrusive to my users, other than a slightly longer logout time than usual. No more disappearing hard drive space!


Jennifer Nieland
Lab Manager
College of Design Computer Labs
Iowa State University
433 Design
4-7332



On Jan 30, 2015, at 5:25 AM, OS X Server Mail List wrote:

Hi guys

Has this issue been solved in Yosemite?

We have OS X server running for a school with a few hundred users, each time a new user is created using either WGM or Server App, a cache folder is created in /var/folders/. The problem is with the size of /var/folders/*/*/C/com.apple.IconServices being 500mb+ per user with a limited boot space, creating multiple new users proves to be a major problem.

Their are work arounds but they are less than productive or elegant.

Kris


OS X 10.9.4
Server 3.1.2
Xserve 2009

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      ([hidden email]<mailto:[hidden email]>)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/macos-x-server/nielandj%40iastate.edu

This email sent to [hidden email]


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      ([hidden email])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/macos-x-server/lists%2Bs10970n2h62%40n7.nabble.com

This email sent to [hidden email]