Subject | Re: Firebird crash at 63 connection |
---|---|
Author | Petr Hartman |
Post date | 2007-11-19T14:10:01Z |
--- In firebird-support@yahoogroups.com, Vlad Khorsun <hvlad@...> wrote:
objects at a time (MAXIMUM_WAIT_OBJECTS).
In any case, I couldn't use Firebird SuperServer for Windows (1.5.4,
2.0.3) for more than 63 open connections (if I used events, there were
even only 31 connections).
Regards,
Petr Hartman
>Yes, but function WaitForMultipleObjects() can only wait on 64 event
> > Hello,
> >
> > we had the same problem on several OS (Windows XP, Windows 2003=20
> > Server). My colleague who dealt with this problem wrote me:
> >
> > Function select() does not accept more than 64 socket handles. In=20
> > win32.hlp for function select() is written this:
> > (The default value of FD_SETSIZE is 64, which can be modified by=20
> > #defining FD_SETSIZE to another value before #including WINSOCK2.H.)
>
> Firebird defined FD_SETSIZE as 1024 but included winsock.h, not
> winsock2.h
>
> Regards,
> Vlad
objects at a time (MAXIMUM_WAIT_OBJECTS).
In any case, I couldn't use Firebird SuperServer for Windows (1.5.4,
2.0.3) for more than 63 open connections (if I used events, there were
even only 31 connections).
Regards,
Petr Hartman