Mavericks private/var/folders keeps growing

Been having some issues with MacBook Airs with Mavericks installed.  The private/var/folders continues to grow in size over the course of 1-2 months consuming all the disk space which leads to the computer being unusable.  I've had to write a small script to go in and delete the folder from the machines or do it manually. 
I know this folder should be deleted automatically from the system.  Has anyone else seen or encountered this issue?
Thank you in advance

"/private/var/folders") is "per-user temporary files and caches". It is created and managed by Mac OS X.
The directory will be created if it does not already exist.
By default, files in this location may be cleaned (removed) by the system if they are not accessed in 3 days.
The cache will only be deleted with a safe boot and only files older then 3 days are cleaned out of temp. Either way, you can delete "/var/folders" and reboot whenever you would like without danger of ruining anything.
Lex

Similar Messages

  • / /System/Library/CoreServices/ReportCrash /usr/lib/libgenkit.dylib /usr/share/icu/icudt51l.dat /private/var/folders/_p/d1ckn47x4wsghc2vb1rk82vm0000gn/C/com.apple.LaunchServic es-044501.csstore /usr/lib/dyld /private/var/db/dyld/dyld_shared_cache_x86_64 /

    Ever since I upgrade to Maverick I keep getting this error. Any have an idea.  Its really messing up my computer.

    Hi,
    Your doing what and when this appears would be useful.
    It also looks like it has extra spaces dotted about in this copy of the info.
    There appear to be several spaces before some of the forward slashes that are not expected.
    On the other hand it could be several different lines of a report as when I look ReportCrash is an Executable item and cannot be opened further.
    / /System/Library/CoreServices/ReportCrash
    /usr/lib/libgenkit.dylib /usr/share/icu/icudt51l.dat
    /private/var/folders/_p/d1ckn47x4wsghc2vb1rk82vm0000/C/com.apple.LaunchServic es-044501.csstore
    /usr/lib/dyld /private/var/db/dyld/dyld_shared_cache_x86_64 /d
    Did it read like the above originally ?
    It would appear that Report Crash is triggered and it might have something do do with something in Launch Services but then again they might not be related other than an app reporting it is using those two things .
    8:40 pm      Saturday; May 3, 2014
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • I am getting the following error message when I try to import photos into iPhoto from my camera: "/private/var/folders/GB/GBl4wh8-ELqUVMI5dO-ryU   TI/-Tmp-/iPhoto/DSCF2033.JPG".  Have already tried removing and reinstalling iPhoto to no avail.

    I am getting the following error message when I try to import photos into iPhoto from my camera: "/private/var/folders/GB/GBl4wh8-ELqUVMI5dO-ryU   TI/-Tmp-/iPhoto/DSCF2033.JPG".  Have already tried removing and reinstalling iPhoto to no avail.

    Does this happen if you try to Import to Library within iPhoto, or is it when you connect your camera (and which is set to automatically use iPhoto) that this error message occurs?
    If you open Image Capture > Preferences is iPhoto selected as the choice when a camera is connected?

  • "Combine PDFs" Places New File In /private/var/folders/0Q etc. WHERE?

    I have just used Automator to combine .pdfs.
    Apparently it has put the combined file in ....
    /private/var/folders/0Q/0QlZ-reFFvSsYn6CVY8VXk+Ti/-Tmp-/ftqdhY.pdf
    So where on earth is that?
    I can summon up the new file by double-clicking it in the Automator "Results" window and save it somewhere convenient, but I would like to be able to drag the original from where it is hiding and put it in a place of my choosing.

    Thanks! The nearest I could find to your suggested action was "New Folder", which I didn't hold out much hope for, but it worked!
    Any idea how to access the weird place my original attempts were put into?

  • Accidentally deleted /private/var/folders

    Hi folks,
    yesterday I did something really stupid, I deleted recursively /private/var/folders
    But I was able to restore it from backup like follows:
    + mounted external drive (Backup with SuperDuper! on it)
    + created a tar ball from <backup>/private/var/folders (as root)
    + extracted tar ball in /private/var/ (as root)
    Now my questions...
    What is /private/var/folders used for?
    Because my backup was maybe two month old, any suggestions on the possible gap and changed data?
    Any chance that I lost some important data/metadata?
    Any useful help is highly appreciated.
    Kind regards
    Jens

    There should be a set of folders inside the /private/var/folders with cryptic names such as 90, LB, zz and so on. Each of the cryptically named folders has a sub-folder that begins with the same two characters, and continues with something even more cryptic, for instance
    /private/var/folders/90/90gu9daQFSitP4FD2179ck+TI
    And inside that folder are sub-folders for caches and two temp folders: a -Tmp- folder and a TemporaryItems folder. These ought to be empty when you first startup your computer. Many programs use them for storing stuff as they are working. The -Caches- folder has a similar function, except the data stays there thru a restart. If those files are removed no harm done, although some things may be a little slower until the cache for it is rebuilt.
    The problem that can happen is that the ownership and group of each of the really cryptically named folders (shown above) and the three sub-folders must be correct or you will run into some VERY strange problems with some programs that use those folders. In the case above, that is my main user's temporary and cache folder home. There will also be a folder for each user on the computer, and the others will belong to the system and to other "users" such as a proxy server, the Guest account, the printer demon (anyway I think that's what _lp is) and so on. The two-character parent folders (90 in the above example) should all be owned by system, group wheel. It's their sub-folders which must have owner and group correct.
    Francine
    Francine
    Schwieder

  • I updated to Maverick and now folders keep crashing?  don't know why

    My folders continues to go gray since upgrading to maverick 10.9.1.  Don't know why.  Can someone help me with this?

    How does info on a gray screen at startup help with folders going gray?

  • Trojan .exe and zip.000 showing up in /private/tmp and private/var/folders

    I continually have .exe files and zip.000 files showing up inside two folders on my iMac. My antivirus software (Trend Micro Smart Surfing for Mac) finds and quaranteens them daily. Usually it is about six a day. Today it found 18 or so. I am not worried about them themselves since they are a windows problem, but I can't seem to figure out where they are coming from. Is there a way to track these folders and find what is placing these files in there? Thanks for any help!
    OSX Lion 10.7.4

    Well, it's running somewhere on your Mac, see if any clues here...
    http://www.intego.com/mac-security-blog/
    http://www.zdnet.com/cross-platform-trojan-checks-your-os-attacks-windows-mac-li nux-7000000656/
    Disable Java in your Browser settings, not JavaScript.
    http://support.apple.com/kb/HT5241?viewlocale=en_US
    http://support.google.com/chrome/bin/answer.py?hl=en-GB&answer=142064
    http://support.mozilla.org/en-US/kb/How%20to%20turn%20off%20Java%20applets
    Flashback - Detect and remove the uprising Mac OS X Trojan...
    http://www.mac-and-i.net/2012/04/flashback-detect-and-remove-uprising.html
    In order to avoid detection, the installer will first look for the presence of some antivirus tools and other utilities that might be present on a power user's system, which according to F-Secure include the following:
    /Library/Little Snitch
    /Developer/Applications/Xcode.app/Contents/MacOS/Xcode
    /Applications/VirusBarrier X6.app
    /Applications/iAntiVirus/iAntiVirus.app
    /Applications/avast!.app
    /Applications/ClamXav.app
    /Applications/HTTPScoop.app
    /Applications/Packet Peeper.app
    If these tools are found, then the malware deletes itself in an attempt to prevent detection by those who have the means and capability to do so. Many malware programs use this behavior, as was seen in others such as the Tsunami malware bot.
    http://reviews.cnet.com/8301-13727_7-57410096-263/how-to-remove-the-flashback-ma lware-from-os-x/
    http://x704.net/bbs/viewtopic.php?f=8&t=5844&p=70660#p70660
    The most current flashback removal instructions are F-Secure's Trojan-Downloader:OSX/Flashback.K.
    https://www.securelist.com/en/blog/208193454/Flashfake_Removal_Tool_and_online_c hecking_site
    More bad news...
    https://www.securelist.com/en/blog/208193467/SabPub_Mac_OS_X_Backdoor_Java_Explo its_Targeted_Attacks_and_Possible_APT_link

  • /Mac HD/private/var/folders/hw/gblkb20s77bcj2wxv_pcm8f80000gp/T/decryptedFile.dmg

    This is showing up in Disk Utility.  I have no clue what it is or how to actually get to it.
    I'm not seeing any issues on my system, but this has never been there before.  Any help appreciated.
    Lloyd

    Link is good on my machine.  And no, it isn't a server.
    But I got to the file, mounted it and found out it was the Flash Player installation crap!  I deleted it since my flash player is up to date.  Who knows what the heck Adobe was doing stuffing that there.
    Thanks for the reply.

  • Private/vars/folder errors...

    I am having issues now publishing my site using rapid weaver. I am getting an error message that it could not create folder/private/vars/folders.... This morning when I restarted my computer I got a similar error that Dropbox couldn't start, similar error, stating its a permissions error. Any help would be apprecitated.

    I'd argue that it doesn't go far enough: generally, you don't want to have methods exposing the data either. Objects aren't supposed to exchange data, they're supposed to provide services for each other, operating on their own data.
    Of course in the real world, you have to exchange data sometimes. But you should try to avoid it.
    So I say, that order of decreasing preference:
    - Favor local variables over fields. Limit their scope within the methods as much as possible.
    - Keep all fields private.
    - Do not write methods that expose fields.
    - When you write methods that expose fields, favor package-private over protected, and favor protected over public.
    - When you write methods that expose fields, write getters but not setters.
    Those last two rules are a tie, IMO.
    This is a rule of thumb that I believe to be helpful in writing maintainable and more bug-resistant code.

  • Upgraded to Mavericks - System errors popping up in /private/var/tmp ... Help!!

    Hi there,
    Ever since I upgraded to Mavericks, and installed my standard software, I'm getting some odd behaviour.
    Every so often (no discernable pattern so far) my Finder pops up with a new window in /private/var/tmp.  There is a huge system stacktrace printed out in a file with the following format: "
    sysdiagnose_2013.10.30_19-53-16-MDT_9956.tar.gz
    There are a ton of files in there, so I have no idea how to figure out what is crashing and causing it. I get no "system crash message" to go along with it.
    $ la
    total 51592
    drwxr-x---  55 brandon  staff      1870 Nov  2 12:23 ./
    drwxrwxrwt  10 root     wheel       340 Nov  2 12:23 ../
    drwxr-xr-x@  4 brandon  staff       136 Oct 31 05:50 Brandons MacBook.mdsdiagnostic/
    drwxr-xr-x   7 brandon  staff       238 Nov  2 12:23 DiagnosticMessages/
    drwxr-xr-x  10 brandon  staff       340 Oct 31 05:50 SystemConfiguration/
    -rw-r--r--   1 brandon  staff       343 Oct 31 05:50 airport_info.txt
    -rw-r--r--   1 brandon  staff     24735 Oct 31 05:50 apsd-status.txt
    -rw-r--r--   1 brandon  staff      3623 Oct 31 05:50 bc_stats.txt
    -rw-r--r--   1 brandon  staff       838 Oct 31 05:50 bootstamps.txt
    drwxr-xr-x  29 brandon  staff       986 Nov  2 12:23 crashes_and_spins/
    -rw-r--r--   1 brandon  staff       888 Oct 31 05:50 dig-results.txt
    -rw-r--r--   1 brandon  staff       368 Oct 31 05:50 disks.txt
    -rw-r--r--   1 brandon  staff      5034 Oct 31 05:50 diskutil.txt
    -rw-r--r--   1 brandon  staff      1339 Oct 31 05:50 error_log.txt
    -rw-r--r--   1 brandon  staff    312320 Oct 31 05:50 footprint.fpdata
    -rw-r--r--   1 brandon  staff      6671 Oct 31 05:50 footprint.txt
    -rw-r--r--   1 brandon  staff   1635003 Oct 31 05:49 fs_usage.txt
    -rw-r--r--   1 brandon  staff     11583 Oct 31 05:50 fsck_hfs_user.log
    -rw-r--r--   1 brandon  staff     24176 Oct 30 23:45 fsck_hfs_var.log
    -rw-r--r--   1 brandon  staff      1112 Oct 31 05:50 gpt.txt
    -rw-r--r--   1 brandon  staff      2317 Oct 31 05:50 ifconfig.txt
    drwxr-xr-x   8 brandon  staff       272 Oct 31 05:50 ioreg/
    -rw-r--r--   1 brandon  staff       556 Oct 31 05:50 ipconfig.txt
    -rw-r--r--   1 brandon  staff     12945 Oct 31 05:50 kextstat.txt
    drwxr-xr-x  22 brandon  staff       748 Nov  2 12:23 logs/
    -rw-r--r--   1 brandon  staff     84574 Oct 31 05:50 lsappinfo.txt
    -rw-r--r--   1 brandon  staff   1003463 Oct 31 05:50 lsof.txt
    -rw-r--r--   1 brandon  staff    948932 Oct 31 05:50 lsregister.txt
    -rw-r--r--   1 brandon  staff   2603456 Oct 31 05:50 microstackshots
    -rw-r--r--   1 brandon  staff  12050663 Oct 31 05:50 microstackshots_lastday.txt
    -rw-r--r--   1 brandon  staff   1701106 Oct 31 05:50 microstackshots_lasthour.txt
    -rw-r--r--   1 brandon  staff    133219 Oct 31 05:50 microstackshots_lastminute.txt
    -rw-r--r--   1 brandon  staff       195 Oct 31 05:50 mount.txt
    drwxr-xr-x   8 brandon  staff       272 Oct 31 05:50 netstat/
    -rw-r--r--   1 brandon  staff         0 Oct 31 05:50 nfsstat.txt
    -rw-r--r--   1 brandon  staff     22642 Oct 31 05:50 odutil.txt
    -rw-r--r--   1 brandon  staff    189162 Oct 31 05:50 pmset_everything.txt
    -rw-r--r--   1 brandon  staff    119937 Oct 31 05:50 powermetrics.txt
    -rw-r--r--   1 brandon  staff     39115 Oct 31 05:49 ps.txt
    -rw-r--r--   1 brandon  staff    130781 Oct 31 05:49 ps_thread.txt
    -rw-r--r--   1 brandon  staff       143 Oct 31 05:50 reachability-info.txt
    -rw-r--r--   1 brandon  staff       305 Oct 31 05:11 resolv.conf
    -rw-r--r--   1 brandon  staff      1409 Oct 31 05:50 scutil.txt
    -rw-r--r--   1 brandon  staff      8942 Oct 31 05:49 smcDiagnose.txt
    -rw-r--r--   1 brandon  staff   3027018 Oct 31 05:49 spindump.txt
    -rw-r--r--   1 brandon  staff    514781 Oct 31 05:50 stackshot-last-sym.log
    -rw-r--r--   1 brandon  staff     31697 Oct 31 05:50 sysctl.txt
    -rw-r--r--   1 brandon  staff     31827 Oct 31 05:50 sysdiagnose.log
    -rw-r--r--   1 brandon  staff     64463 Oct 31 05:50 system_profiler.spx
    -rw-r--r--   1 brandon  staff    953612 Oct 31 05:49 taskinfo.txt
    -rw-r--r--   1 brandon  staff    395179 Oct 31 05:49 top.txt
    -rw-r--r--   1 brandon  staff       305 Oct 31 05:11 var_run_resolv.conf
    -rw-r--r--   1 brandon  staff     10930 Oct 31 05:49 vm_stat.txt
    -rw-r--r--   1 brandon  staff    169255 Oct 31 05:50 vmmap-38738.txt
    -rw-r--r--   1 brandon  staff     25105 Oct 31 05:50 zprint.txt
    Any help you could provide would be appreciated!

    When pressing Cmd-Opt-Ctrl-Shift-Period, 'sysdiagnose' is triggered. It takes a few minutes to complete. When ready, the output will automatically be revealed in a Finder window.

  • Equivalent location for /private/var/db/.TimeMachine.Results.plist in Mavericks

    Hi,
    In Mountain Lion, I used a shell script to let me know the completion date of the last backup:
    defaults read /private/var/db/.TimeMachine.Results BACKUP_COMPLETED_DATE
    Can someone kindly let me know what the equivalent might be in 10.9?
    Cheers.

    zukefresh wrote:
    Not a definitive answer, but I suspect that hidden file is no longer supported. All the status are recorded in /Library/Preferences/com.apple.TimeMachine now. You're looking for the SnapshotDates under Destinations.
    It's non-trivial to parse the "latest" date out of the plist, however.
    Thank's very much. This got me started on the right track. So, far I have this:
    /usr/libexec/PlistBuddy -c "Print Destinations:0:SnapshotDates" /Library/Preferences/com.apple.TimeMachine.plist
    which gives me oldest to latest:
    Array {
        Wed Mar 20 09:28:36 EST 2013
        Thu Mar 28 10:07:04 EST 2013
        Thu Apr 04 10:13:19 EST 2013
        Thu Apr 25 10:21:34 EST 2013
        Thu May 02 10:32:31 EST 2013
        Fri May 10 10:14:51 EST 2013
        Thu May 23 10:08:06 EST 2013
        Thu May 30 10:18:17 EST 2013
        Sun Jun 09 10:08:51 EST 2013
        Wed Jun 19 13:15:18 EST 2013
        Wed Jun 26 10:18:17 EST 2013
        Mon Jul 08 10:14:34 EST 2013
        Mon Jul 22 17:00:23 EST 2013
        Wed Jul 31 10:35:37 EST 2013
        Wed Aug 07 10:11:24 EST 2013
        Wed Aug 14 10:11:48 EST 2013
        Wed Aug 21 10:36:40 EST 2013
        Wed Aug 28 10:20:26 EST 2013
        Thu Sep 05 14:36:48 EST 2013
        Thu Sep 12 10:15:19 EST 2013
        Wed Sep 25 10:26:13 EST 2013
        Thu Sep 26 10:17:08 EST 2013
        Fri Sep 27 10:20:44 EST 2013
        Mon Sep 30 10:26:27 EST 2013
        Tue Oct 01 10:38:06 EST 2013
        Wed Oct 02 10:25:41 EST 2013
        Thu Oct 03 10:15:53 EST 2013
        Mon Oct 07 10:49:02 EST 2013
        Tue Oct 08 10:34:17 EST 2013
        Wed Oct 09 10:37:40 EST 2013
        Thu Oct 10 10:26:37 EST 2013
        Fri Oct 11 10:28:02 EST 2013
        Wed Oct 16 14:19:05 EST 2013
        Thu Oct 17 11:06:47 EST 2013
        Mon Oct 21 10:58:20 EST 2013
        Tue Oct 22 10:17:29 EST 2013
        Wed Oct 23 10:24:01 EST 2013
        Thu Oct 24 10:24:44 EST 2013
        Fri Oct 25 11:04:41 EST 2013
        Fri Oct 25 12:12:17 EST 2013

  • Hard Drive filling up: SubmitDiagInfo, /private/var & log issues

    This topic is part question, part help for people I've seen having a similar problem in other threads. My issue is different enough from the other issues, that I wanted to post it as a separate topic.
    I've had about 24GB of available space for weeks now. I haven't downloaded any large files recently, nor created any myself.
    Suddenly I noticed the hard drive space decreasing. I went from 24GB, to 19GB, to 10GB, then 8, 5, 1.5... next thing I knew, it said I had 260MB available. This was within maybe two days, with a big ramp-down within a couple of hours this morning, while I was on a train, and not even connected to a network.
    I started getting error messages saying my hard drive was full; then, I got errors saying I didn't have enough application memory, and applications were being paused, and I would have to force quit them. Within about 5 minutes, I dropped from 1.5GB to 260MB.
    Thinking back, the last week or so, I remembered that sometimes when I came into my office in the morning, my Mac would be awake (I usually sleep it at the end of the day, and an error message would be displayed saying SubmitDiagInfo had crashed. I thought this might have something to do with it.
    I did some detective work in these forums. I checked Activity Monitor and the Console. Sure enough, SubmitDiagInfo was taking up a bunch of CPU time.
    The Console revealed I had a lot of Diagnostic Logs. I tried deleting them with the Console's Clear button, but it didn't seem to do anything. I checked with OmniDiskSweep, and sure enough, I had over 20GB of log files.
    At this point, my hard drive was so full, I had to force quit OmniDiskSweep. I used the Go To Folder command and entered /private/var/log - The Diagnostic Logs folder was nearly 20GB. I deleted it and emptied the trash immediately.
    I looked at the /private/var/vm folder and noticed it was also very large (10GB), but I had read elsewhere not to mess with this folder.
    From the console, I quit SubmitDiagInfo.
    I check my hard drive, and I'm suddenly back to 24GB free space.
    When I look again at /private/var/vm, and sure enough it is 5GB smaller.
    This is weird stuff, and I hope this description helps anyone else having this problem.
    What's interesting is, because the /private folder is invisible, you can't use it to calculate your disk space usage. For example, the folders on my drive had the following space usage:
    62.46GB34.53GB+22.96GB+4.78GB4.02GB = 128.75GB (plus a few "small" folders with maybe 300MB)
    Since the drive showed 159GB total space available, I couldn't figure out where the other 30GB was.
    Once I found /private/log, I could see it had 19.29GB:
    62.4634.53+22.96+4.78+4.0219.29 = 148.04 - ah, this makes more sense, but I'm still missing 10GB! So, I look at /private/vm, and boom, there is the extra 10.6GB hiding. All 159GB present and accounted for.
    The question I have is, of course, can anyone explain why this is happening, so I can prevent it from happening again?
    I hope someone finds this helpful.

    Thanks... that is helpful. I have Carbon Copy Cloner, not
    Super Duper, so I will keep that solution in mind.
    Do not, repeat do not, clone your current suspect hard drive
    to your CCC backup. That would defeat the purpose of having
    a good backup. I don't know if you can boot from you CCC
    backup. That would be a good test. I was able to boot from
    my SuperDuper backup and notice normal hard drive space.
    In the meantime, I ran the extended system test, and the
    computer passed.
    Mine with the growing hard drive passed every test I had plus
    the test Apple recommended. They were quick place the blame
    on a Virtual Windows XP Pro. I do not thing that was the
    problem. My normal Macintosh HD is usually about 52 GB
    and it was showing 110 GB used and I never could figure out
    what was hogging the hard drive.
    Good luck!

  • A private var folder is taking up all of my startup disk space and I can't delete it.

    HI,
    My startup disk usage jumped to full quite unexpectedly. On running 'daisy disk' I can see that most of the space has been taken up with files marked as:
    Disks and folders/macintosh hd/private/var/vm followed by a whole lot of 'swap file' extensions (34.3 GB in total)
    and
    folders/macintosh hd/private/var/db
    What are these large files, and how do I delete them?  Daisy disk says that they are required by OsX- but they weren't there before-
    Alison

    Shutdown the computer. Wait 30 seconds then restart. See if anything has changed. The swap files should be deleted. The main reason you may have such large swap is because you are running out of memory from trying to run to many applications concurrently.
    Do not do anything with the /private/var/db file. The system needs that file.
    There are many things that can take up space on a hard drive:
    Freeing Up Space on The Hard Drive
      1. See Lion/Mountain Lion/Mavericks' Storage Display.
      2. You can remove data from your Home folder except for the /Home/Library/ folder.
      3. Visit The XLab FAQs and read the FAQ on freeing up space on your hard drive.
      4. Also see Freeing space on your Mac OS X startup disk.
      5. See Where did my Disk Space go?.
      6. See The Storage Display.
    You must Empty the Trash in order to recover the space they occupied on the hard drive.
    You should consider replacing the drive with a larger one. Check out OWC for drives, tutorials, and toolkits.
    Try using OmniDiskSweeper 1.8 or GrandPerspective to search your drive for large files and where they are located.

  • Accidentally removed var/folders  and Mac pro wouldn't boot.

    I accidentally typed rm -rf * inside var/folders. Then the computer started behaving erratically. I tried to reboot but then it doesn't go beyond the grey screen.
    I used the verbose option of the boot and it seems it gets stuck at the "waiting for DSMOS" step. Since I'm away from home and do not have my own DVD installer for the OS X, I used my friends' disk to see the problem with the Disk Utility tool. There seemed to be a problem and the utility repaired it. I tried rebooting the computer, but it still gets stuck at the same point.
    I have checked using the Terminal option (with the DVD Installer) that the data on my hard drive is still intact. Is there a way to get my system boot.
    Not an option:
    1. Using firmwire.
    2. Using backup/ system restore: There does not seem to be any time machine or system restore options.
    3. Using the original DVD Installer for OS X as I'm out of station.
    I can however buy a new DVD. Please help me boot my system. Thanks!

    My ArchiveUtility (the one that unzips zipped files) was throwing an error regarding some disk permission. I searched online and found the instruction to use rm -rf * inside the var/folders. Now with some hindsight, it was the singlemost stupid thing I could have done.
    A sidenote: I have logged in using the single-user mode. Is there a way to copy the var folder from this mode to the actual machine? I read there is an option of rewriting var with private/var using this mode in linux systems but not sure if there is a similar way for macs. Any thoughts? Thanks again for all the help!

  • Hello the private/var file on my 2008 iMac (OSX10.5.8) shows a whopping 65GB. Can that be normal? Can any of it be deleted?

    Trying to clear up disk space on iMac and discovered the "private/var" file is 65GB! Can this be right? Any way to delete any of this safely? Does this store systems logs, virtual memory? I'm no expert. Any help would be appreciated, thanks.
    I used Disk Inventory X app to make this discovery.

    Whatever you do stay out of system folders lest you completely corrupt OS X. There is nothing in those folders you need have anything to do with.
    If you need to delete files to clear up space, stick to your Home folder (except the Library folder.)

Maybe you are looking for