Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fanotify check can fail due to short lived services #435

Closed
bobrik opened this issue Jun 19, 2024 · 0 comments
Closed

fanotify check can fail due to short lived services #435

bobrik opened this issue Jun 19, 2024 · 0 comments

Comments

@bobrik
Copy link
Contributor

bobrik commented Jun 19, 2024

Here quota-killswitch.service exits too quickly and the failure triggers no fanotify:

Jun 19 23:17:02 xxx systemd[1]: Starting prometheus-ebpf-exporter.service - Prometheus eBPF exporter...
Jun 19 23:17:03 xxx prometheus-ebpf-exporter[716106]: Error resolving inode for "/sys/fs/cgroup/system.slice/quota-killswitch.service": error running stat("/sys/fs/cgroup/system.slice/quota-killswitch.service"): stat /sys/fs/cgroup/system.slice/quota-killswitch.service: no such file or directory
Jun 19 23:17:03 xxx prometheus-ebpf-exporter[716106]: Using on-demand resolution for cgroups (fanotify not available)

We should make it more resilient.

@bobrik bobrik closed this as completed in ca938b0 Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant