Red Hat Bugzilla – Bug 1324594
keepalived high number of close syscalls
Last modified: 2017-02-03 11:39:57 EST
Description of problem:
keepalived is generating a high number of close syscalls, when a third party agent never drops close events and processing this amount of events is causing the high CPU usage and node to crash
Version-Release number of selected component (if applicable):
How reproducible: Have not reproduced, with 3rd party application.
Steps to Reproduce:
1.Configure Ipfailover on openshift
2.Configure 3rd party sysdig to openshift
Openshift node crashes
keepalived to not generate as many syscalls
OpenShift User list
Customer is running sysdig
"Optimise closure of fds before invoking scripts.
Every time before a script was invoked, closeall() was called,
which would spin through 1024 file descriptors closing them, even
though the vast majority were not open, resulting in 1024 system
calls. To avoid that, open all sockets and file descriptors
(except fd 0/1/2) with the CLOEXEC flag set, so that the fds will
be closed by the kernel when the script is exec'd."
Shouldn't the component for this be keepalived?
The patch in question is upstream commit 480b451a6fb98ee1c1476c3478e366666f87fe15.