On Wed, 11 Dec 2019 23:17:48 -0500
Kyle Stanley <aeros...@gmail.com> wrote:
> 
> TL;DR: It's definitely possible to have more than one client per TCP port.

Thanks for correcting me.  Not sure why, but I appear to make that
mistake once every couple years.

> I'm have no idea what the
> realistic maximum limit of global FDs would be for most modern servers
> though, but here's the upper bound limit on Linux kernel 5.3.13:
> 
> [aeros:~]$ cat /proc/sys/fs/file-max
> 9223372036854775807

Looks like 2**63 - 1 to me :-)

> I recall reading somewhere that per additional 100 file descriptors, it
> requires approximately 1MB of main memory.

More than file descriptors per se, what's relevant here is the
per-TCP connection overhead (unless you're interested in keeping closed
TCP sockets around?).  Which I guess is related to the
latency*bandwidth product.

Regards

Antoine.
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/TC5PANOZ5ROSLMGXMNXB2XSDTD72BIZ6/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to