dbTalk Databases Forums  

[BUGS] Win32 Native port more then 64 connection

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] Win32 Native port more then 64 connection in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Maksim Likharev
 
Posts: n/a

Default [BUGS] Win32 Native port more then 64 connection - 08-25-2004 , 08:00 PM






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.


---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo (AT) postgresql (DOT) org

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.