[pkg-ntp-maintainers] Bug#549919: Bug#549919: ntp: segv when using many interfaces (52)

Kurt Roeckx kurt at roeckx.be
Tue Oct 6 16:35:51 UTC 2009


On Tue, Oct 06, 2009 at 11:26:05AM +0100, peter neal wrote:
> Package: ntp
> Version: 1:4.2.4p4+dfsg-8lenny2
> Severity: important
> 
> 
> bigrig worker-1:~# wc -l /proc/net/dev
> 54 /proc/net/dev
> 
> when starting ntp, it fails to initialise, syslogs
> 
> Oct  6 11:17:11 worker-1 ntpd[26048]: socket(AF_INET6, SOCK_DGRAM, 0) failed on address 2001:470:921b:7839::17: Too many open files
> 
> Adding "ulimit -n 999999" to /etc/default/ntp gets past this issue, but ntp then segfaults:
> 
> bigrig worker-1:~# dmesg |tail -1
> [2631618.701806] ntpd[25998]: segfault at e75c48 ip 40b25f sp 7fff69b84d50 error 6 in ntpd[400000+6a000]

I think this is a known issue upstream with too many sockets.

Can you try an option like -L?  Or use "-I eth0"?  (You can add
several -I's if needed.)

> I have straces which I will attach.

You didn't attach it, but I also think this isn't needed.


Kurt






More information about the pkg-ntp-maintainers mailing list