Messages in this thread |  | | Date | Thu, 26 Oct 2000 12:53:13 +0200 (CEST) | From | Igmar Palsenberg <> | Subject | Re: syslog() blocks on glibc 2.1.3 with kernel 2.2.x |
| |
> You obviously don't understand the communication channel being used. > "/dev/log" is a UNIX DOMAIN SOCKET -- AF_UNIX. Datagrams are unreliable > for _IP_ (AF_INET). Traffic on an AF_UNIX socket is always reliable. > > Ok, smarty, go change the syslogd source to open /dev/log as SOCK_STREAM > and watch it fail. (syslog wasn't invented yesturday.) > > I would suggest disabling name resolution for syslog, but that's an ugly > option. There's no way to stop a glibc system from doing a DNS query for > a reverse lookup. HOWEVER, you can set the DNS timeout to 1 second and > set the resolver options to prevent recursion (answer from cache only.)
Reverse isn't necessary on a central loghost. Saves at least one system call.
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/
|  |