delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/08/02/05:45:58

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Mon, 2 Aug 2004 11:45:22 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cygserver - Postgres Multiple connection Load Testing - Inifinte Loop
Message-ID: <20040802094522.GB31711@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <200407302132 DOT i6ULWwXn016838 AT mx3 DOT redhat DOT com>
Mime-Version: 1.0
In-Reply-To: <200407302132.i6ULWwXn016838@mx3.redhat.com>
User-Agent: Mutt/1.4.2i

On Jul 30 14:32, sarbx-cygwin6344 AT mailblocks DOT com wrote:
> >On Jul 28 20:19, sarbx-cygwin6344 AT mailblocks DOT 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 AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019