Re: > 15,000 Simultaneous Connections

Mike Jagdis (mike@roan.co.uk)
Thu, 16 Sep 1999 10:17:15 +0100 (GMT/BST)


On Wed, 15 Sep 1999, Jordan Mendelson wrote:

> The rt signal queues default to 1024 and can be tuned by
> /proc/sys/kernel/rtsig-max. This appears to be a system-wide limit and not a
> per-process limit.
>
> The default system FD limit of 4096 and user FD limit of 1024 probably make
> this just about enough for socket handling. If you are going to be using
> 15,000 connections, raise the queue size when you raise the fd size.

If it is possible for events to happen faster than you can process
them at any point then the queue length will grow. How do you size
the queue to ensure that there is sufficient space to handle your
largest burst? Can you keep up at all? How many signals could you
get queued per fd? Like most absolute limits choosing a "right"
value is non-trivial.

Mike

-- 
         Failure isn't an option - it's built in to Windows
.----------------------------------------------------------------------.
|  Mike Jagdis                  |  Internet:  mailto:mike@roan.co.uk   |
|  Roan Technology Ltd.         |                                      |
|  2 Markham Mews, Broad Street |  Telephone:  +44 118 989 0403        |
|  Wokingham ENGLAND            |  Fax:        +44 118 989 1195        |
`----------------------------------------------------------------------'

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/