Stuart Henderson <s...@spacehopper.org> writes: > On 2012-04-20, Kostas Zorbadelos <kzo...@otenet.gr> wrote: >>> Also, per process limits play a role. >>> >> >> Does named has such a limit by default? > > OpenBSD has a limit by default, see login.conf(5). Daemons started > when the system is booted or using /etc/rc.d scripts typically use > the class 'daemon'. >
I gathered that. However in login.conf: daemon:\ :ignorenologin:\ :datasize=infinity:\ ^^^^^^^^^^^^^^^^^^^^ :maxproc=infinity:\ :openfiles-cur=128:\ :stacksize-cur=8M:\ :localcipher=blowfish,8:\ :tc=default: Also ps(1) output seems to confirm that named process limit is the entire memory of the machine. root@openbsd: /var/named/tmp # ps -ax -v | head PID STAT TIME SL RE PAGEIN VSZ RSS LIM TSIZ %CPU %MEM COMMAND 31077 S 277:43.57 0 127 15 608272 610340 8145988 1292 10.6 7.3 /usr/sbin/named In any case, perhaps the load I give is not enough to have BIND expand its memory usage. In Linux however, under the same load the process size increases pretty well :) [root@linux data]# ps auxww | grep named named 19542 7.2 61.5 5184060 4958428 ? Ssl Apr18 243:54 /usr/sbin/named -u named -t /var/named/chroot Thanks, Kostas -- Kostas Zorbadelos twitter:@kzorbadelos http://gr.linkedin.com/in/kzorba ---------------------------------------------------------------------------- () www.asciiribbon.org - against HTML e-mail & proprietary attachments /\