Re: 'periodic daily' memory usage

2008-02-02 Thread Dag-Erling Smørgrav
Dag-Erling Smørgrav <[EMAIL PROTECTED]> writes: > Ulrich Spoerlein <[EMAIL PROTECTED]> writes: > > Since $MP might be empty (think NFS_ROOT or CD9660_ROOT) you'd still > > need the [ -n "$MP" ] check, AFAICS. > Correct, and thanks for noticing. ...although I ended up borrowing a trick commonly use

Re: 'periodic daily' memory usage

2008-02-02 Thread Dag-Erling Smørgrav
Ulrich Spoerlein <[EMAIL PROTECTED]> writes: > Since $MP might be empty (think NFS_ROOT or CD9660_ROOT) you'd still > need the [ -n "$MP" ] check, AFAICS. Correct, and thanks for noticing. DES -- Dag-Erling Smørgrav - [EMAIL PROTECTED] ___ freebsd-hack

Re: 'periodic daily' memory usage

2008-02-01 Thread Ulrich Spoerlein
On Sun, 27.01.2008 at 13:55:39 +0100, Dag-Erling Smørgrav wrote: > --- etc/periodic/security/100.chksetuid 23 Nov 2007 13:00:31 - > 1.9 > +++ etc/periodic/security/100.chksetuid 27 Jan 2008 12:54:38 - > @@ -43,22 +43,17 @@ > [Yy][Ee][Ss]) > echo "" > echo

Re: 'periodic daily' memory usage

2008-01-30 Thread Dag-Erling Smørgrav
Doug Barton <[EMAIL PROTECTED]> writes: > Doug Barton <[EMAIL PROTECTED]> writes: > > Why don't you post that diff? Sounds like a good idea to me. > Oh, duh. Never mind. :) :) Now that you've seen it, any objections to committing it? DES -- Dag-Erling Smørgrav - [EMAIL PROTECTED] __

Re: 'periodic daily' memory usage

2008-01-28 Thread Doug Barton
Doug Barton wrote: > Why don't you post that diff? Sounds like a good idea to me. Oh, duh. Never mind. :) -- This .signature sanitized for your protection ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/fre

Re: 'periodic daily' memory usage

2008-01-28 Thread Doug Barton
Dag-Erling Smørgrav wrote: > The solution I found that did work was to eliminate the loop over > $MP and use 'find -s $MP ...' instead, which eliminates the need > for sort. This reduces the memory requirement for 100.checksetuid > by, oh, 80% or so, and greatly simplifies the logic. Why don't yo

Re: 'periodic daily' memory usage

2008-01-28 Thread Dag-Erling Smørgrav
Bert JW Regeer <[EMAIL PROTECTED]> writes: > Dag-Erling Smørgrav <[EMAIL PROTECTED]> writes: > > 'periodic daily' runs my router out of swap every night, usually > > killing named as a result. > From your email it sounds like you run bind in just a caching > situation No, it is also a master for a

Re: 'periodic daily' memory usage

2008-01-27 Thread Dag-Erling Smørgrav
Mike Bristow <[EMAIL PROTECTED]> writes: > Dag-Erling Smørgrav <[EMAIL PROTECTED]> writes: > > An entirely different issue is why named uses so much memory... does > > anybody know of a way to specify how much memory named may use for its > > cache? > > Something like : > > options { >dire

Re: 'periodic daily' memory usage

2008-01-27 Thread Bert JW Regeer
On Jan 27, 2008, at 05:55 , Dag-Erling Smørgrav wrote: 'periodic daily' runs my router out of swap every night, usually killing named as a result. From your email it sounds like you run bind in just a caching situation, have you looked at alternatives yet? For example dnscache from DJB

Re: 'periodic daily' memory usage

2008-01-27 Thread Mike Bristow
Dag-Erling Smørgrav wrote: An entirely different issue is why named uses so much memory... does anybody know of a way to specify how much memory named may use for its cache? Something like : options { directory "/etc/namedb"; pid-file"/var/run/named/pid";