syslogd暴走問題
Published by 小麥包 May 25th, 2008 in Geek, How-to, Mac OS.有不少人,一如小麥包般,發現升級到OS X 10.5.2後部機好慢,之後在Activity Monitor中發現,syslogd正在暴走,好似哥斯拉咁蠶食你系統的資源。但用Activity Monitor force quit syslogd,又制止唔到syslogd暴走。
呢個時候,要出動Terminal,然後打以下指令:
sudo launchctl unload /System/Library/LaunchDaemons/com.apple.syslogd.plist
入番你的Super user password,之後syslogd就會被關閉,你部腦會回復正常到你下次再boot機為止。
暫時syslogd暴走的原因眾說紛紜,有人話同QMaster有關,不過,看起來,都係要等OS X 10.5.3推出,去解決呢條臭蟲至得。

It is probably related to large log file (/var/log/asl.db) of syslogd accumulated.
From manpage of syslogd, this log file will archive in the archival database every 24 hours. (sleep doesn’t count.)
http://developer.apple.com/documentation/Darwin/Reference/ManPages/man1/syslog.1.html
The 100% usage will surface if you don’t switch off your computer regularly and you let it sleep instead of running 24-hours nonstop. (So it missed the daily maintenance script.)
It is not a good idea to let your computer running 24 hours a day. (for your electric bill and the earth sake) I think it is also not a good idea to switch off the syslogd. Try to clean up the log file regularly, it will help.
sudo syslog -p -k Time ge 1d
我呢度特別寫出來,當然唔係鼓勵人熄咗syslogd
呢度都有一啲討論
http://www.macosxhints.com/article.php?story=20071030233438149
但裝咗OS X 10.5.3後,問題就消失得無影無蹤。