2015-08-10 14:01:44 +03:00
{
"servers" :
{
2016-04-13 21:41:16 +03:00
"testServer0" :
{
2015-08-10 14:01:44 +03:00
"min_workers" : 10 ,
"max_workers" : 50 ,
"priority_workers" : 5 ,
"max_clients" : 100 ,
"keepaliveInterval" : 120 ,
"keepaliveCount" : 5 ,
"keepaliveRequired" : true ,
"services" : [
2016-04-13 21:41:16 +03:00
{
"auth" : 0 ,
"readonly" : true ,
"nrequests_client_max" : 2 ,
"socks" : [
{
"fd" : 100 ,
"errfd" : -1 ,
"pid" : 0 ,
"isClient" : false
}
]
} ,
{
"auth" : 2 ,
"readonly" : false ,
"nrequests_client_max" : 5 ,
"socks" : [
{
"fd" : 101 ,
"errfd" : -1 ,
"pid" : 0 ,
"isClient" : false
}
]
}
2015-08-10 14:01:44 +03:00
] ,
"clients" : [
2016-04-13 21:41:16 +03:00
{
"auth" : 1 ,
"readonly" : true ,
"nrequests_max" : 15 ,
"sock" : {
"fd" : 102 ,
"errfd" : -1 ,
"pid" : -1 ,
"isClient" : true
}
} ,
{
"auth" : 2 ,
"readonly" : true ,
"nrequests_max" : 66 ,
"sock" : {
"fd" : 103 ,
"errfd" : -1 ,
"pid" : -1 ,
"isClient" : true
}
}
2015-08-10 14:01:44 +03:00
]
2016-04-13 21:41:16 +03:00
} ,
"testServer1" :
{
2015-08-10 14:01:44 +03:00
"min_workers" : 2 ,
"max_workers" : 50 ,
"priority_workers" : 5 ,
"max_clients" : 100 ,
"keepaliveInterval" : 120 ,
"keepaliveCount" : 5 ,
"keepaliveRequired" : true ,
"services" : [
2016-04-13 21:41:16 +03:00
{
"auth" : 0 ,
"readonly" : true ,
"nrequests_client_max" : 2 ,
"socks" : [
{
"fd" : 100 ,
"errfd" : -1 ,
"pid" : 0 ,
"isClient" : false
}
]
} ,
{
"auth" : 2 ,
"readonly" : false ,
"nrequests_client_max" : 5 ,
"socks" : [
{
"fd" : 101 ,
"errfd" : -1 ,
"pid" : 0 ,
"isClient" : false
}
]
}
2015-08-10 14:01:44 +03:00
] ,
"clients" : [
2016-04-13 21:41:16 +03:00
{
"auth" : 1 ,
"readonly" : true ,
"nrequests_max" : 15 ,
"sock" : {
"fd" : 102 ,
"errfd" : -1 ,
"pid" : -1 ,
"isClient" : true
}
} ,
{
"auth" : 2 ,
"readonly" : true ,
"nrequests_max" : 66 ,
"sock" : {
"fd" : 103 ,
"errfd" : -1 ,
"pid" : -1 ,
"isClient" : true
}
}
2015-08-10 14:01:44 +03:00
]
2016-04-13 21:41:16 +03:00
}
2015-08-10 14:01:44 +03:00
}
}