public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: cygserver - Postgres Multiple connection Load Testing - Inifinte Loop
@ 2004-08-03  3:33 sarbx-cygwin6344
  0 siblings, 0 replies; 23+ messages in thread
From: sarbx-cygwin6344 @ 2004-08-03  3:33 UTC (permalink / raw)
  To: cygwin

>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

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/

^ permalink raw reply	[flat|nested] 23+ messages in thread
[parent not found: <200407302132.i6ULWwXn016838@mx3.redhat.com>]
* Re: cygserver - Postgres Multiple connection Load Testing - Inifinte Loop
@ 2004-07-30 22:09 sarbx-cygwin6344
  0 siblings, 0 replies; 23+ messages in thread
From: sarbx-cygwin6344 @ 2004-07-30 22:09 UTC (permalink / raw)
  To: cygwin

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

Thanks,


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

^ permalink raw reply	[flat|nested] 23+ messages in thread
[parent not found: <200407290319.i6T3JCXn018245@mx3.redhat.com>]
* cygserver - Postgres Multiple connection Load Testing - Inifinte Loop
@ 2004-07-29 10:35 sarbx-cygwin6344
  0 siblings, 0 replies; 23+ messages in thread
From: sarbx-cygwin6344 @ 2004-07-29 10:35 UTC (permalink / raw)
  To: cygwin

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

cygserver: /netrel/src/cygwin-1.5.10-3/winsup/cygserver/bsd_mutex.cc, 
line 189:
Unlocked mutex semid
cygserver: /netrel/src/cygwin-1.5.10-3/winsup/cygserver/bsd_mutex.cc, 
line 227:
Try locking mutex semid
cygserver: /netrel/src/cygwin-1.5.10-3/winsup/cygserver/bsd_mutex.cc, 
line 227:
Locked mutex semid
cygserver: /netrel/src/cygwin-1.5.10-3/winsup/cygserver/sysv_sem.cc, 
line 1112:
semop: good morning (error=0)!

cygserver: /netrel/src/cygwin-1.5.10-3/winsup/cygserver/sysv_sem.cc, 
line 1121:
semop: good morning!

cygserver: /netrel/src/cygwin-1.5.10-3/winsup/cygserver/sysv_sem.cc, 
line 1049:
semop: semaptr=A057880, sem_base=A056E04, semptr=A056E88, sem[11]=0 : 
op=-1, fl
ag=wait

cygserver: /netrel/src/cygwin-1.5.10-3/winsup/cygserver/sysv_sem.cc, 
line 1053:
semop: can't do it now

cygserver: /netrel/src/cygwin-1.5.10-3/winsup/cygserver/sysv_sem.cc, 
line 1086:
semop: rollback 0 through -1

cygserver: /netrel/src/cygwin-1.5.10-3/winsup/cygserver/sysv_sem.cc, 
line 1109:
semop: good night!

cygserver: /netrel/src/cygwin-1.5.10-3/winsup/cygserver/bsd_mutex.cc, 
line 189:
Unlocked mutex semid
cygserver: /netrel/src/cygwin-1.5.10-3/winsup/cygserver/bsd_mutex.cc, 
line 227:
Try locking mutex semid
cygserver: /netrel/src/cygwin-1.5.10-3/winsup/cygserver/bsd_mutex.cc, 
line 227:
Locked mutex semid
cygserver: /netrel/src/cygwin-1.5.10-3/winsup/cygserver/sysv_sem.cc, 
line 1112:
semop: good morning (error=0)!

cygserver: /netrel/src/cygwin-1.5.10-3/winsup/cygserver/sysv_sem.cc, 
line 1121:
semop: good morning!

cygserver: /netrel/src/cygwin-1.5.10-3/winsup/cygserver/sysv_sem.cc, 
line 1049:
semop: semaptr=A057880, sem_base=A056E04, semptr=A056E88, sem[11]=0 : 
op=-1, fl
ag=wait

cygserver: /netrel/src/cygwin-1.5.10-3/winsup/cygserver/sysv_sem.cc, 
line 1053:
semop: can't do it now

cygserver: /netrel/src/cygwin-1.5.10-3/winsup/cygserver/sysv_sem.cc, 
line 1086:
semop: rollback 0 through -1

cygserver: /netrel/src/cygwin-1.5.10-3/winsup/cygserver/sysv_sem.cc, 
line 1109:
semop: good night!
...
...
...
...
...
...

Any help would be appreciated.



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

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2017-06-21  7:58 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <200408030333.i733XEXn023894@mx3.redhat.com>
2004-08-03 10:06 ` cygserver - Postgres Multiple connection Load Testing - Inifinte Loop Corinna Vinschen
2004-08-03 20:45   ` Saravanan Bellan
2004-08-03 20:54     ` Christopher Faylor
2004-08-03 21:10       ` Saravanan Bellan
2017-03-21  2:56   ` Noah Misch
2017-03-21  7:29     ` Marco Atzeri
2017-03-24 17:52     ` Corinna Vinschen
2017-03-25 10:55       ` Marco Atzeri
2017-03-25 12:02         ` Corinna Vinschen
2017-03-25 12:31           ` Marco Atzeri
2017-03-28  5:48       ` Noah Misch
2017-04-02  2:36         ` Noah Misch
2017-05-07  3:35           ` Noah Misch
2017-05-07  4:01             ` Larry Hall (Cygwin)
2017-06-14 23:32               ` Marco Atzeri
2017-06-20 11:11                 ` Corinna Vinschen
2017-06-20 17:29                   ` Marco Atzeri
2017-06-21  7:58                     ` Corinna Vinschen
2004-08-03  3:33 sarbx-cygwin6344
     [not found] <200407302132.i6ULWwXn016838@mx3.redhat.com>
2004-08-02  9:45 ` Corinna Vinschen
  -- strict thread matches above, loose matches on Subject: below --
2004-07-30 22:09 sarbx-cygwin6344
     [not found] <200407290319.i6T3JCXn018245@mx3.redhat.com>
2004-07-30 13:43 ` Corinna Vinschen
2004-07-29 10:35 sarbx-cygwin6344

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).