Skip site navigation (1) Skip section navigation (2)

Multiple connection Load Testing - Inifinte Loop

From: <sarbx-postgrescygwin3775(at)mailblocks(dot)com>
To: pgsql-cygwin(at)postgresql(dot)org
Subject: Multiple connection Load Testing - Inifinte Loop
Date: 2004-07-24 02:35:14
Message-ID: 20040724023510.D86E8D1B18A@svr1.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-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


Responses

pgsql-cygwin by date

Next:From: mike gDate: 2004-07-24 03:40:09
Subject: Re: Multiple connection Load Testing - Inifinte Loop
Previous:From: Daniel SecombDate: 2004-07-24 01:18:52
Subject: "initdb: failed" (invalid argument)?????????????

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group