New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Operating System General OS operation information and support

Help - Log files filling up my hard drive!!


Post Reply New Thread Subscribe

 
Thread Tools
jerryb

 
Member Since: Feb 26, 2012
Posts: 6
jerryb is on a distinguished road

jerryb is offline
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
QUOTE Thanks
louishen

 
louishen's Avatar
 
Member Since: Oct 22, 2007
Location: London
Posts: 8,941
louishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant future
Mac Specs: Mac Mini Core i7 2012 | White 2009 MacBook 2 Ghz | 733 Mhz G4 Quicksilver

louishen is offline
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
QUOTE Thanks
jerryb

 
Member Since: Feb 26, 2012
Posts: 6
jerryb is on a distinguished road

jerryb is offline
Yes I should have mentioned that as well. I have used Onyx a few times, but to no avail.
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Toronto
Posts: 17,758
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is offline
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
QUOTE Thanks
gsahli

 
Member Since: Dec 11, 2010
Posts: 1,042
gsahli is a jewel in the roughgsahli is a jewel in the roughgsahli is a jewel in the rough

gsahli is online now
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?
QUOTE Thanks
jerryb

 
Member Since: Feb 26, 2012
Posts: 6
jerryb is on a distinguished road

jerryb is offline
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
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Toronto
Posts: 17,758
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is offline
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
QUOTE Thanks
XJ-linux

 
XJ-linux's Avatar
 
Member Since: Jul 02, 2007
Location: Going Galt...
Posts: 3,350
XJ-linux has a reputation beyond reputeXJ-linux has a reputation beyond reputeXJ-linux has a reputation beyond reputeXJ-linux has a reputation beyond reputeXJ-linux has a reputation beyond reputeXJ-linux has a reputation beyond reputeXJ-linux has a reputation beyond reputeXJ-linux has a reputation beyond reputeXJ-linux has a reputation beyond reputeXJ-linux has a reputation beyond reputeXJ-linux has a reputation beyond repute
Mac Specs: MacBookAir5,2:10.9.4-MacMini3,1:10.9.4-iPhone6,1:7.1.2

XJ-linux is offline
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

"Those who don't understand Unix are condemned to reinvent it, poorly." Henry Spencer
QUOTE Thanks
chas_m

 
chas_m's Avatar
 
Member Since: Jan 22, 2010
Location: Victoria, BC
Posts: 16,459
chas_m has a reputation beyond reputechas_m has a reputation beyond reputechas_m has a reputation beyond reputechas_m has a reputation beyond reputechas_m has a reputation beyond reputechas_m has a reputation beyond reputechas_m has a reputation beyond reputechas_m has a reputation beyond reputechas_m has a reputation beyond reputechas_m has a reputation beyond reputechas_m has a reputation beyond repute
Mac Specs: 2009 MBP, Black speakers, Black Benq second monitor, black(ish) iPhone 5s, Black 2012 iPad, etc.

chas_m is offline
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.
QUOTE Thanks

Post Reply New Thread Subscribe


« Lion | Can't drag or delete a file on my desktop »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting 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
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
1 Hard drive for OS and 1 Hard drive for files vs RAID 0? Macintosh95 Apple Desktops 1 01-20-2012 07:36 PM
Another MacBook Hard Drive Replacement Experience caribiner23 Apple Notebooks 29 11-24-2011 12:16 AM
Transferring files between a Mac and an external hard drive (NTFS) Moonister Apple Notebooks 3 10-12-2011 12:13 PM
new hard drive and OS, do not want to lose files... BOBrien OS X - Operating System 1 03-24-2009 05:47 PM
deleting files on external hard drive ryanmulqueen OS X - Operating System 3 05-04-2008 08:51 AM

All times are GMT -4. The time now is 09:20 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?