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

eBPF plugin remove parallel plugins #11287

Merged
merged 2 commits into from Jun 30, 2021

Conversation

thiagoftsm
Copy link
Contributor

Summary

After we have a short talk using Slack, I am bringing this PR to remove the possibility to have multiple eBPF plugins running in parallel.

I could not recreate the cited problem using kernel 5.12 many times, when the problem happened, it was thanks the fact I started another netdata instance before eBPF.plugin to be finished.

Component Name

ebpf.plugin

Test Plan

1 - Compile this PR
2 - Start Netdata, take a look at new file /usr/libexec/netdata/plugins.d/ebpf.d/ebpf.pid, it must have the current PID of ebpf.plugin
3 - Restart netdata and verify that you have only one ebpf.plugin running and the PID was updated inside the file.

Additional Information

@github-actions github-actions bot added the area/collectors Everything related to data collection label Jun 29, 2021
collectors/ebpf.plugin/ebpf.c Outdated Show resolved Hide resolved
@thiagoftsm thiagoftsm requested a review from vlvkobal June 29, 2021 17:30
@thiagoftsm thiagoftsm merged commit 3e806ab into netdata:master Jun 30, 2021
@thiagoftsm thiagoftsm deleted the ebpf_check_pid branch June 30, 2021 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/collectors Everything related to data collection
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants