]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Libvirt: Add missing default value for config option max_queued_clients
authorJason J. Herne <jjherne@linux.vnet.ibm.com>
Mon, 29 Feb 2016 13:33:20 +0000 (08:33 -0500)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 1 Mar 2016 17:00:19 +0000 (18:00 +0100)
commitb3a4b176f048be8fd6b22604229f8fedf554c0e8
tree6f860aad897b84f354ad8929b08cb84d4a9514a0
parentb523302c422a4d2c1cefb301d85d9b2c47a8c582
Libvirt: Add missing default value for config option max_queued_clients

Commit 1199edb1d4e3 added config option max_queued_clients and documented the
default value as 1000 but never actually set that value. This patch sets the
default value.

This addresses an issue whereby the following error message is reported if too
many migrations are started simultaneously:

error: End of file while reading data: Ncat: Invalid argument.: Input/output error

The problem is that too many ncat processes are spawned on the destination
system. They all attempt to connect to the libvirt socket. Because the
destination libvirtd cannot respond to the connect requests quickly enough we
overrun the socket's pending connections queue.

Signed-off-by: Jason J. Herne <jjherne@linux.vnet.ibm.com>
Reviewed-by: Boris Fiuczynski <fiuczy@linux.vnet.ibm.com>
daemon/libvirtd-config.c