lkml.org 
[lkml]   [2000]   [Oct]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: syslog() blocks on glibc 2.1.3 with kernel 2.2.x

> No, I didn't say they "should" be dropped but merely that dropping them
> would fix your problem. Personally, I'd look closely at your setup to
> determine exactly why this has become a problem. named is being blocked
> on writing to /dev/log. This should only happen if there is sufficient
> _local_ syslog traffic to fill the buffer or syslogd has too much remote
> traffic to ever read from /dev/log.
>
> Per chance are you running the name service caching daemon (nscd)? I'd
> also guess you aren't disabling fsync() for your sysylog files (it's part
> of the syslog.conf format) -- this is a conciderable drain on syslogd.

Agree. It is there for a reason : I case the system hangs, you at least
get the last messages. But it is indeed a major drain. I've send Patrick a
small path that makes reverse lookups a config option.

Please note that syslog does NOT resolve things it get's from the local
machine, it uses gethostname() for that name.

> --Ricky


Igmar

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:41    [W:0.040 / U:23.156 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site