Re: heavy named problems
From: Mark Sergeant (msergeant_at_snsonline.net)
Date: 05/31/05
- Previous message: Mark Andrews: "Re: heavy named problems"
- In reply to: Mark Andrews: "Re: heavy named problems"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 31 May 2005 16:50:06 +1000 To: Mark Andrews <Mark_Andrews@isc.org>
>>>> 31-May-2005 13:23:51.045 general: error: /usr/src/lib/bind/
>>>> dns/../../../contrib/bind9/lib/dns/adb.c:1439: unexpected error:
>>>> 31-May-2005 13:23:51.045 general: error: isc_mutex_init failed in
>>>> new_adbfind()
>>>> 31-May-2005 13:23:51.891 general: error: /usr/src/lib/bind/
>>>> dns/../../../contrib/bind9/lib/dns/adb.c:1439: unexpected error:
>>>> 31-May-2005 13:23:51.891 general: error: /usr/src/lib/bind/
>>>> dns/../../../contrib/bind9/lib/dns/adb.c:1439: unexpected error:
>>>> 31-May-2005 13:23:51.891 general: error: isc_mutex_init failed in
>>>> new_adbfind()
>>>>
>>>> I'm seeing this on both FreeBSD 5.4-p1 and -STABLE, either named
>>>> will
>>>> hang around the 100 - 250M memory mark with top output like ...
>>>>
>>>> last pid: 20483; load averages: 0.98, 0.67,
>>>> 0.44 up 4+03:26:18
>>>> 12:32:27
>>>> 34 processes: 2 running, 32 sleeping
>>>> CPU states: % user, % nice, % system, %
>>>> interrupt, % idle
>>>> Mem: 237M Active, 150M Inact, 119M Wired, 24K Cache, 214M Buf,
>>>> 1407M
>>>> Free
>>>> Swap: 4096M Total, 4096M Free
>>>>
>>>> PID USERNAME PRI NICE SIZE RES STATE C TIME
>>>> WCPU CPU
>>>> COMMAND
>>>> 19847 bind 20 0 232M 228M kserel 1 61:57 98.97%
>>>> 98.97% named
>>>>
>>>> As you can see plenty of memory free.
>>>>
>>>>
>>>> Or if I drop down the datasize and cache size then I get the above
>>>> crash. Any ideas anyone ?
>>>>
>>>>
>>>
>>> The only thing you should do with datasize is raise it.
>>> The option is there so that the process can get *more* than
>>> the default memory allocation.
>>>
>>> If you want to restict the amount of memory being used then
>>> max-cache-size is what should be set. Note for this to be
>>> effective it needs to trigger *before* named's memory usage
>>> hits the datasize limit.
>>>
>>> Lowering both datasize and max-cache-size is generally
>>> counter productive.
>>>
>>>
>>>>
>>>>
>>
>> True, but with none in place (I'd like it to use a gig or so if
>> possible for the cache), then the system "freezes" and needs to be
>> kill -9'ed and restarted, hence why I dropped the memory limits / put
>> them in place in the first place. Ideally I'd like this machine to
>> not crash at all since it's the primary cache. Have I run into some
>> obscure bug ?
>>
>
> Well FreeBSD defaults to a system wide maximum datasize of
> 512M (MAXDSIZ) and requires the kernel to be tuned to raise.
>
options MAXDSIZ="(1024*1024*1024)"
options DFLDSIZ="(1024*1024*1024)"
Already got them in the kernel. Still got issues though.
Mark
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
- Previous message: Mark Andrews: "Re: heavy named problems"
- In reply to: Mark Andrews: "Re: heavy named problems"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Re: laptop display (CORRECTION!)
... Mark Grievesonis reported to have said: ... I could not get a 2.6 kernel
to load over 2.6.8. ... I only have one HD but have found that I can boot the 770 without
one ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... (Debian-User) - Re: added RAM, RAM not recognized by debian
... additional gig of ram and debian doesn't seem to see it. ... Your kernel
probably is not configured to recognize more than 1GB. ... Ron Johnson, Jr. ...
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... (Debian-User) - Re: keyboard is stopping
... I myself would attempt a later kernel because that's where the action is ...
Mark ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
Trouble? ... (Debian-User) - List of boot parameters
... Where can I get a list of all kernel boot parameters for the new kernel. ...
MARK ... To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list ...
(Fedora) - Re: udp checksum on raw sockets
... Like I said, I'm willing to tackle this in the kernel, but for now I also ...
need a userland-only solution. ... Mark ... To unsubscribe, ...
(freebsd-net)