Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: Scott Atwood Message-Id: <200111052236.OAA26238@Xenon.Stanford.EDU> Subject: Re: 30 second startup delay on Cygwin programs from SYSTEM account To: robert DOT collins AT itdomain DOT com DOT au (Robert Collins) Date: Mon, 5 Nov 2001 14:36:06 -0800 (PST) Cc: atwood AT CS DOT Stanford DOT EDU (Scott Atwood), cygwin AT cygwin DOT com In-Reply-To: <1004399998.9189.250.camel@lifelesswks> from "Robert Collins" at Oct 30, 2001 10:59:56 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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. -- Scott Atwood atwood AT cs DOT stanford DOT edu PGP key fingerprint: 2852 FAE0 B0BB FE52 7002 1019 4D48 78B3 6FF0 A89F -- 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/