Package: bind9-host
Version: 1:9.7.3.dfsg-1+b1
Severity: normal

I wanted to lookup an IP address, but all I get is an error message

        socket.c:4170: isc_thread_create() failed
        host: isc_socketmgr_create: unexpected error


I first suspected dnsmasq being badly configured, but the same error gets
printed for 4 other DNS servers, too.


Looking with strace shows

[pid 22338] brk(0x7f746b240000)         = 0x7f746b240000
[pid 22340] futex(0x7f746a28207c, FUTEX_WAIT_PRIVATE, 1, NULL <unfinished ...>
[pid 22338] pipe([3, 4])                = 0
[pid 22338] fcntl(3, F_GETFL)           = 0 (flags O_RDONLY)
[pid 22338] fcntl(3, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
[pid 22338] epoll_create(64)            = 5
[pid 22338] epoll_ctl(5, EPOLL_CTL_ADD, 3, {EPOLLIN, {u32=3, u64=3}}) = 0
[pid 22338] mmap(NULL, 1024004096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = -1 ENOMEM (Cannot allocate
memory)
[pid 22338] write(2, "socket.c:4170: ", 15socket.c:4170: ) = 15
[pid 22338] write(2, "isc_thread_create() failed", 26isc_thread_create()
failed) = 26


My ulimits are

$ ulimit -aH
core file size          (blocks, -c) unlimited
data seg size           (kbytes, -d) 1700000
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 30032
max locked memory       (kbytes, -l) 64
max memory size         (kbytes, -m) 1700000
open files                      (-n) 4096
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 1200000
cpu time               (seconds, -t) unlimited
max user processes              (-u) 30032
virtual memory          (kbytes, -v) 2700000
file locks                      (-x) unlimited


Why is the mmap() of 1GB necessary here?



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages bind9-host depends on:
ii  libbind9-60        1:9.7.3.dfsg-1+b1     BIND9 Shared Library used by BIND
ii  libc6              2.13-16               Embedded GNU C Library: Shared lib
ii  libcap2            1:2.22-1              support for getting/setting POSIX.
ii  libcomerr2         1.42~WIP-2011-07-02-1 common error description library
ii  libdns69           1:9.7.3.dfsg-1+b1     DNS Shared Library used by BIND
ii  libgssapi-krb5-2   1.9.1+dfsg-1+b1       MIT Kerberos runtime libraries - k
ii  libisc62           1:9.7.3.dfsg-1+b1     ISC Shared Library used by BIND
ii  libisccfg62        1:9.7.3.dfsg-1+b1     Config File Handling Library used 
ii  libk5crypto3       1.9.1+dfsg-1+b1       MIT Kerberos runtime libraries - C
ii  libkrb5-3          1.9.1+dfsg-1+b1       MIT Kerberos runtime libraries
ii  liblwres60         1:9.7.3.dfsg-1+b1     Lightweight Resolver Library used 
ii  libssl1.0.0        1.0.0d-3              SSL shared libraries
ii  libxml2            2.7.8.dfsg-4          GNOME XML library

bind9-host recommends no packages.

bind9-host suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to