in.named filling Solaris swap space (newbie)

Mark.Andrews at nominum.com Mark.Andrews at nominum.com
Wed May 16 01:51:27 UTC 2001


	Have you installed all the recommended patches on this machine?
	Sun had a memory leak in libresolv in one release that would cause
	in.named to to grow enormous.

	Mark

> Hi
> 
> I've had 'in.named' running on our Solaris box for a while (2mths) but
> yesterday it brought the box to its knees by taking 1900M+ of the 2G swap
> space (1G real). I tried a kill -HUP but in the end I had to shut it down
> and start it up again (I didn't dare stop/start it with the
> /etc/rc2.d/S72inetsvc script as I was worried that might drop my telnet ...)
> 
> Problem is that it's climbing inexorably up again. Checking the docs
> (O'Reilly networking bookshelf) all I can find are limits on the data
> segment, the stack size and the core size. It looks like I should set the
> datasize limit to something reasonable, but what is reasonable? I would have
> had a stab ('options { datasize 64M };' ?) but for a warning that says that
> too small a size and the name server may panic, exit or just not operate
> efficiently.
> 
> At the back of my mind is a feeling that our server is just caching far more
> info than we need. We send a lot of emails - people request Email Alerts on
> houses that come onto the market in their chosen area :
www.homepages.co.uk/subs.html - and I guess it's caching the names of these
> once resolved, but it could be that my server is just caching everything it
> can get its hands on. Our named.conf is a trivial one (straight out of the
> book) - the only 'options' we have name the zone file path and limit zone
> transfers to a set of IP addresses (our shadow), each zone just has 'type
> master; file "whatever";' and the '.' zone just has 'type hint; file
> "cache";'
> 
> Do I need to add 'datasize 64M;' to options or is there something else I
> should try first? Any suggestions gratefully received.
> 
> tom
> --------------------------------------------------------
> Tom Hartley                   020 8996 5102
> Technical Director          tom.hartley at homepages.co.uk
> Homepages Ltd              http://www.homepages.co.uk/
> 
> 
> 
--
Mark Andrews, Nominum Inc.
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at nominum.com


More information about the bind-users mailing list