9.2.0 cache cleaner: dns_dbiterator_first() failed: out of memory

Mark Andrews Mark_Andrews at isc.org
Wed Nov 15 04:14:48 UTC 2006


> Hello All,
> 
> -bind version : 9.2.0
> - HPUX B.11.00 U 9000/800
> - glance command output
>   Total VM :  44.9mb   Sys Mem  :  50.8mb   User Mem: 247.2mb   Phys
> Mem: 640.0mb
>   Active VM:  25.1mb   Buf Cache: 128.0mb   Free Mem: 213.9mb
> 
> - named error messages
> Nov 13 12:23:15.300 database: warning: cache cleaner could not create
> iterator: out of memory
> Nov 13 12:23:15.300 general: error:
> /ux/core/inet/src/bind.src/bind-9/bind-9.2.0/lib/dns/cache.c:590:
> unexpected error:
> Nov 13 12:23:15.300 general:s error: cache cleaner:
> dns_dbiterator_first() failed: out of memory
> 
> so, I putted in my named.conf
> 
>   datasize 128M
> 
> and i restarted named deamon but following message show
> - general: warning: set maximum data size to 134217728: invalid file
> 
> what can i do?


	According to the man page on B.11.11 setrlimit() can fail
	with EINVAL ( which maps to invalid file) for:

           [EINVAL]       An invalid resource was specified; or in a
                          setrlimit() call, the new rlim_cur exceeds the new
                          rlim_max.

           [EINVAL]       The limit specified cannot be lowered because
                          current usage is already higher than the limit.

           [EINVAL]       A user with appropriate privileges has attempted
                          to raise rlp->rlim_cur or rlp->rlim_max to a value
                          greater than the system is capable of supporting.

           [EINVAL]       The value of rlp->rlim_cur is less than the number
                          of file descriptors the process already has
                          allocated.

           [EINVAL]       The value of rlp->rlim_max is less than the
                          current soft limit.

	Now named sets both rlp->rlim_cur and rlp->rlim_max to the same
	value which leaves.

	   [EINVAL]       An invalid resource was specified;

	   [EINVAL]       The limit specified cannot be lowered because
                          current usage is already higher than the limit.

	   [EINVAL]       A user with appropriate privileges has attempted
                          to raise rlp->rlim_cur or rlp->rlim_max to a value
                          greater than the system is capable of supporting.

-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark_Andrews at isc.org



More information about the bind-users mailing list