Re: [HEADS UP] upcoming /etc/services updating

From: Ceri Davies <ceri_at_submonkey.net>
Date: Sat, 29 Apr 2006 11:02:37 +0100
On Sat, Apr 29, 2006 at 08:09:35AM +0400, Michael Bushkov wrote:
> Hi!
> 
> Colin Percival wrote:
> >>
> >>Now that searching through a large /etc/services file is no longer a
> >>performance bottleneck, I intend to merge most of IANA's port assignment
> >>list into our /etc/services some time in mid-May.
> >>
> >>If anyone objects to this, please let me know now.
> >
> >Would it be wise to wait until cached is enabled by default?
> 
> Yes - and caching for services should be turned on in nsswitch.conf by 
> default too.

Good point.

> I think, that "perform-actual-lookups" mode should also be enabled for 
> "services" by default in cached.conf - so that the cache for services 
> information would be the same for all users.

So "perform-actual-lookups" essentially creates a system-wide cache?

>  Besides, as services 
> information changes extremely rarely, I'd also suggest putting greater TTL 
> values for "services" in the cached.conf.

Yes, the services cache could always be flushed by the superuser after
changing the services data source.

Ceri
-- 
That must be wonderful!  I don't understand it at all.
                                                  -- Moliere

Received on Sat Apr 29 2006 - 08:02:41 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:55 UTC