Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Multi-Minute Startup?
- X-seq: zsh-users 13124
- From: "Aaron Davies" <aaron.davies@xxxxxxxxx>
- To: "Benjamin R. Haskell" <zsh@xxxxxxxxxx>
- Subject: Re: Multi-Minute Startup?
- Date: Mon, 11 Aug 2008 17:48:55 +0800
- Cc: "Zsh Users" <zsh-users@xxxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=ZZHMWFBZmzFzDtHY9txXXt42JolwWrx8aqL6eUmShbE=; b=Nr6RBcjKYMDJs0jKwaKxU8ottnlIE07usO+ADMUe4V2w7FhEvhuWcHadp+ObjCf6AZ Y/kYHvQ5YTQGRtkhATinxyamEDQIXB9BPYO5Z3TaUCuaSUmrlaO4zk1Ha4OQo3pnXXno IER907TCzllssM9nqYdU65D6jgQxljnhmc5ug=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=vC+XwBaq/cBwfecp+VDWdp2vu/+Vfrg2LLZKqXEWY7xwU7U2Hk2xeXn06xHqrdja5i dMLmN130EV5vJRXb0r1b0ngrgFkwc26j6b+L/96tbcBQgoiDoEFliK2Xts37UoAfljtm qotxS17Lh39gDHbKnkoKOMcWRkYCX9R1sRPfg=
- In-reply-to: <alpine.LNX.1.10.0808081201180.26055@xxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <c4e763ac0808062357g44f7b75amf30db12fc1535409@xxxxxxxxxxxxxx> <alpine.LNX.1.10.0808070254580.26055@xxxxxxxxxxxxxxxxxxxxx> <c4e763ac0808070020r595f3b64u38eeefbc37bc85b6@xxxxxxxxxxxxxx> <alpine.LNX.1.10.0808070327310.26055@xxxxxxxxxxxxxxxxxxxxx> <c4e763ac0808070152k2846913dn4b637fe9ea275ef2@xxxxxxxxxxxxxx> <alpine.LNX.1.10.0808070509320.26055@xxxxxxxxxxxxxxxxxxxxx> <c4e763ac0808071832j6f7393fay158c7a2485ca41c9@xxxxxxxxxxxxxx> <20080808025823.GB68181@xxxxxxxxxxxxxxxx> <c4e763ac0808072340l398c5209o1cd6ccd77ec08a7f@xxxxxxxxxxxxxx> <alpine.LNX.1.10.0808081201180.26055@xxxxxxxxxxxxxxxxxxxxx>
On Sat, Aug 9, 2008 at 12:03 AM, Benjamin R. Haskell <zsh@xxxxxxxxxx> wrote:
> On Fri, 8 Aug 2008, Aaron Davies wrote:
>
>> On Fri, Aug 8, 2008 at 10:58 AM, Dan Nelson <dnelson@xxxxxxxxxxxxxxx>
>> wrote:
>>>
>>> In the last episode (Aug 08), Aaron Davies said:
>>>>
>>>> FWIW, "getent group" returns 773 lines and takes about 3.5 minutes to
>>>> run.
>>>
>>> If it takes that long to return only 773 lines, you should probably
>>> turn on nscd, or if it's already on, crank up the cache size and TTL.
>>
>> hmm, i don't see any sign that ncsd's even installed, let alone running.
>>
>
> Maybe just a typo in your email, but it's:
>
> nscd == Name Service Caching Daemon
>
> not ncsd (== National Cyber Security Division [part of Homeland Security!])
d'oh
ok, it is running, and it looks like it should be doing something.
> egrep passwd\|group /etc/nscd.conf
# Currently supported cache names (services): passwd, group, hosts
enable-cache passwd yes
positive-time-to-live passwd 600
negative-time-to-live passwd 20
suggested-size passwd 211
check-files passwd yes
persistent passwd yes
shared passwd yes
enable-cache group yes
positive-time-to-live group 3600
negative-time-to-live group 60
suggested-size group 211
check-files group yes
persistent group yes
shared group yes
how would you suggest i modify these?
there are about 700 users and 800 groups in the getent results.
--
Aaron Davies
aaron.davies@xxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author