Memory Reduction

Pete Ehlke pde at ehlke.net
Tue Aug 20 19:30:03 UTC 2002


On Tue, Aug 20, 2002 at 08:55:55PM +0000, Frank wrote:
> 
> Am Die, 2002-08-20 um 18.49 schrieb Pete Ehlke:
> > On Tue, Aug 20, 2002 at 08:37:42PM +0000, Frank wrote:
> > > 
> > > please how can i reduce the Memory allocation of a Bind 9.21
> > > caching-only Server reducing ?
> > > 
> > > 25459 named     15   0 37548  36M  1908 S     0,0 14,6   0:00 named
> > > 25460 named     15   0 37548  36M  1908 S     0,0 14,6   0:51 named
> > > 25461 named     15   0 37548  36M  1908 S     0,0 14,6   0:00 named
> > > 25462 named     15   0 37548  36M  1908 S     0,0 14,6   0:00 named
> > > 25457 named     16   0 37548  36M  1908 S     0,0 14,6   0:00 named
> > > 
> > > restarted, about 2 minutes. most it has much more memory in use.
> > > 
> > Looks like you're running linux. Remember that linux shows threads as
> > processes, so if you're adding all those memory totals together, you're
> > getting a figure that's five times as large as the real memory usage on
> > this machine.
> > 
> > For a caching server in use in a corporate environment, that's not all
> > that much memory usage. How much ram is in the machine?
> 
> 256MB
> 
> it swaps to ~60MB, but if i /etc/init.d/named restart the Swap Usage is
> only 5MB. I heard about djbdns, because for a cachning ONLY Server its
> me to much wastefulness.
> 

36 Mb on a 256 Mb machine is quite light for a resolver host. If it's
causing you to page (or even to swap), something else is eating an awful
lot of memory. What else do you have running on this machine?


More information about the bind-users mailing list