Win32 Native port more then 64 connection

Lists: pgsql-bugs
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
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.