[Twisted-Python] Twisted TCP Server Maximum Simultaneous Connections

Itamar Shtull-Trauring itamar at itamarst.org
Wed Jun 6 10:01:33 EDT 2007

On Tue, 2007-06-05 at 21:15 -0400, Alvin Delagon wrote:

> When we used the benchmark tool on two PCs (each spawning 20,000 XMPP
> clients), the number of successful connect/authorize varies between
> 37,000~39,000.

> Did we hit the ceiling? Or is there anyway we can increase this
> further? We already configured the ulimit parameters and tinkered with
> some kernel configurations.

There's no limits in Twisted itself that would cause that, so it's
likely in the kernel. For example -

You may have the free TCP port limit range, since you are doing so many
connections from only two IP addresses. This is not a limit that would
affect you during production, of course; you could see if you can get
higher numbers of connections with more client machines.

Itamar Shtull-Trauring

More information about the Twisted-Python mailing list