delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; q=dns; s= | |
default; b=ZvbPESeOmSJRwAMBBM9Ukn3BLMjWVrBRQNFRn9MHaFQnr+2mIhc+q | |
lyoxenLDcl81ffa1ZritIO/TU7fjpaJ2mrUQeZD+m36HqfaukHl4ozpYd+rGm0cU | |
8l0SlbbfbPM53dRYdb+QqbiaSygtA/4EpwTL5sroYozvGmfXN/2BiE= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; s=default; | |
bh=G7HXk0weW3o2D/msIwXmfeL4O4A=; b=uuFpRA+juE2TqRUXbxwRoQByo2TO | |
ZodsXeZZls6cRhzXkcKPxYsW6U57t/11E/WBhRhOAkll4S9z/DLPx7+CqaujavIA | |
8OH0sZC5UfNR97PXpVnyKahaTLNEnYMbe+QRV8BcTXCL/GoYuPuQLMFwwqbz86n+ | |
44G4aWLrCLRxPvw= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Authentication-Results: | sourceware.org; auth=none |
X-Spam-SWARE-Status: | No, score=-100.9 required=5.0 tests=BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=NLM, ncbi, NCBI, nih |
X-HELO: | mout.kundenserver.de |
Date: | Thu, 14 Feb 2019 14:29:53 +0100 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Problem with cygserver (LookupAccountSid()) -- interlocking with its clients |
Message-ID: | <20190214132953.GE30859@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <BL0PR0901MB3236E13F2452747D5F659579A5660 AT BL0PR0901MB3236 DOT namprd09 DOT prod DOT outlook DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <BL0PR0901MB3236E13F2452747D5F659579A5660@BL0PR0901MB3236.namprd09.prod.outlook.com> |
User-Agent: | Mutt/1.10.1 (2018-07-13) |
--KlAEzMkarCnErv5Q Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Feb 13 20:35, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin wrote: > Hi all, >=20 > We're having the following problem (on a subset(*) of Windows-10 > machines) with running cygserver. >=20 > Started afresh, strace shows no activity in it, but should I execute a > command (ipcs in the example below), then cygserver begins to > experience freezes like these: >=20 > 5295758 62716455 [unknown (0x2110)] cygserver 7248 > pwdgrp::fetch_account_from_windows: > LookupAccountSid(S-1-5-5-0-89379457), Win32 error 1332 ~5 secs, give or take. I have no idea why this call should take that long. The problem here is that you can't know if that call is really taking this long or any other action in between. In fact, The result of LookupAccountSid here is fully expected. > Look at the times, they are ginormous! We also seem to have no idea > what the shown SID is! It looks very random, and changes when > cygserver gets restarted. S-1-5-5-0-89379457 is a logon SID, a unique per-user-session SID part of the user token. Nothing weird, nothing random. This SID usually only shows up inside the token so only a process calling getgroups would see that. In id(1) it shows up as gid 4095, "CurrentSession". When doing IPC stuff, cygserver impersonates the client and checks all groups in the impersonation token. It needs this info to handle IPC permissions. > (*) All Windows-10 machines (~300) that we have here seem to have > cygserver's pulling some random SIDs and failing with the same error, > 1332. But that usually happens pretty quickly (yet still, > noticeable). Only on a subset of hosts (less than 5%), we see these > extremely long delays, causing the apps failures due to timeouts. BLODA? Corinna --=20 Corinna Vinschen Cygwin Maintainer --KlAEzMkarCnErv5Q Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlxlbVEACgkQ9TYGna5E T6CdMRAAkDBsrBmR2048PoeMg5UkjgPB1Xh15GcLvJO4t7pavWg1yZugj/cNW5dQ TA7RnmrTs12st5d5qZVvkqtSfTPSihCmOppe+IDG0X1f72hxlt6toUU9LgHTmqCn uCUNdu9MA6rmOG7tB0Kgr/ooBYw+5MId7RzH6uYH6r7lEUqc3GH/dC6Pr8K2RBvS VFO/TOI2nqWbt++PGio1x41ocEKNom84k1Lb4oRmGoIKUv9OVT4KsFXCwrtuggKK +GvPPzOf/jQR6ksFJNhXUEft1BMFxNkzqDwTxquJWLt+I1lsPG69kNA4nWRscyjd c22xMXu2ISQg2xiPYifijOJ6tcdWkM5gVFbsjtb+M9tBYwClM8zi/M+ACrz9i+UJ g7tZaLStJ/SOA7Fj+T5rZH39CO1+Q7XvfYCuA3yArEb2Gbbxja9p356ZF4Bf+veR uhAfpnOB/hWqzDcS1mcsk2l/k7ZDHO1cFit+0Hlce9aphI51rx4geG0YLY3fM8jC 9Fs7irl3MkOyIpGz0VfMBeWLlMQwmUFN9us332OVFumWYc8ewkPWZE8omDyOQJsL 59Kio/NKOlepQg57idncbPjZV5h5PiIue8Vx1+ZYNxafFRH1zTUFhnca5ZgjoiuE OgjHTiWyR40Kvx5ihEXq/beC9Hv1GltxJnHG21xLHg6o0V/QroA= =oBBD -----END PGP SIGNATURE----- --KlAEzMkarCnErv5Q--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |