Open stbuehler opened 7 years ago
Since you could run multiple apt-dater instances in parallel it relys on inotify to update the host status. By removing the usage of inotify it would break apt-dater when running multiple instances (of different users).
When the system inotify limit is reached hosts are stuck in the refresh state.
Some
node
based applications are known to trigger the inotify limit (see https://github.com/Microsoft/vscode/issues/7950).I see no real need for apt-dater to rely on inotify. The internal event system ("refresh finished") should not rely on it at all.
For the record, you see something like this in strace for one thread over and over: