Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Apr 2006 11:02:37 +0100
From:      Ceri Davies <ceri@submonkey.net>
To:        Michael Bushkov <bushman@rsu.ru>
Cc:        freebsd-current@freebsd.org, Colin Percival <cperciva@freebsd.org>, freebsd-arch@freebsd.org
Subject:   Re: [HEADS UP] upcoming /etc/services updating
Message-ID:  <20060429100236.GJ51777@submonkey.net>
In-Reply-To: <001801c66b42$d48d4740$e8775050@jersey>
References:  <002401c66b0a$44c230e0$01655050@jersey> <44529510.6030704@freebsd.org> <20060428222627.GI51777@submonkey.net> <001801c66b42$d48d4740$e8775050@jersey>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)

iD8DBQFEUzm8ocfcwTS3JF8RAusXAJ41L7hyi+MxQKGd1Lx+330/sLT7XACgoOBE
PPT2KCnjKx1FkeNVfAZ480I=
=InY5
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060429100236.GJ51777>