I've tried this on CentOS 7.5, 7.6 and 6.10 for incron 0.5.12 and 0.5.10
It seems like incrond 0.5.12 is not properly stopping its forks and resulting in huge performance issues.
Lingering processes
I'm creating a simple file watcher for a directory that runs true on IN_CREATE. That's it.
My test creates 10 files and checks running processes.
incrond 0.5.10
Config
yum -y remove incron && http://packages.psychotic.ninja/7/base/x86_64/RPMS//incron-0.5.10-9.el7.psychotic.x86_64.rpm
rm -rf /var/tmp/test && mkdir -p /var/tmp/test
echo "/var/tmp/test IN_CREATE true" > /etc/incron.d/test
systemctl restart incrond
sleep 1
for i in `seq 1 10`; do touch /var/tmp/test/$i; done
ps aux | grep incron | grep -v grep
I've tried this on CentOS 7.5, 7.6 and 6.10 for incron 0.5.12 and 0.5.10 It seems like incrond 0.5.12 is not properly stopping its forks and resulting in huge performance issues.
Lingering processes
I'm creating a simple file watcher for a directory that runs
true
onIN_CREATE
. That's it. My test creates 10 files and checks running processes.incrond 0.5.10
Config
Output
incrond 0.5.12
Config
Output
Performance
Test
We're running a simple test that creates 10,000 files with the above configuration. Run the following
Run top
incrond 0.5.10
incrond 0.5.12
(I had to stop this after 2,000)