delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/08/02/23:33:13

Message-Id: <200408030333.i733XBGb002462@delorie.com>
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, 02 Aug 2004 20:33:07 -0700
From: <sarbx-cygwin6344 AT mailblocks DOT com>
X-MB-Message-Source: WebUI
X-MB-Message-Type: User
Subject: Re: cygserver - Postgres Multiple connection Load Testing - Inifinte Loop
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

>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

This time around, cygserver does not eat CPU. But after 5 to 6 
concurrent
connections nothing seem to work, looks kind of hung. There is no 
activity in the Postgres
log file. Opening a new database connection also hangs. There is no 
activity on the machine.

Let me know a alternate address where I can send you the log file.


----------------------------------------------
Mailblocks - A Better Way to Do Email
http://about.mailblocks.com/info


--
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