提交 733359a6 编写于 作者: M Michal Privoznik

libvirtd.conf: Drop max_requests

Since its introduction in f6134117 it was never
implemented nor there are plans to implement it. Drop it.
Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
上级 fdab78b5
...@@ -153,7 +153,6 @@ daemonConfigNew(bool privileged ATTRIBUTE_UNUSED) ...@@ -153,7 +153,6 @@ daemonConfigNew(bool privileged ATTRIBUTE_UNUSED)
data->prio_workers = 5; data->prio_workers = 5;
data->max_requests = 20;
data->max_client_requests = 5; data->max_client_requests = 5;
data->audit_level = 1; data->audit_level = 1;
...@@ -348,8 +347,6 @@ daemonConfigLoadOptions(struct daemonConfig *data, ...@@ -348,8 +347,6 @@ daemonConfigLoadOptions(struct daemonConfig *data,
if (virConfGetValueUInt(conf, "prio_workers", &data->prio_workers) < 0) if (virConfGetValueUInt(conf, "prio_workers", &data->prio_workers) < 0)
goto error; goto error;
if (virConfGetValueUInt(conf, "max_requests", &data->max_requests) < 0)
goto error;
if (virConfGetValueUInt(conf, "max_client_requests", &data->max_client_requests) < 0) if (virConfGetValueUInt(conf, "max_client_requests", &data->max_client_requests) < 0)
goto error; goto error;
......
...@@ -71,7 +71,6 @@ struct daemonConfig { ...@@ -71,7 +71,6 @@ struct daemonConfig {
unsigned int prio_workers; unsigned int prio_workers;
unsigned int max_requests;
unsigned int max_client_requests; unsigned int max_client_requests;
unsigned int log_level; unsigned int log_level;
......
...@@ -60,7 +60,6 @@ module Libvirtd = ...@@ -60,7 +60,6 @@ module Libvirtd =
| int_entry "max_clients" | int_entry "max_clients"
| int_entry "max_queued_clients" | int_entry "max_queued_clients"
| int_entry "max_anonymous_clients" | int_entry "max_anonymous_clients"
| int_entry "max_requests"
| int_entry "max_client_requests" | int_entry "max_client_requests"
| int_entry "prio_workers" | int_entry "prio_workers"
......
...@@ -301,20 +301,10 @@ ...@@ -301,20 +301,10 @@
# (notably domainDestroy) can be executed in this pool. # (notably domainDestroy) can be executed in this pool.
#prio_workers = 5 #prio_workers = 5
# Total global limit on concurrent RPC calls. Should be
# at least as large as max_workers. Beyond this, RPC requests
# will be read into memory and queued. This directly impacts
# memory usage, currently each request requires 256 KB of
# memory. So by default up to 5 MB of memory is used
#
# XXX this isn't actually enforced yet, only the per-client
# limit is used so far
#max_requests = 20
# Limit on concurrent requests from a single client # Limit on concurrent requests from a single client
# connection. To avoid one client monopolizing the server # connection. To avoid one client monopolizing the server
# this should be a small fraction of the global max_requests # this should be a small fraction of the global max_workers
# and max_workers parameter # parameter.
#max_client_requests = 5 #max_client_requests = 5
# Same processing controls, but this time for the admin interface. # Same processing controls, but this time for the admin interface.
......
...@@ -42,7 +42,6 @@ module Test_libvirtd = ...@@ -42,7 +42,6 @@ module Test_libvirtd =
{ "min_workers" = "5" } { "min_workers" = "5" }
{ "max_workers" = "20" } { "max_workers" = "20" }
{ "prio_workers" = "5" } { "prio_workers" = "5" }
{ "max_requests" = "20" }
{ "max_client_requests" = "5" } { "max_client_requests" = "5" }
{ "admin_min_workers" = "1" } { "admin_min_workers" = "1" }
{ "admin_max_workers" = "5" } { "admin_max_workers" = "5" }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册