Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Multi-Minute Startup?
- X-seq: zsh-users 13105
- From: "Aaron Davies" <aaron.davies@xxxxxxxxx>
- To: "Zsh Users" <zsh-users@xxxxxxxxxx>
- Subject: Re: Multi-Minute Startup?
- Date: Thu, 7 Aug 2008 15:20:05 +0800
- 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:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=3OliBMv6/ZjcJTe+oftiS1B1kJmO8qQMW5pmWqxToy4=; b=H5OIyJHXHsMblfpLv2cv4L4ftVaeJewiJTZGDQfb4l4r6kKCey2Yp/2F7XeaGLM3F7 6ly6CpBW/fvMBX84fSHNySvV/q20CwDylgMjucDQaLbjpvP7+2vYfd9zsvDywMOzmSkl S2ujhNondOL9H0FmMkQ9E2T5niIAB3JspGT3g=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=bkK62x+nfzqdK5NNw9IhprC305Bd5AfatI0/cW4a8aGC9WwHjKrgoPE60U3Or4tQJq ZNuzx+bIvm/n8mhEeT+DIJqOrzlyYAaebWvtLfBXFyUHbd+glTG/uUjU5aoMd8OuYIjy mbBwN4Y+1xLgdqLVGRbvyvrAwOiD7gp9J0Nws=
- In-reply-to: <alpine.LNX.1.10.0808070254580.26055@xxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <c4e763ac0808062357g44f7b75amf30db12fc1535409@xxxxxxxxxxxxxx> <alpine.LNX.1.10.0808070254580.26055@xxxxxxxxxxxxxxxxxxxxx>
On Thu, Aug 7, 2008 at 3:00 PM, Benjamin R. Haskell <zsh@xxxxxxxxxx> wrote:
> On Thu, 7 Aug 2008, Aaron Davies wrote:
>
>> It takes zsh multiple minutes (around 3) to start up on a new server I
>> just got access to. I have no custom .z* files at this point, so all that's
>> running should be the /etc files, of which only /etc/zshenv and /etc/zshrc
>> are actually present. Any ideas what's likely to be slowing me down so much?
>
> What O/S and architecture? (Not sure if it's relevant, but maybe Zsh doesn't
> run so fast on a 286.)
linux on some fairly new enterprise server hardware. i don't think
it's the machine's fault. :)
> Try running zsh -x -l
> -l makes it a login shell
> -x is to trace commands as they're executed
>
> Maybe that will reveal a particular command that's taking a long time to
> execute.
ah, looks like it's part of compaudit
+compaudit:84> IFS=: +compaudit:84> read GROUP _i_pw _i_gid GROUPMEM
is it trying to do something like read all users/groups from the
authentication system for completion? that might explain it, as our
directory server is 10,000 miles away. if that's the problem, is there
a way to get rid of it without having write access to the /etc/z*
files?
--
Aaron Davies
aaron.davies@xxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author