[lkml]   [1999]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: > 15,000 Simultaneous Connections
Mike Jagdis wrote:
> On Wed, 15 Sep 1999, Stephen C. Tweedie wrote:
> > The current code in the kernel delivers a normal, unqueued SIGIO
> > specifically to notify the application of overflow.
> Personally I dislike that failure mode. The recovery method (using
> select or poll) involves allocating fairly significant chunks of
> kernel memory and spending significant time looping in kernel mode.

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.

Now my question is, is setting si_band and si_value to the type of operation &
FD for RT signals portable? Unfortunatly, I can't find anything related to
this online (you'd think standards bodies would publish these things openly).


Jordan Mendelson :
Web Services, Inc. :

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:54    [W:0.148 / U:8.832 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site