Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Restricting size of named (DUnix 3.2D)
@ 1997-06-26  4:00 Craig Paul
  1997-06-26  4:00 ` John Hascall
  0 siblings, 1 reply; 6+ messages in thread
From: Craig Paul @ 1997-06-26  4:00 UTC (permalink / raw)



named maxes and stabilizes at 85 Meg. Is there some manner to restrict
it to a smaller size (say 35 Meg)?

Thanks!




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Restricting size of named (DUnix 3.2D)
  1997-06-26  4:00 Restricting size of named (DUnix 3.2D) Craig Paul
@ 1997-06-26  4:00 ` John Hascall
  1997-06-26  4:00   ` Robert Lowe
  0 siblings, 1 reply; 6+ messages in thread
From: John Hascall @ 1997-06-26  4:00 UTC (permalink / raw)



Craig Paul <paul@wren.cc.ukans.edu> wrote:
}named maxes and stabilizes at 85 Meg. Is there some manner to restrict
}it to a smaller size (say 35 Meg)?

  named is a packrat which caches every little bit of info
  that passes by :)  We restart ours every night.

John
-- 
John Hascall, Software Engr.        Shut up, be happy.  The conveniences you
ISU Computation Center              demanded are now mandatory. -Jello Biafra
mailto:john@iastate.edu
http://www.cc.iastate.edu/staff/systems/john/welcome.html  <-- the usual crud



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Restricting size of named (DUnix 3.2D)
  1997-06-26  4:00 ` John Hascall
@ 1997-06-26  4:00   ` Robert Lowe
  1997-06-26  4:00     ` Robert Lowe
  1997-06-27  4:00     ` John Hascall
  0 siblings, 2 replies; 6+ messages in thread
From: Robert Lowe @ 1997-06-26  4:00 UTC (permalink / raw)



John Hascall wrote:
> 
> Craig Paul <paul@wren.cc.ukans.edu> wrote:
> }named maxes and stabilizes at 85 Meg. Is there some manner to restrict
> }it to a smaller size (say 35 Meg)?
> 
>   named is a packrat which caches every little bit of info
>   that passes by :)  We restart ours every night.

Kinda defeats the purpose of a cache, eh?

There is a boot file directive that you can try, but read the BOG
for the details:

limit database 35m

-Robert



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Restricting size of named (DUnix 3.2D)
  1997-06-26  4:00   ` Robert Lowe
@ 1997-06-26  4:00     ` Robert Lowe
  1997-06-27  4:00       ` Charles M Richmond
  1997-06-27  4:00     ` John Hascall
  1 sibling, 1 reply; 6+ messages in thread
From: Robert Lowe @ 1997-06-26  4:00 UTC (permalink / raw)



Robert Lowe wrote:
> limit database 35m

Sorry, that should have read:

limit datasize 35m

-Robert



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Restricting size of named (DUnix 3.2D)
  1997-06-26  4:00   ` Robert Lowe
  1997-06-26  4:00     ` Robert Lowe
@ 1997-06-27  4:00     ` John Hascall
  1 sibling, 0 replies; 6+ messages in thread
From: John Hascall @ 1997-06-27  4:00 UTC (permalink / raw)



Robert Lowe  <Robert.H.Lowe@lawrence.no.spam.edu> wrote:
}John Hascall wrote:
}> Craig Paul <paul@wren.cc.ukans.edu> wrote:
}> }named maxes and stabilizes at 85 Meg. Is there some manner to restrict
}> }it to a smaller size (say 35 Meg)?

}>   named is a packrat which caches every little bit of info
}>   that passes by :)  We restart ours every night.

}Kinda defeats the purpose of a cache, eh?

    There are, in my opinion, a whole lot of people
    using ridiculously long TTLs anyway.

    The point of the cache is ti speed things up,
    if the machine is way over-committed on memory,
    that seems country productive.  Here are our
    3 named's (up just shy of 12 hrs now):

USER       PID %CPU %MEM   VSZ  RSS TT  S    STARTED         TIME COMMAND
root      9990  4.0 34.8 56.1M  55M ??  S    05:52:14    30:41.45 /etc/named
root      9880  1.0 33.6 54.3M  53M ??  S    05:48:42    14:03.22 /etc/named
root      2869  1.0 33.1 53.5M  52M ??  S    05:56:00     5:59.28 /etc/named

John
-- 
John Hascall, Software Engr.        Shut up, be happy.  The conveniences you
ISU Computation Center              demanded are now mandatory. -Jello Biafra
mailto:john@iastate.edu
http://www.cc.iastate.edu/staff/systems/john/welcome.html  <-- the usual crud



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Restricting size of named (DUnix 3.2D)
  1997-06-26  4:00     ` Robert Lowe
@ 1997-06-27  4:00       ` Charles M Richmond
  0 siblings, 0 replies; 6+ messages in thread
From: Charles M Richmond @ 1997-06-27  4:00 UTC (permalink / raw)



Robert Lowe wrote:
> 
> Robert Lowe wrote:
> > limit database 35m
> 
> Sorry, that should have read:
> 
> limit datasize 35m
> 
> -Robert

A cache 0f greater than a couple of meg seems pretty excessive to me.
Is there some reason that your machines are issuing more than an 
ordinary amount of queries? Are you being used as a relay by spammers
or are you the victim (again of spammers) of what I call 'broad 
spectrum dns flooding'?

root 258  0.0  1.0 2.52M 920K ?? I Jun 15 1:21.29 /sbin/named 

And the result of 'kill -INT 258'
# ls -l /usr/tmp/named_dump.db
-rw-r--r--  1 root  system  95561 Jun 27 06:32 /usr/tmp/named_dump.db



-- 
***********************************************************************
*  Charles Richmond    Integrated International Systems Corporation   *
*  cmr@iisc.com        cmr@koibito.iisc.com  cmr@shore.net            *
*  UNIX Internals, I18N, L10N, X, Realtime Imaging, and  Custom S/W   *
*  One Longfellow Place Suite 3309 , Boston , Ma. USA 02114-2431      *
*  (617) 723 7695    (617) 367 3151        FAX (617) 723 6861         *
***********************************************************************



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1997-06-27  4:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-06-26  4:00 Restricting size of named (DUnix 3.2D) Craig Paul
1997-06-26  4:00 ` John Hascall
1997-06-26  4:00   ` Robert Lowe
1997-06-26  4:00     ` Robert Lowe
1997-06-27  4:00       ` Charles M Richmond
1997-06-27  4:00     ` John Hascall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox