delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/11/05/18:04:41

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Subject: Re: 30 second startup delay on Cygwin programs from SYSTEM account
From: Robert Collins <robert DOT collins AT itdomain DOT com DOT au>
To: Scott Atwood <atwood AT CS DOT Stanford DOT EDU>
Cc: cygwin AT cygwin DOT com
In-Reply-To: <200111052236.OAA26238@Xenon.Stanford.EDU>
References: <200111052236 DOT OAA26238 AT Xenon DOT Stanford DOT EDU>
X-Mailer: Evolution/0.15 (Preview Release)
Date: 06 Nov 2001 10:05:32 +1100
Message-Id: <1005001533.533.0.camel@lifelesswks>
Mime-Version: 1.0
X-OriginalArrivalTime: 05 Nov 2001 23:11:40.0768 (UTC) FILETIME=[3A2ECE00:01C1664F]

On Tue, 2001-11-06 at 09:36, Scott Atwood wrote:
> Robert Collins writes:
> > On Fri, 2001-10-26 at 11:07, Scott Atwood wrote:
> > > I ran "strace bash" as user SYSTEM and here is an excerpt of the output.
> > > 
> > >  2949  226918 [main] bash 1428 internal_getlogin: GetUserName() = SYSTEM
> > > 30450200 30677118 [main] bash 1428 internal_getlogin: Domain: (null),
> > > Logon Server: CHARON, Windows Username: SYSTEM
> > > 
> > > The output paused for about 30 seconds after the first line printed, and
> > > before the second line printed.
> > 
> > Right, here's whats happening:
> > SYSTEM doesn't belong to any network groups - it's local only, but
> > Cygwin is trying to find out it's network data - such as the home
> > domain.
> > 
> > Cygwin spawned/forked/execed process's can inherit that data in the
> > cygwin heap IIRC. Which is why no delay is seen - it's been optimised
> > away. But there would be a 30 second delay firing up bash.
> > 
> > As for why the 30 second delay in the first place, what's your system
> > config:
> > Are you a member of a win2k AD or an NT4 domain?
> 
> No and no.
> 
> > Are you running NBT?
> 
> Yes.
> 
> > Are you running NTLM?
> 
> No.
> 
> > Are you running the Server process?
> 
> Yes.
> 
> > Are you running the workstation process?
> 
> Yes.
> 
>

Does the behaviour change if you start the NTLM helper process?

Rob


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019