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

peter neal doabackflip at gmail.com
Tue Oct 6 10:26:05 UTC 2009


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 have straces which I will attach.


-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/16 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages ntp depends on:
ii  adduser                 3.110            add and remove users and groups
ii  libc6                   2.7-18           GNU C Library: Shared libraries
ii  libcap1                 1:1.10-14        support for getting/setting POSIX.
ii  libedit2                2.11~20080614-1  BSD editline and history libraries
ii  libncurses5             5.7+20081213-1   shared libraries for terminal hand
ii  libssl0.9.8             0.9.8g-15+lenny5 SSL shared libraries
ii  lsb-base                3.2-20           Linux Standard Base 3.2 init scrip
ii  netbase                 4.34             Basic TCP/IP networking system

Versions of packages ntp recommends:
ii  perl                     5.10.0-19lenny2 Larry Wall's Practical Extraction 

Versions of packages ntp suggests:
pn  ntp-doc                       <none>     (no description available)

-- no debconf information





More information about the pkg-ntp-maintainers mailing list