Re: [Firebird-devel] ODP: Re: fb3 connections limit

2016-01-22 Thread Paul Beach
>Only constant FD_SETSIZE at compilation time which can by changed in code. See: src/remote/inet.cpp #ifdef WIN_NT #define FD_SETSIZE 2048 #endif Regards Paul -- Site24x7 APM Insight: Get Deep Visibility into

Re: [Firebird-devel] ODP: Re: fb3 connections limit

2016-01-21 Thread Dimitry Sibiryakov
21.01.2016 16:45, Mark Rotteveel wrote: > That doesn't really answer the why :) Firebird uses only one thread for receiving network packets and the limit is related to select()/WSASelect() function that operate with fixed size array of socket handles. -- WBR, SD.

Re: [Firebird-devel] ODP: Re: fb3 connections limit

2016-01-21 Thread Dmitry Kuzmenko
Hello! Thursday, January 21, 2016, 6:06:06 PM, you wrote: l> may i ask what is the reason of that limit on windows? that type of interest is suspicious. Currently, huge companies works in client-server mode with 500-700 simultaneous connections, without any problem. When someone asks about 2000

Re: [Firebird-devel] ODP: Re: fb3 connections limit

2016-01-21 Thread liviuslivius
> That doesn't really answer the why :) >>It does if you google FD_SETSIZE and winsock >>https://msdn.microsoft.com/en-us/library/windows/desktop/ms739169%28v=vs.85%29.aspx >>Paul Hi, i read this but i still do not know the reason. Is this declared by Firebird in code. Because i read in this

Re: [Firebird-devel] ODP: Re: fb3 connections limit

2016-01-21 Thread Dimitry Sibiryakov
21.01.2016 18:20, Leyne, Sean wrote: > Operationally, your app will die/fail which you try to exceed the Windows > FD_Size value -- it is a OS level limit. Nope, it is truly set at compile time and only application-defined structures are used by OS. Problem is not a size of structure

Re: [Firebird-devel] ODP: Re: fb3 connections limit

2016-01-21 Thread Jim Starkey
On 1/21/2016 12:41 PM, Dimitry Sibiryakov wrote: > 21.01.2016 18:20, Leyne, Sean wrote: >> Operationally, your app will die/fail which you try to exceed the Windows >> FD_Size value -- it is a OS level limit. > Nope, it is truly set at compile time and only application-defined > structures

Re: [Firebird-devel] ODP: Re: fb3 connections limit

2016-01-21 Thread Leyne, Sean
> Microsoft is now supporting the Linux poll() as WSAPoll(). Much more > intelligent data structures and is smart enough to wake up when the remote > end of a socket is closed. I don't know what platforms do or don't support > poll() Client OS == Windows Vista+ Server OS == Windows 2008+

Re: [Firebird-devel] ODP: Re: fb3 connections limit

2016-01-21 Thread Paul Beach
>> may i ask what is the reason of that limit on windows? > > http://tracker.firebirdsql.org/browse/CORE-4439 > That doesn't really answer the why :) It does if you google FD_SETSIZE and winsock https://msdn.microsoft.com/en-us/library/windows/desktop/ms739169%28v=vs.85%29.aspx Paul

Re: [Firebird-devel] ODP: Re: fb3 connections limit

2016-01-21 Thread Leyne, Sean
> i read this but i still do not know the reason. Is this declared by Firebird > in code. > Because i read in this article that there is no limit in Winsock at all. > Only constant FD_SETSIZE at compilation time which can by changed in code. > But maybe i can understand this incorrectly

Re: [Firebird-devel] ODP: Re: fb3 connections limit

2016-01-21 Thread liviuslivius
regards, Karol Bieniaszewski -Oryginalna wiadomość- From: Dmitry Kuzmenko Sent: Thursday, January 21, 2016 4:56 PM To: For discussion among Firebird Developers Subject: Re: [Firebird-devel] ODP: Re: fb3 connections limit Hello! Thursday, January 21, 2016, 6:06:06 PM, you wrote: l&g

Re: [Firebird-devel] ODP: Re: fb3 connections limit

2016-01-21 Thread Michal Kubecek
On Thu, Jan 21, 2016 at 01:20:02PM -0500, Jim Starkey wrote: > On 1/21/2016 12:41 PM, Dimitry Sibiryakov wrote: > > 21.01.2016 18:20, Leyne, Sean wrote: > >> Operationally, your app will die/fail which you try to exceed the > >> Windows FD_Size value -- it is a OS level limit. > > Nope, it is