Sean Boudreau(deleted)
|
Re: number of TCP socket connections
|
Sean Boudreau(deleted)
04/15/2010 11:15 AM
post51784
|
Re: number of TCP socket connections
On Thu, Apr 15, 2010 at 11:11:00AM -0400, Edward Lee wrote:
> Is there a way to specify/configure the number of simultaneous or concurrent TCP socket connections?
>
> I have a customer that has a scenario in which they need to service a number of client TCP socket connections with a
single TCP server socket application within a predefined time interval. These connections may occur concurrently. So
they would like to know how many TCP connections can be made to a QNX server via TCP sockets from different QNX clients
concurrently.
>
> They hope, the 'backlog' parameter of listen() socket API actually refer to the maximum length that the queue of
pending connections may grow to. It seems the maximum value of this parameter is defined as 128 (SOMAXCONN) in socket.h.
Does this really affect the number of concurrent connections that can be handled? Is this documented somewhere? Is this
part of the inetd function or a QNX resource manager limit?
>
- The number of fds a process can have open is the -F option to proc.
- The number of sockets the stack can service is limited by memory.
- The number of blocking operations the stack can have pending at any
pointn in time is limited by 'threads_max:
io-pkt -ptcpip threads_max=X
Regards,
-seanb
|
|
|