failed: out of memory

Tim Krzywonos tim at krzywonos.ca
Thu Jul 17 23:45:15 UTC 2014


Have you tried an rndc flush?  You can also dump the contents of the 
cache to find the (approximate) size of the cache.  If related to cache, 
you can tweak parameters to cache, most namely max-cache-size.  IIRC, 
the cache doesn't have a size limit by default.

/Tim

---
Tim Krzywonos
e:: tim at krzywonos.ca

On 2014-07-17 10:39, schulz at adi.com wrote:
> We are running Bind on a Sun Sparc machine running Solairs 8. Bind is
> built as a 32 bit executable as that is the default and is the way
> libcrypto and libxml2 are built. We have been running Bind 9.9.5.
> I am now trying Bind 9.9.6b1 as that claims to have fixed some memory
> leaks.
>
> For some time now Bind has stopped being able to do recursive queries
> every couple of weeks and I have been just restarting it. I decided 
> to
> look into this and found it logging out of memory errors. This seems 
> to
> have started happening after I set up bind to sign our domain, 
> adi.com.
> The server is bluegill.adi.com. It is set up with 3 views. Two are 
> internal
> views and can do recursive queries. One is the external view and does
> not allow recursive queries.
>
> Since restarting named, this time Bind 9.9.6b1, I have been checking
> the memory usage every day. The usage in pages of 8192 bytes for the
> last 7 days are:
> 16,517  19,221  20,111  23,707  24,957  26,384  28,231  29,912
>
> Note that this shows no signs of settling down. I am looking into
> the possability of rebuilding Bind as a 64 bit executable as that
> should take much longer to run out of memory.
>
> A recient section of the log showing that the cleaner is running:
> Jul 17 10:24:44 bluegill named[9334]: [ID 873579 daemon.notice]
> acache 91e6a30 stats: hits=0 misses=6 queries=6 adds=6 deleted=5
> cleaned=5 cleaner_runs=140 overmem=0 overmem_nocreates=0 nomem=0
> Jul 17 10:24:44 bluegill named[9334]: [ID 873579 daemon.notice]
> acache 91e6a30 cleaning interval set to 3600.
> Jul 17 10:24:44 bluegill named[9334]: [ID 873579 daemon.notice]
> acache 933f990 stats: hits=3299 misses=79 queries=3378 adds=86 
> deleted=370
> cleaned=370 cleaner_runs=144 overmem=0 overmem_nocreates=0 nomem=0
> Jul 17 10:24:44 bluegill named[9334]: [ID 873579 daemon.notice]
> acache 933f990 cleaning interval set to 3600.
> Jul 17 10:24:46 bluegill named[9334]: [ID 873579 daemon.notice]
> acache 9166a20 stats: hits=76514 misses=4348 queries=80862 adds=4348
> deleted=3717 cleaned=3717 cleaner_runs=144 overmem=0 
> overmem_nocreates=0
> nomem=0
> Jul 17 10:24:46 bluegill named[9334]: [ID 873579 daemon.notice]
> acache 9166a20 cleaning interval set to 3600.
> Jul 17 10:29:51 bluegill named[9334]: [ID 873579 daemon.notice]
> clients-per-query decreased to 10
>
>
> Tom Schulz
> Applied Dynamics Intl.
> schulz at adi.com
> _______________________________________________
> Please visit https://lists.isc.org/mailman/listinfo/bind-users to
> unsubscribe from this list
>
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users



More information about the bind-users mailing list