mirror of https://gitee.com/openkylin/libvirt.git
79 lines
1.7 KiB
JSON
79 lines
1.7 KiB
JSON
{
|
|
"servers": {
|
|
"testServer0": {
|
|
"min_workers": 10,
|
|
"max_workers": 50,
|
|
"priority_workers": 5,
|
|
"max_clients": 100,
|
|
"max_anonymous_clients": 10,
|
|
"keepaliveInterval": 120,
|
|
"keepaliveCount": 5,
|
|
"next_client_id": 3,
|
|
"services": [
|
|
{
|
|
"auth": 0,
|
|
"readonly": true,
|
|
"nrequests_client_max": 2,
|
|
"socks": [
|
|
{
|
|
"fd": 100,
|
|
"errfd": -1,
|
|
"pid": 0,
|
|
"isClient": false,
|
|
"unlinkUNIX": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"auth": 2,
|
|
"readonly": false,
|
|
"nrequests_client_max": 5,
|
|
"socks": [
|
|
{
|
|
"fd": 101,
|
|
"errfd": -1,
|
|
"pid": 0,
|
|
"isClient": false,
|
|
"unlinkUNIX": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"clients": [
|
|
{
|
|
"id": 1,
|
|
"auth": 1,
|
|
"auth_pending": true,
|
|
"readonly": true,
|
|
"nrequests_max": 15,
|
|
"conn_time": 1234567890,
|
|
"sock": {
|
|
"fd": 102,
|
|
"errfd": -1,
|
|
"pid": -1,
|
|
"isClient": true,
|
|
"unlinkUNIX": false
|
|
},
|
|
"privateData": 1729
|
|
},
|
|
{
|
|
"id": 2,
|
|
"auth": 2,
|
|
"auth_pending": true,
|
|
"readonly": true,
|
|
"nrequests_max": 66,
|
|
"conn_time": 1234567890,
|
|
"sock": {
|
|
"fd": 103,
|
|
"errfd": -1,
|
|
"pid": -1,
|
|
"isClient": true,
|
|
"unlinkUNIX": false
|
|
},
|
|
"privateData": 1729
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|