On Sat, 2006-05-20 at 22:40 +0200, Loic Dachary wrote:
> Hi,
>
> rsync://download.gna.org/ was hanging forever
>
> strace & lsof on syslog-ng in the lisa.gna.org chroot showed
> that it blocked forever on read on /proc/kmsg
>
> Because it was blocking on read, it could not answer the
> rsync connect request on /dev/log and caused rsync to hang forever
>
> I restarted syslog-ng and it fixed the problem
>
> I wonder if you can guess why syslog-ng is blocking ?
Itt was told to listen to those pseudo-files,
in /etc/syslog-ng/syslog-ng.conf:
source s_all {
unix-stream("/dev/log");
file("/proc/kmsg" log_prefix("kernel: "));
};
The problem is that we use chroots, and they all see the same kernel
ressources. Hence '/proc/kmsg' should be read by only one instance of
syslog-ng, which is not the case currently I believe (there is one per
chroot). I'm fixing this right now on Bart and Lisa.
_______________________________________________
Project mailing list
[email protected]
http://mail.gna.org:8080/listinfo/project