X-Original-To: pgsql-hackers-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 2E4BB11F8B99 for ; Mon, 24 Apr 2006 14:40:51 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 44123-01 for ; Mon, 24 Apr 2006 14:39:40 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from noel.decibel.org (noel.decibel.org [67.100.216.10]) by postgresql.org (Postfix) with ESMTP id 4E1E011F9809 for ; Mon, 24 Apr 2006 13:37:43 -0300 (ADT) Received: by noel.decibel.org (Postfix, from userid 1001) id 2439356423; Mon, 24 Apr 2006 11:37:41 -0500 (CDT) Received: (hashcash-sendmail, from uid 1001); Mon, 24 Apr 2006 11:37:39 -0500 Date: Mon, 24 Apr 2006 11:37:38 -0500 From: "Jim C. Nasby" To: Qingqing Zhou Cc: pgsql-hackers@postgresql.org Subject: Re: Unresolved Win32 bug reports Message-ID: <20060424163738.GC38186@pervasive.com> References: <200604201102.k3KB21H07902@candle.pha.pa.us> <20060420171707.GD49405@pervasive.com> <20060420172515.GE1984@svana.org> <26379.1145556019@sss.pgh.pa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 6.0-RELEASE-p4 amd64 X-Distributed: Join the Effort! http://www.distributed.net User-Agent: Mutt/1.5.11 X-Hashcash: 1:20:060424:zhouqq@cs.toronto.edu::MCb2KSOW71hYm5jV:0000000000000000 0000000000000000000000001/gp X-Hashcash: 1:20:060424:pgsql-hackers@postgresql.org::3oBt/8dLy/sebhcP:000000000 0000000000000000000000003Uax X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200604/858 X-Sequence-Number: 82581 On Mon, Apr 24, 2006 at 10:23:07AM +0800, Qingqing Zhou wrote: > > "Tom Lane" wrote > > Martijn van Oosterhout writes: > > > On Thu, Apr 20, 2006 at 12:17:07PM -0500, Jim C. Nasby wrote: > > >> Here's one to add to the list: running pgbench with a moderately heavy > > >> load on an SMP box likes to trigger a state where the database (or > > >> pgbench) just stops doing work (CPU usage drops to nothing, as does > disk > > >> activity). > > > > > Well, this sounds like a dead-lock, the obvious step would be to > > > attached gdb to both and get a stack-trace... > > > > Yeah, I wonder if it's related to that apparent bug Qingqing saw in the > > windows semaphore code? It's clearly windows-specific since no one's > > ever reported any such thing on Unixen. > > > > I also suspect the EAGAIN error reports are related to the semaphore code. > So if possible, I suggest we patch the code and test it. There a patched build available for testing? (I'd rather not have to figure out how to get windows builds working, unless there's some kind of instructions somewhere...) -- Jim C. Nasby, Sr. Engineering Consultant jnasby@pervasive.com Pervasive Software http://pervasive.com work: 512-231-6117 vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461