diff options
author | Steven <sluong@cisco.com> | 2017-03-22 12:05:19 -0700 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2017-03-29 09:34:48 +0000 |
commit | 0d150bb132b81c20b38a0cefd82c8f718435515d (patch) | |
tree | ae4a056df2678fa44d13c458c071a2e677b1f295 /src/vlib/unix/mc_socket.h | |
parent | 4521afa9a643983c789b6b3a77b14c0a95d5e0b2 (diff) |
vhost: vhost-user component may become unusable with too many open files (VPP-668)
When the number of open files is reached in the system, vhost may
encounter a failure in socket call and return from vhost-user-process.
The return terminates all attempts of incoming socket connections
in the future, even if the condition is reconciled.
The fix is to not return from vhost-user-process, record the error in
the interface, spit out the error, and retry the connection every 3 seconds.
Change-Id: I806baedf13e8c9b73e7c7820c094240f39949950
Signed-off-by: Steven <sluong@cisco.com>
Diffstat (limited to 'src/vlib/unix/mc_socket.h')
0 files changed, 0 insertions, 0 deletions