|
@@ -176,12 +176,12 @@
|
|
|
%% Size of acceptor pool
|
|
%% Size of acceptor pool
|
|
|
{acceptors, 16},
|
|
{acceptors, 16},
|
|
|
%% Maximum number of concurrent clients
|
|
%% Maximum number of concurrent clients
|
|
|
- {max_clients, 1024},
|
|
|
|
|
|
|
+ {max_clients, 512},
|
|
|
%% Socket Access Control
|
|
%% Socket Access Control
|
|
|
{access, [{allow, all}]},
|
|
{access, [{allow, all}]},
|
|
|
%% Socket Options
|
|
%% Socket Options
|
|
|
{sockopts, [
|
|
{sockopts, [
|
|
|
- {backlog, 1024}
|
|
|
|
|
|
|
+ {backlog, 512}
|
|
|
%Set buffer if hight thoughtput
|
|
%Set buffer if hight thoughtput
|
|
|
%{recbuf, 4096},
|
|
%{recbuf, 4096},
|
|
|
%{sndbuf, 4096}
|
|
%{sndbuf, 4096}
|
|
@@ -192,7 +192,7 @@
|
|
|
%% Size of acceptor pool
|
|
%% Size of acceptor pool
|
|
|
{acceptors, 4},
|
|
{acceptors, 4},
|
|
|
%% Maximum number of concurrent clients
|
|
%% Maximum number of concurrent clients
|
|
|
- {max_clients, 1024},
|
|
|
|
|
|
|
+ {max_clients, 512},
|
|
|
%% Socket Access Control
|
|
%% Socket Access Control
|
|
|
{access, [{allow, all}]},
|
|
{access, [{allow, all}]},
|
|
|
%% SSL certificate and key files
|
|
%% SSL certificate and key files
|
|
@@ -226,7 +226,7 @@
|
|
|
%% Size of acceptor pool
|
|
%% Size of acceptor pool
|
|
|
{acceptors, 4},
|
|
{acceptors, 4},
|
|
|
%% Maximum number of concurrent clients
|
|
%% Maximum number of concurrent clients
|
|
|
- {max_clients, 512},
|
|
|
|
|
|
|
+ {max_clients, 64},
|
|
|
%% Socket Access Control
|
|
%% Socket Access Control
|
|
|
{access, [{allow, all}]},
|
|
{access, [{allow, all}]},
|
|
|
%% Socket Options
|
|
%% Socket Options
|