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

Win32 Native port more then 64 connection

From: Maksim Likharev <MLikharev(at)micropat(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Win32 Native port more then 64 connection
Date: 2004-08-25 20:58:40
Message-ID: 002801c48ae6$4ce454c0$8815a8c0@aurigin.com (view raw or flat)
Thread:
Lists: pgsql-bugs
Hi,

postmaster.c function win32_waitpid(int *exitstatus)
call to Win32 WaitForMultipleObjects

ret = WaitForMultipleObjects(win32_numChildren, win32_childHNDArray, FALSE,
0);

problem is 'win32_numChildren' could be more then 64 ( function supports ),
problem basically arise ( kills postgres ) when you create more then 64
connections and
terminate some of them sill leaving more then 64.

So several iterations like that, in my case completely reproducible after
I'd.

Regards.


pgsql-bugs by date

Next:From: PostgreSQL Bugs ListDate: 2004-08-25 21:22:04
Subject: BUG #1232: Singapore Timezone missing
Previous:From: PostgreSQL Bugs ListDate: 2004-08-25 18:43:17
Subject: BUG #1231: Probelm with transactions in stored code.

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