Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > macOS > "private" & "var" folders 3GB

"private" & "var" folders 3GB
Thread Tools
pyn
Dedicated MacNNer
Join Date: Oct 2004
Status: Offline
Reply With Quote
May 30, 2006, 01:52 PM
 
is this normal?? i've been looking at what's taking up all the space on my HD with whatsize, and i found out my "private" folder is 3GB and the "var" folder in it is 2.97GB... should they be this huge? the var folder has ~300MB files in it.. if i delete it will my computer die or something?
     
OreoCookie
Moderator
Join Date: May 2001
Location: Hilbert space
Status: Offline
Reply With Quote
May 30, 2006, 02:15 PM
 
You would have to reinstall your computer then. Don't delete anything from /private and /var (unless you know exactly what you are doing, of course). This is where MacOS X keeps its most basic system files.

So don't delete them.
I don't suffer from insanity, I enjoy every minute of it.
     
CatOne
Mac Elite
Join Date: Nov 2001
Status: Offline
Reply With Quote
May 30, 2006, 02:18 PM
 
Originally Posted by pyn
is this normal?? i've been looking at what's taking up all the space on my HD with whatsize, and i found out my "private" folder is 3GB and the "var" folder in it is 2.97GB... should they be this huge? the var folder has ~300MB files in it.. if i delete it will my computer die or something?
is it in /private/var/vm?

That's your swap space. How much RAM do you have in the machine?

And if you delete /var/vm when the system is running, she's gonna kernel panic.

Try rebooting and see what size the stuff is.
     
Thinine
Mac Elite
Join Date: Jul 2002
Status: Offline
Reply With Quote
May 30, 2006, 03:37 PM
 
Get an app called Disk Inventory X and see what it turns up. Aside from the obvious VM space, you may have a really huge log file or something.
     
analogika
Posting Junkie
Join Date: Feb 2005
Location: 888500128
Status: Offline
Reply With Quote
May 30, 2006, 04:50 PM
 
note: "vm" and "swap space" are referring to the virtual memory system.

When your regular RAM (memory) runs out (from running a number of applications or having large documents open), the computer will unload stuff onto the disk to make space in memory.

That can be several gigabytes.

Perfectly normal.
     
pyn  (op)
Dedicated MacNNer
Join Date: Oct 2004
Status: Offline
Reply With Quote
May 31, 2006, 12:01 PM
 
ah ok thanks
     
Gavin
Mac Elite
Join Date: Oct 2000
Location: Seattle
Status: Offline
Reply With Quote
Jun 4, 2006, 07:05 AM
 
Also, /var and /Private/var are the same folder

/var is an alias

I believe this is to make apple's Next style UNIX system, which tried to clean up the rambling file system with a handy Private folder, compatible with other UNIX style systems, which enjoy some good filesystem sprawl.

Anyway, if you type this in the terminal:
ls -lh /Private/var/vm

you should see your swap files listed and hopefully they will account for your disk usage.
You can take the dude out of So Cal, but you can't take the dude outta the dude, dude!
     
JHromadka
Mac Elite
Join Date: Feb 2001
Location: Houston, Texas
Status: Offline
Reply With Quote
Oct 11, 2006, 12:22 PM
 
I just had disk full issues on my server. 50GB was in /var/samba in an archived log file! I used Omni Disk Sweeper to find it.
     
   
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 10:43 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,