From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30661 invoked by alias); 2 Aug 2004 09:45:16 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 30645 invoked from network); 2 Aug 2004 09:45:14 -0000 Received: from unknown (HELO cygbert.vinschen.de) (80.132.96.7) by sourceware.org with SMTP; 2 Aug 2004 09:45:14 -0000 Received: by cygbert.vinschen.de (Postfix, from userid 500) id 9531A57E10; Mon, 2 Aug 2004 11:45:22 +0200 (CEST) Date: Mon, 02 Aug 2004 09:45:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: cygserver - Postgres Multiple connection Load Testing - Inifinte Loop Message-ID: <20040802094522.GB31711@cygbert.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <200407302132.i6ULWwXn016838@mx3.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200407302132.i6ULWwXn016838@mx3.redhat.com> User-Agent: Mutt/1.4.2i X-SW-Source: 2004-08/txt/msg00010.txt.bz2 On Jul 30 14:32, sarbx-cygwin6344@mailblocks.com wrote: > >On Jul 28 20:19, sarbx-cygwin6344@mailblocks.com wrote: > >>$ postgres --version > >>postgres (PostgreSQL) 7.4.3 > >> > >>$ uname -a > >>CYGWIN_NT-5.0 sbellan-nb 1.5.10(0.116/4/2) 2004-05-25 22:07 i686 > >>unknown unknown > >>Cygwin > >> > >>While doing Load testing using DOTS, after 5 to 6 connections the > >>machine starts to slow down and > >>cygserver seems to hog most of the CPU. After running the cygserve > in > >>debug mode , I see the following > >>in the log file repeating infinitely. > >>[...] > > > >Just to be sure, are you talking about 5 or 6 *concurrent* connections? > >That might be important. I'm not exactly sure so far but there might > >be a race condition in my mutex code. > > > >Corinna > > Yes, I'm talking about 5 or 6 *concurrent* connections. Ok, that's what I'd suspected. I have patched Cygserver and I'd like to get some feedback on whether this solves the problem or not. Would you please try the latest developer snapshot from http://cygwin.com/snapshots/ and report if that version of Cygserver still eats up CPU time under the above circumstances? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Co-Project Leader mailto:cygwin@cygwin.com Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/