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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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.

Browse pgsql-bugs by date

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