Newsroom Update

Beginning in May, a special Today at Apple series titled “Made for Business” will offer small business owners and entrepreneurs free opportunities to learn how Apple products and services can support their growth and success. Learn more >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Why is this folder so large? 125 GB.

I run a lab and all of a sudden, my hard drive began filling up overnight. After some investigation I suspect Software Update is the culprit. I have turned it off now on the server and all student stations, but I still have a large folder at this location:


/private/var/db/swupd/html/content/downloads


The folder size is 125GB. I have run SW Update so everything is current. How do I get rid of this?



Also, in checking my server log, I see that ClamAV was trying to do a daily update. I never installed ClamAV. Does it come with some other program?

Mac Pro, Mac OS X (10.6.8)

Posted on Apr 18, 2012 10:30 PM

Reply
Question marked as Best reply

Posted on Apr 18, 2012 10:54 PM

Hi!

What you can do to clean your SoftwareUpdateServer (SUS) is:

Use these steps to remove the older updates:

1. Open Server Admin.

2. Stop the Software Update service.

3. Click the Settings tab.

4. The storage directory for your software updates is listed next to "Store updates in:". Locate this folder in the Finder.

5. Delete the folder named "html" inside it. You will need to use the sudo command or enter an administrator password in the Finder.

6. Start the Software Update service in Server Admin.

(taken from Article: HT5198, March 22th, 2012)


After restart SUS, your Server will download all the Updates again. The content of the folder of my server is around 50-60GB!


ClamAV is preinstalled with MacOSX Server. It is a virus-scanning software.


Peter.

7 replies
Question marked as Best reply

Apr 18, 2012 10:54 PM in response to PG music

Hi!

What you can do to clean your SoftwareUpdateServer (SUS) is:

Use these steps to remove the older updates:

1. Open Server Admin.

2. Stop the Software Update service.

3. Click the Settings tab.

4. The storage directory for your software updates is listed next to "Store updates in:". Locate this folder in the Finder.

5. Delete the folder named "html" inside it. You will need to use the sudo command or enter an administrator password in the Finder.

6. Start the Software Update service in Server Admin.

(taken from Article: HT5198, March 22th, 2012)


After restart SUS, your Server will download all the Updates again. The content of the folder of my server is around 50-60GB!


ClamAV is preinstalled with MacOSX Server. It is a virus-scanning software.


Peter.

Apr 19, 2012 9:11 PM in response to PG music

OK, maybe you want to reset your SUS?

Try this:

1. Verify it's not trying to do a sync by launching activity monitor and selecting all processes and type sync in the Filter field, nothing should be listed if it's not trying to update


2. Stop the SUS Service


3.Remove the following files from the server:

(In order to view the contents of hidden directories such as /etc, use the Go -> Go to Folder Menu Item in Finder.)


/etc/swupd/swupd.conf DO NOT DELETE

/etc/swupd/swupd.plist DO NOT DELETE

/etc/swupd/.last_run

/etc/swupd/.start_time

/etc/swupd/.sync_done

/etc/swupd/com.apple.server.swupdate.plist

/etc/swupd/com.apple.server.swupdate.plist.previous

The contents of /var/db/swupd/html ( DO NOT delete this folder, only the contents )


Alternative, if you prefer to use the Terminal:

sudo rm /etc/swupd/.last_run

sudo rm /etc/swupd/.start_time

sudo rm /etc/swupd/.sync_done

sudo rm /etc/swupd/com.apple.server.swupdate.plist

sudo rm /etc/swupd/com.apple.server.swupdate.plist.previous

sudo rm /etc/swupd/swupd.plist

sudo rm -R /var/db/swupd/html


4. Restart the server


5. Once the reboot has taken place, use ServerAdmin to re-configure and start the Software Update Service. Allow the server time to re-download the software updates (this could take anywhere from 3-30 hours depending on connection speed of the server). Wait until it is finished (watch the log!)


6. Test Client update against server.


Hope this helps,

Peter,

Why is this folder so large? 125 GB.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.