Results 1 to 9 of 9
  1. #1


    Member Since
    Feb 26, 2012
    Posts
    6
    Help - Log files filling up my hard drive!!
    I am running OS X 10.5.8 on my imac. Not too sure when the problem started but i noticed it a couple of weeks ago when I had a message indicating "my start-up disk was full". I did some digging and saw that my 300 GB hard drive was full. I do not have that many items on the system so I downloaded a "what size" program to check where the largest files were and found that there was 160GB in a /private/var/log/sys file.

    I did some more digging and found that this could be fixed by deleting these files in Terminal doing it this way:

    Restart log managers after removing asl data Open the Terminal application and enter the following two commands to stop the log managers:

    sudo launchctl stop com.apple.syslogd
    sudo launchctl stop com.apple.aslmanager

    Then create a folder on your desktop called "temp" (to store the moved "data store" files), and enter the following command in the Terminal to move the "ASL" data to the new temporary folder:

    sudo mv /var/log/asl/* ~/Desktop/temp/

    Finally, restart the "syslogd" process with the following command (the aslmanager will be started when needed by syslogd, so it doesnt need to be manually restarted):

    sudo launchctl start com.apple.syslogd

    This worked for about 100GB of the data; however the issue continues to re-occur and fills up the hard drive within a few days again.

    I have tried to go in and repeat the process above but now Terminal is giving me this message:
    Broadcast Message from _spotlight@jerry-bottis-imac-6.local
    (no tty) at 7:44 PST...

    Feb 26 07:44:24 jerry-bottis-imac-6 kernel[0]:

    over and over again.

    I need some help here folks - any ideas???

    Jerryb

  2. #2

    louishen's Avatar
    Member Since
    Oct 22, 2007
    Location
    London
    Posts
    8,968
    Specs:
    Mac Mini Core i7 2012 | White 2009 MacBook 2 Ghz | 733 Mhz G4 Quicksilver
    It would be simpler to use a program like Onyx to clear out lof files and do other maintenance tasks

    Titanium's Software • Home
    Member of the Month September 2008 & August 2012 | Found advice useful? use the rep system

  3. #3


    Member Since
    Feb 26, 2012
    Posts
    6
    Yes I should have mentioned that as well. I have used Onyx a few times, but to no avail.

  4. #4

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,782
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    Quote Originally Posted by jerryb View Post
    This worked for about 100GB of the data; however the issue continues to re-occur and fills up the hard drive within a few days again.
    This is your problem (not so much the logs themselves). Something keeps logging, creating this unnecessary collection of log files. What are the log files you're deleting for?
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  5. #5


    Member Since
    Dec 11, 2010
    Posts
    1,469
    Kinda like vansmith was saying:
    Have you used the Console Utility to read the logs to figure out what is actually causing log entries to be written?

  6. #6


    Member Since
    Feb 26, 2012
    Posts
    6
    Feb 27 17:41:59 jerry-bottis-imac-6 com.apple.launchd[1] (com.rim.BBDaemon[23130]): posix_spawn("/Library/Application Support/BlackBerry/BBDaemon", ...): No such file or directory
    Feb 27 17:41:59 jerry-bottis-imac-6 com.apple.launchd[1] (com.rim.BBDaemon[23130]):
    The console message reads a ton of what is listed below. Seems to be connected to my blackberry, but that was application was un-installed months ago. Maybe not?

    Exited with exit code: 1
    Feb 27 17:41:59 jerry-bottis-imac-6 com.apple.launchd[1] (com.rim.BBDaemon): Throttling respawn: Will start in 10 seconds
    Feb 27 17:42:06 jerry-bottis-imac-6 com.apple.launchd[129] (com.rim.BBLaunchAgent[23131]): posix_spawn("/Library/Application Support/BlackBerry/BBLaunchAgent.app", ...): No such file or directory
    Feb 27 17:42:06 jerry-bottis-imac-6 com.apple.launchd[129] (com.rim.BBLaunchAgent[23131]): Exited with exit code: 1
    Feb 27 17:42:06 jerry-bottis-imac-6 com.apple.launchd[129] (com.rim.BBLaunchAgent): Throttling respawn: Will start in 10 seconds
    Feb 27 17:42:09 jerry-bottis-imac-6 com.apple.launchd[1] (com.rim.BBDaemon[23132]): posix_spawn("/Library/Application Support/BlackBerry/BBDaemon", ...): No such file or directory
    Feb 27 17:42:09 jerry-bottis-imac-6 com.apple.launchd[1] (com.rim.BBDaemon[23132]): Exited with exit code: 1
    Feb 27 17:42:09 jerry-bottis-imac-6 com.apple.launchd[1] (com.rim.BBDaemon): Throttling respawn: Will start in 10 seconds

    When I look into the Private/var/log/sys folder, there is a ton of .asl files
    similar to this:
    2012.02.26.U0.G80.asl

    Not sure what they mean

  7. #7

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,782
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    You've got quite a few BlackBerry related errors there. I have to wonder how often the BB daemon is called.

    Is it the ASL logs that keep growing or the system logs?
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  8. #8

    XJ-linux's Avatar
    Member Since
    Jul 02, 2007
    Location
    Going Galt...
    Posts
    3,450
    Specs:
    MacBookAir5,2:10.9.5-MacMini3,1:10.9.5-iPhone6,1:8.4.1
    Looks like a broken installation of Blackberry software. It's trying to respawn things that don't exist on your system ie: there are apparently no files called:
    BBLaunchAgent.app
    com.rim.BBDaemon

    Either you removed the software without the uninstaller, and there are still remnants of the application trying to keep the agent alive, or your installation went south and didn't install all the way.

    If you want to fix it, you probably either need to reinstall the software to replace the needed file(s), or you need to reinstall the software and then use it's uninstaller to then remove all the components.

    Either way, you will likely want to restart the system after doing so to clear out the launchd process in RAM.

    Alternatively, you can try running from the terminal launchdctl and then type list to see what running around in there. From there you can disable or remove whatever is giving you headaches.

    Here's a man page to halp you out as well...

    https://developer.apple.com/library/...an/1/launchctl
    Never judge a man, untill you have walked a mile in his shoes...
    That way you'll be a mile away from him, and you'll have his shoes.

  9. #9


    Member Since
    Jan 22, 2010
    Location
    Victoria, BC
    Posts
    20,911
    Specs:
    Mid-2012 MBP (16GB, 1TB HD), Monoprice 24-inch second monitor, iPhone 5s 32GB, iPad Air 2 64GB
    The usual easy way to fix this is to REINSTALL the application in question and then *properly* uninstall it using the instructions provided by the maker. Programs that have to mess with the system (as a BB sync program would) can't just be dragged to the trash.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. can't stop hard drive filling up on quad G5
    By gazz2000 in forum Apple Desktops
    Replies: 5
    Last Post: 02-23-2011, 04:15 PM
  2. hard drive filling up for no discernible reason
    By Shark Trager in forum OS X - Operating System
    Replies: 9
    Last Post: 09-01-2009, 07:26 PM
  3. What do I do-I have no idea what's filling up my hard drive!
    By The Cadet in forum OS X - Operating System
    Replies: 9
    Last Post: 06-14-2009, 02:31 AM
  4. VMWare filling up hard drive!
    By ghsusaxa75 in forum OS X - Apps and Games
    Replies: 0
    Last Post: 05-13-2008, 07:56 AM
  5. Should I avoid filling my Hard-drive?
    By Jamesbtp in forum OS X - Operating System
    Replies: 2
    Last Post: 03-24-2008, 07:15 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •