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

Fix error while opening rrd.file #4

Merged
merged 2 commits into from
Jul 11, 2018

Conversation

dpino
Copy link

@dpino dpino commented Jul 11, 2018

There's an error while starting lwaftr run:

$ sudo ./snabb lwaftr run --cpu 10,11 --name lwaftr --conf lwaftr.conf --on-a-stick 82:00.0
Binding data-plane PID 18274 to CPU 10.
Bound main process to NUMA node:        1
Binding data-plane PID 18276 to CPU 11.
Error while running fiber: core/main.lua:26: File exists
Error while running fiber: core/main.lua:26: File exists
Error while running fiber: lib/ptree/ptree.lua:383: attempt to index a nil value

I think the problem is that rrd counters are created in the same folder as counters. When rrd counters are created int the pci folder, since the folder is now shared a process might to create a rrd counter that already exists.

@dpino
Copy link
Author

dpino commented Jul 11, 2018

On the other hand, there's an issue now with the snabb top view. Workers are not nested within their parent. Example:

screenshot1

screenshot2

@takikawa takikawa merged commit 166c72a into takikawa:shared-queue-stats Jul 11, 2018
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

Successfully merging this pull request may close these issues.

2 participants