syslogd got you down? Try this fix
So, I was having a serious issue this morning with my CPU on my MacBook running at around 120% for the first hour of work (actually this was happening last night while I was away from my computer too) and I was getting tired of my computer running slow as hell, and therefore I investigated.
Now, the reason why my processor was running so hot was because of a system process called syslogd. This process basically logs all sorts of cool stuff for our computer in the background, and shouldn't take up much processor usage, but here was where my problem began.
I did some searching around and found this thread in the Apple Support forums. It turns out I'm not the only one this is happening to. What appears to be happening is simply a pre-backup preparation for Time Machine that ends up erroring during logging and causes your CPU to go haywire. The problem here is that even after force quitting syslogd, the daemon opens up again and picks up where it left off, even after a restart of the machine.
Luckily enough, there is a fix for this. In the thread from the Apple Support forums, user 'fredrikhw' managed to find a somewhat simple way to fix this along with some help from this MacOSXHints.com post (yes, this did work for me).
How to fix a maniac syslogd:
(You will need admin access to perform this)
- Open System Preferences
- Click on Time Machine
- Turn Backups OFF
- Open Activity Monitor (Applications -> Utilities -> Activity Monitor)
- If you don't have it set already in Activity Monitor, above where it says 'Show', above, make sure All Processes is selected.
- Find syslogd and then click Quit Process (upper left corner of Activity Monitor)
- You'll be prompted for an admin password, and after you type one in and press OK, syslogd will be 'dead'
- Finally, open Terminal (Applications -> Utilities -> Terminal)
- When Terminal opens, type this (you can copy & paste this):
sudo launchctl unload /System/Library/LaunchDaemons/com.apple.syslogd.plist- This command turns system logging OFF
- Press enter, and you will, again, be prompted for an admin password. Type the password in and press enter and voila! all fixed!
- Edit (10:45AM): After searching a bit more online I came across this post in the MacRumors.com forums and in case you want to turn logging back ON (which you may want to do to in case you have any other system-based problems) by typing this command:
sudo launchctl load /System/Library/LaunchDaemons/com.apple.syslogd.plis- Also, as mentioned in that forum post, you may want to check your system.log file located in /var/log/ as it may be taking up some extraneous space (mine is 31.5MB, but in the forum post the poster's system.log was 500MB)
- To navigate to this file, open a new Finder window and press Command (the Apple button) + G and type
/var/log/
and press Enter. Scroll down to the system.log file and press Command + I to get the info on the file and check it's size. Now I'm no expert, but if it's over 500MB, I would trash it IF you need the space. I can't guarantee this won't cause any problems if you delete this file, so proceed with caution.
- To navigate to this file, open a new Finder window and press Command (the Apple button) + G and type
- Also, as mentioned in that forum post, you may want to check your system.log file located in /var/log/ as it may be taking up some extraneous space (mine is 31.5MB, but in the forum post the poster's system.log was 500MB)
Now, I have only just done this today and I'm not 100% sure on if this is a permanent fix and I don't know if this means I need to have Time Machine OFF from now on or not, or if it simply needs to be off for when syslogd is getting killed or whatever, but for now, I know that syslogd is no longer effing up my computer and I can be happy about that.
Daily Links (10/31/07)
Oh snap! It's Halloween! What are/did you dress up as? Well, I'm dressed as Ness. The end. I win. Here's your links:
Teeny Tiny, Itsy Bitsy Linux box via Digg
The US sucks at media because... via Digg
Linux punches Windows passwords in the face via Digg
NOO!!! Leopard isn't Perfect! The Firewall! THE FIREWALL!!!! via Digg
Lifehacker's Top 10 Free Video rippers, encoders, and converters via Lifehacker
Daily Links (10/29/07)
What a weekend. Leopard and more Leopard... here's some cool links (I'm going include stuff from this weekend just because):
USB Blender... not that awesome web show, but a blender that plugs in to your USB port via Engadget
Leopard + your PC = friends via Gizmodo
20 Apps that rule; for your Mac via Lifehacker
---Mind you, I would have chosen a few alternatives, but I can talk about that some other time
Guitar Hero III unboxing/peace creation via Engadget
Make your own stages in Super Smash Bros. Brawl via Digg
Amazing new (and official) iPod Touch ad made by a student via Digg
Instant Jailbreak for your iPod touch, all through Safari via TUAW and Digg
Adium and video chat preview via TUAW
More to come later...
Leopard; likes and dislikes
So, as I go along this week I'm going to update this post with my likes and dislikes of Leopard. Here's my initial list:
Likes:
1. The look of the default Mac Installer program
2. Stacks
3. The amazingly smartness of Spaces
4. Being able to see/modify Expose.app, Front Row.app, and a bunch of those previously hidden applications from my Applications folder.
5. Stacks
6. The fact that all of my applications (so far) work flawlessly
7. The new icons for my network drives and for my Time Machine drive
8. Tons of minor, yet noticable changes in the OS throughout the Finder
9. Menubar transparency.
10. How easy it is to run Time Machine... seriously, it's so easy.
11. Stacks
12. My MacBook runs SUPER cool.
Dislikes:
1. After installing the Adobe CS3 suite that my .torrent files didn't initially open in Transmission, but intstead in Opera which was hidden inside of Adobe bridge (not necessarily Leopard, but I thought I would let you in on that weird deal)
2. Not being able to unmount my external drives because they are in use (I did turn off Time Machine, don't worry. It has to be something other than that.
3. First app not to work for me: MagiCal. Kind of pissed...
As I said, I'll add more as more comes (and as I have more free time and less homework.)
-Mike
