[whatwg] WebSockets: what to do when there are too many open connections

Mike Shaver mike.shaver at gmail.com
Thu May 27 08:49:56 PDT 2010


On Thu, May 27, 2010 at 11:45 AM, John Tamplin <jat at google.com> wrote:
> On Thu, May 27, 2010 at 10:28 AM, Simon Pieters <simonp at opera.com> wrote:
>>
>> From our testing it seems that Vista has a limit of 1398 open sockets.
>> Apparently Ubuntu has a limit of 1024 file descriptors per process.
>
> On Linux, that is just the default (which may vary between distros) and can
> be configured by the administrator -- see ulimit -n, sysctl -w fs.file-max,
> and fs.file-max in /etc/sysctl.conf (location may var between Linux
> distros).

I think it is reasonable to assume that the browser must be able to
operate effectively within those default limits, though: mostly the
browser can't adjust those, or usefully instruct the user to do so.

Mike



More information about the whatwg mailing list