Bind 9.3.0 on FreeBSD 5.3 exits with signal 11

Dirk Janssen djanssen at
Wed Jan 19 20:30:53 UTC 2005


I've got a problem with Bind9.3.0 under the following circumstances:

- Server: Sun Fire V65x, 2 x Xeon 2,8Ghz (Running with Hyperthreading), 2 GB=
- OS: FreeBSD 5.3-STABLE, interface configured with two IPs
- 2 completly seperated instances of Bind 9.3.0 compiled from source,=
  with uid bind and each listening on a different ip
- I've compiled bind with the following options:
  --prefix=3D/usr/local/bind9/bind9-res1 \
  --exec-prefix=3D/usr/local/bind9/bind9-res1 \

The Server is one of our caching-only-nameservers (serves only 3 zones and=
recursion otherwise) for our customers (in use for just about 3 days) and=
instance of bind processes about 500-1000 queries/s.
Everything works fine so far, but there is one major problem: 
The instances of named exit with signal 11 and coredump approximately every=
14-18 hours always at times when the cache of each named has grown about 550=
and the queries are at their peak (max. 1000 queries/s). What I've done so=
is to limit the max-cache-size to 500 mb and modify 
recursive-clients/tcp-clients but without any effort. 
Here are the relevant parts of the options-statement:

options {
        listen-on {; };
        listen-on-v6 { none; };
        directory "/usr/local/bind9/bind9-res1";
        pid-file "";
        allow-query { known_hosts; !any; };
        allow-transfer { trusted; !any; };
        blackhole { block; };
        notify no;
        recursive-clients 5000;
        tcp-clients 500;
        querylog no;
        max-cache-size 500M;

Another thing that I've encountered with this version of bind is that if the=
cache has grown approximately every hour each instance of bind comsumes=
95% CPU for a short period (estimated 1-2 minutes) which produces a high=
 load on 
the server. During this time named answers only a limited number of queries=
(around 100-200 queries/s), the others probably will timeout.

Has anybody an idea to solve this issue? Any help or hints would be=

Kind Regards,


More information about the bind-users mailing list