Out of Memory Problem
puka
puka at pop.com.br
Mon Oct 28 01:27:22 UTC 2002
Hello All,
I am running a cache only resolver(bind 9.2.2rc1) on a HPUX 11.00 machine
with 256Mb memory(A400 server). The server is dedicated only to bind. Every
time that the cache size gets around 65Mb the server stop to resolv named,
but the named still running. The only thing that i notice on the logs is the
following message...
Oct 27 22:10:48 resolve1 named[8873]: Oct 27 22:10:48.937database: warning:
cache cleaner could not create iterator: out of memory
This is happening during the most busy hours of the day when the resolver is
getting about 500 reqs/sec. Is there any change that i am running out of
memory? How can I limit the cache size?
Attached are the top and the syslog messages.
Daniel
System: resolve1 Sun Oct 27 23:21:16
2002
Load averages: 0.04, 0.07, 0.09
31 processes: 29 sleeping, 2 running
Cpu states:
LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS
0.04 2.2% 0.0% 0.7% 97.1% 0.0% 0.0% 0.0% 0.0%
Memory: 67356K (66572K) real, 68636K (68044K) virtual, 6836K free Page# 1/3
TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND
? 8873 named 154 20 67208K 65540K sleep 54:52 2.20 2.19 named
? 28 root 152 20 0K 0K run 4:34 0.94 0.94 vxfsd
tty0p0 8960 root 158 20 572K 172K sleep 0:00 0.13 0.13 sh
tty0p0 25242 root 168 20 440K 288K run 0:00 0.26 0.08 top
? 0 root 127 20 0K 0K sleep 7:14 0.04 0.04 swapper
? 301 root 154 20 32K 40K sleep 9:59 0.04 0.04 syncer
? 2 root 128 20 0K 0K sleep 9:39 0.03 0.03 vhand
? 1 root 168 20 400K 188K sleep 0:00 0.02 0.02 init
? 3 root 128 20 0K 0K sleep 7:07 0.02 0.02
statdaemon
? 4 root 128 20 0K 0K sleep 0:32 0.02 0.02
unhashdaemo
? 8 root 100 20 0K 0K sleep 0:00 0.02 0.02 supsched
? 18 root 147 20 0K 0K sleep 0:01 0.02 0.02 lvmkd
Oct 27 01:10:02 resolve1 named[8873]: using 1 CPU
Oct 27 01:10:02 resolve1 named[8873]: loading configuration from
'/etc/named.con
f'
Oct 27 01:10:02 resolve1 named[8873]: listening on IPv4 interface lan0,
200.175.
5.139#53
Oct 27 01:10:02 resolve1 named[8873]: no source of entropy found
Oct 27 01:10:02 resolve1 named[8873]: Oct 27 01:10:02.737general: info: zone
0.0.127.in-addr.arpa/IN: loaded serial 001011701
Oct 27 01:10:02 resolve1 named[8873]: Oct 27 01:10:02.737general: info:
running
Oct 27 04:02:02 resolve1 named[8873]: Oct 27 04:02:02.379client: warning:
client 200.175.189.30#2178: error sending response: socket is not connected
Oct 27 09:41:33 resolve1 named[8873]: Oct 27 09:41:33.662client: warning:
client 200.175.147.246#3809: error sending response: socket is not connected
Oct 27 15:11:11 resolve1 named[8873]: Oct 27 15:11:11.718client: warning:
client 200.175.15.14#2011: error sending response: socket is not connected
Oct 27 22:10:48 resolve1 named[8873]: Oct 27 22:10:48.937database: warning:
cache cleaner could not create iterator: out of memory
Oct 27 22:10:48 resolve1 named[8873]: Oct 27 22:10:48.937general: error:
cache.c:590: unexpected error:
Oct 27 22:10:48 resolve1 named[8873]: Oct 27 22:10:48.937general: error:
cache cleaner: dns_dbiterator_first() failed: out of memory
Oct 27 22:21:26 resolve1 named[8873]: Oct 27 22:21:26.791general: info:
shutting down
Oct 27 22:10:48 resolve1 named[8873]: Oct 27 22:10:48.937general: error:
cache cleaner: dns_dbiterator_first() failed: out of memory
Oct 27 22:21:26 resolve1 named[8873]: Oct 27 22:21:26.791general: info:
shutting down
Oct 27 22:21:29 resolve1 named[8873]: Oct 27 22:21:29.462network: info: no
longer listening on 200.175.5.139#53
Oct 27 22:21:33 resolve1 named[8873]: Oct 27 22:21:33.727general: notice:
exiting
Oct 27 22:21:47 resolve1 named[25255]: starting BIND 9.2.2rc1 -c
/etc/named.conf -u named -t /usr/local/bind/
Oct 27 22:21:48 resolve1 named[25255]: using 1 CPU
Oct 27 22:21:48 resolve1 named[25255]: loading configuration from
'/etc/named.conf'
Oct 27 22:21:48 resolve1 named[25255]: listening on IPv4 interface lan0,
200.175.5.139#53
Oct 27 22:21:48 resolve1 named[25255]: no source of entropy found
Oct 27 22:21:48 resolve1 named[25255]: Oct 27 22:21:48.086general: info:
zone 0.0.127.in-addr.arpa/IN: loaded serial 2001011701
Oct 27 22:21:48 resolve1 named[25255]: Oct 27 22:21:48.086general: info:
running
More information about the bind-users
mailing list