From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 104248 invoked by alias); 20 Jun 2017 11:11:21 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 104220 invoked by uid 89); 20 Jun 2017 11:11:19 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-101.9 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=atzeri, Atzeri, sigh, 01pm X-HELO: drew.franken.de Received: from mail-n.franken.de (HELO drew.franken.de) (193.175.24.27) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 20 Jun 2017 11:11:17 +0000 Received: from aqua.hirmke.de (aquarius.franken.de [193.175.24.89]) (Authenticated sender: aquarius) by mail-n.franken.de (Postfix) with ESMTPSA id 8D2DE721E280D for ; Tue, 20 Jun 2017 13:11:13 +0200 (CEST) Received: from calimero.vinschen.de (calimero.vinschen.de [192.168.129.6]) by aqua.hirmke.de (Postfix) with ESMTP id E126E5E0419 for ; Tue, 20 Jun 2017 13:11:12 +0200 (CEST) Received: by calimero.vinschen.de (Postfix, from userid 500) id C1C78A805F2; Tue, 20 Jun 2017 13:11:12 +0200 (CEST) Date: Tue, 20 Jun 2017 11:11:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: cygserver - Postgres Multiple connection Load Testing - Inifinte Loop Message-ID: <20170620111112.GD8342@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <200408030333.i733XEXn023894@mx3.redhat.com> <20040803100612.GP31522@cygbert.vinschen.de> <20170321025614.GA2100214@tornado.leadboat.com> <20170324171101.GI29995@calimero.vinschen.de> <20170328052652.GA2351961@tornado.leadboat.com> <20170402023624.GA2561924@tornado.leadboat.com> <20170507032747.GA876495@rfd.leadboat.com> <590E98DD.9000805@cygwin.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="XWOWbaMNXpFDWE00" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.8.0 (2017-02-23) X-SW-Source: 2017-06/txt/msg00238.txt.bz2 --XWOWbaMNXpFDWE00 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 2466 On Jun 15 01:32, Marco Atzeri wrote: > On 07/05/2017 05:47, Larry Hall (Cygwin) wrote: > > On 05/06/2017 11:27 PM, Noah Misch wrote: > > > On Sat, Apr 01, 2017 at 10:36:24PM -0400, Noah Misch wrote: > > > > On Tue, Mar 28, 2017 at 01:26:52AM -0400, Noah Misch wrote: > > > > > On Fri, Mar 24, 2017 at 06:11:01PM +0100, Corinna Vinschen wrote: > > > > > > I pushed a patchset now, and uploaded new developer snapshots f= or > > > > > > testing to https://cygwin.com/snapshots/ > > > > >=20 > > > > > > Please give it a try > > > >=20 > > > > > I call the cygwin-20170324 freezes "limited" because the symptoms > > > > > differ from > > > > > the classic freeze I described upthread. "strace /bin/true" and = "cat > > > > > /proc/sysvipc/sem" do not hang, but every PostgreSQL backend proc= ess > > > > > is stuck > > > > > waiting on a synchronization primitive. > > > > >=20 > > > > > I can distill another self-contained test case for the limited > > > > > freeze seen in > > > > > cygwin-20170324, but that make take awhile. I'm sending this ear= ly > > > > > report so > > > > > you're aware of the possible regression in cygwin-20170324. > > > >=20 > > > > I'm attaching a new test program that demonstrates the regression. > > > > My previous > > > > test program created sixteen processes that each picked a random > > > > semaphore to > > > > lock. Now, each process picks two semaphores and locks them in > > > > order. This > > > > proceeds smoothly on GNU/Linux and on cygwin-20170321.tar.xz > > > > "cygserver -r 40". > > > > It freezes within one second on cygwin-20170324.tar.xz "cygserver -r > > > > 40". > > >=20 > > > I suggest reverting the cygwin-20170324 cygserver changes for now. O= lder > > > versions can be configured to have reliable sysv semaphores, but I > > > think no > > > settings render sysv semaphores reliable in Cygwin 2.8.0. What do you > > > think? > >=20 > > Just FYI, Corinna is away for a bit (in European time, "a bit" =3D until > > June ;-) ) so don't be surprised if her response is delayed. > >=20 >=20 > as she is back, we can humble rise her attention to the matter. I can do that, but wouldn't it be nice if somebody would actually try to debug Cygserver further, to handle this new testcase correctly as well? 6 weeks, and nobody actually tries. Sigh. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --XWOWbaMNXpFDWE00 Content-Type: application/pgp-signature; name="signature.asc" Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJZSQLQAAoJEPU2Bp2uRE+gzbMP/1hh3uDxihDAw5/yZznMIEae UU2vUy87MJ7P0HTdGcUqNNsieD2mhzcSw23WBDw1IGyEVTenDPOVy8A55socOcEt CMXwrjCtJfxW70JnXw2EfngPw7ytKgBi2fgwnbFrfVJlWB2tSINJeNIRgzweTdZv IvbguWDsS00QSTckopvpaoNpCPDtm4aBGg4DM/IxpmAGLPSDWhbtUGHL1i5fZCSM 4exGzlnKysap49IN49FNEVFq8Ygb2GZisVIiTy9MQqTMDpvbj3HGZ12n1v9qEEAm nn3vMRGQjMxvCRk+R+XV27P80UXepn+l4ewLRM7MFbgWuM11R6RA+J/RycdpsukM ihsaLc5Inke4rFrPenFmoryiq4yGTaTrdZQEL7aBVzygMUOlfI8j/KKnm10aAW+f ALCzOnxdbXgLGJt+lUF6Vl97Q/hgWndefecjbrEj8L3t3U98/ghXVi+fTYWHycx7 Dv+LTz/jzlcwl+AwPJrTJoDjbqxmCB3QOXUOgy0Uowb3WWGvR+lHFtsB1ldup5MC nmv3AMnaBPc5B9k3J+QmT4+ta/uS2D6/Q/3gy6UoecB77iepOq95MGVhGJCoca6g n1O/p5O17z+1+GUo7XtqAQ76RwSVmvtjjEhjjCGttga0p1WOEixjjUBi24qSGwb4 kQ95ybXU9tkCW9EnXmAJ =Vf+z -----END PGP SIGNATURE----- --XWOWbaMNXpFDWE00--