lishiyong063 / pywebsocket

Automatically exported from code.google.com/p/pywebsocket
0 stars 0 forks source link

Maximum number of clients for a pywebsocket server #129

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I tried my server implementation in several machines (linux systems with 
apache2 web server) and in none of them I could get more than 350 clients 
connected at the same time.
I need to know the limit of how many can be server simultaneously.

I modified apache configuration files to allow more clients as follows:
<IfModule mpm_worker_module>
    ServerLimit              80
    StartServers             80
    MaxClients              2000
    MinSpareThreads          25
    MaxSpareThreads          75 
    ThreadsPerChild          25
    MaxRequestsPerChild      0
</IfModule>

worker is what is installed on the systems.
I also modified system configurations like maximum open files, maximum number 
of processes, maximum connections, txqueuelen.

Is this then a specific limit for pywebsocket or is there anything else I have 
to configurate to achieve more simultaneous connections?

Please, I need help, this is very important to me. I need these results.
Afterwards, of course the number of clients will be regular, this is just for 
the experiment.

Original issue reported on code.google.com by silvi.sa...@gmail.com on 25 Aug 2013 at 7:52

GoogleCodeExporter commented 9 years ago
Is this issue resolved by the private communication between us? May I close 
this?

Original comment by tyoshino@chromium.org on 10 Sep 2013 at 3:32

GoogleCodeExporter commented 9 years ago
Yes, you may close it. Thank you.

Original comment by silvi.sa...@gmail.com on 10 Sep 2013 at 7:12

GoogleCodeExporter commented 9 years ago

Original comment by tyoshino@chromium.org on 10 Sep 2013 at 11:07