syslogd - technical brief

Go down

syslogd - technical brief

Post  alphonse on Sat Sep 27, 2008 6:16 am

Hey there,

some of us had the problem, that a process called syslogd is eating up all processor time. This makes Redline stuttering and lagging - no wonder when no cpu time is left.
You can see whether syslogd is hogging your cpu by opening "activity monitor" under "utilities" in the apps and sort the list of *all processes* by %.
If syslogd is at more than 10 percent, something is wrong, if it is at more than 95 percent, please read on.

IMPORTANT
I must refuse all responsability for your actions with your computer. the commands below influence the way your system is completing tasks, please use it at your own risk.


Syslog is logging events to your computer-log-files. nothing that special.
it writes events to log-files. the spec, given by apple, has some max-values per log-file used. they are at 5MB for /var/log/asl.db. if this file is much too large, just delete it and kill (or force kill) the syslogd in the activity monitor.

when it is behaving nice now, we are done.

if not... well, there is not a solution but a way to make the symptoms go away. Please do that only if you are experienced and now how to fix some things on your computer by yourself:
Deactivating syslogd: open the terminal, login as superuser (su /superuser/) and then "sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.syslogd.plist". Kill the process once in activity monitor and syslogd wont start again. You may restart now if you feel better.
Be sure to turn it back on issuing "sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.syslogd.plist" later on in order to have logs on what was going on on your computer.

In case this still doesn't help (which can't be but has been) issue a "sudo chmod 0 /usr/sbin/syslogd" and kill the process once in activity monitor. to revert it back, issue a "sudo chmod 555 /usr/sbin/syslogd" and you are back to where we started.

That's it, hope this helpes one or the other of you...

alphonse

_________________
i always wonder...
...what would macgyver do....?
avatar
alphonse
Moderator
Moderator

Number of posts : 449
Age : 46
Location : Berne, Switzerland
Interests : Hobbies:tennis in summer, curling in winter, and fooling around all the time...
Humor : from black to white (no racism in here)
Favorite Car : Porsche 968, Mini, some C2's, of course the Alfa TCC Wink
Favorite Track : Monaco GP, Imola, Spa
Registration date : 2008-08-28

View user profile

Back to top Go down

Re: syslogd - technical brief

Post  leoantix on Sun Sep 28, 2008 12:26 am

thanks for the post for the "stutters" alf

/me looks at slow and hugs his 10.4.11 Cool

_________________

life is under no obligation to give us what we expect ...

LEGACYOFLIES.COM TeamSpeak Viewer
avatar
leoantix
Administrator
Administrator

Number of posts : 657
Age : 40
Location : the rotten apple, nyc
Interests : construction, racing, women, quake
Humor : is purely optional
Favorite Car : sauber c9, radical sr4 & sr8
Favorite Track : lime rock, pembrey, monza
Registration date : 2008-08-27

View user profile http://www.legacyoflies.com/?p=home

Back to top Go down

Re: syslogd - technical brief

Post  Speeddemon on Sun Sep 28, 2008 8:05 am

leoantix wrote:/me looks at slow and hugs his 10.4.11 Cool
/me updates quickly to 10.5.5.
avatar
Speeddemon
Veteran
Veteran

Number of posts : 121
Location : Stuck between a parallel universe and a MOMO.
Interests : Redline, umm, let's see now, there's got to be another interest I have...
Favorite Car : Lola T300
Favorite Track : Safari Rally
Registration date : 2008-08-31

View user profile

Back to top Go down

A word from Giles

Post  JW Barto on Fri Oct 24, 2008 1:47 am

I was asked by Giles to chronicle the syslogd events that were happening to myself and others. Here is the email he sent back...

On 22 Oct 2008, at 20:55, JWB wrote:

You asked me to write to you about the 'syslogd' problem. I don't know if you have been following it so here is a little background...


Thanks for sending me that. Redline writes a lot of lines to the system log so it appears to be triggering the dread-syslogd-bug that has affected a lot of other Mac users.

I'll see if I can't cut down RL's usage of the system log in future.

In the meantime, doing this clears up the problem until the next time the DSB is triggered:

sudo launchctl stop com.apple.syslogd
sudo rm /var/log/asl.db
sudo launchctl start com.apple.syslogd

Yours,
-- Giles.
avatar
JW Barto
Addict
Addict

Number of posts : 54
Age : 46
Location : Massachusetts
Favorite Car : Cheetah
Favorite Track : Spa
Registration date : 2008-08-28

View user profile

Back to top Go down

Re: syslogd - technical brief

Post  Toad on Thu Dec 11, 2008 2:29 am

It may not help with syslogd but it might help you cope:

avatar
Toad
Veteran
Veteran

Number of posts : 184
Age : 57
Location : Left Coast United States of Amnesia
Interests : Nortons
Humor : What can be asserted without proof can be dismissed without proof.
Favorite Track : Mugello
Registration date : 2008-08-28

View user profile

Back to top Go down

See the problem?

Post  djpimley on Thu Dec 11, 2008 3:24 am

Toad wrote:It may not help with syslogd but it might help you cope:
"Ctrl-P. why won't it print?!"

"Hello, I've got a Macintosh computer..."

Apple-P. Oh Eddie...
avatar
djpimley
Veteran
Veteran

Number of posts : 691
Registration date : 2008-08-28

View user profile

Back to top Go down

Re: syslogd - technical brief

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum