PF_RING
PF_RING copied to clipboard
Can't open queue created by zbalance_ipc using zcount
I ran : ./zbalance_ipc -i zc:ens192 -c 2 -n 4 -m 1 9/Dec/2024 16:08:50 [zbalance_ipc.c:1568] Starting balancer with 4 consumer queues.. 09/Dec/2024 16:08:50 [zbalance_ipc.c:1580] Run your application instances as follows: 09/Dec/2024 16:08:50 [zbalance_ipc.c:1586] pfcount -i zc:2@0 09/Dec/2024 16:08:50 [zbalance_ipc.c:1586] pfcount -i zc:2@1 09/Dec/2024 16:08:50 [zbalance_ipc.c:1586] pfcount -i zc:2@2 09/Dec/2024 16:08:50 [zbalance_ipc.c:1586] pfcount -i zc:2@3 09/Dec/2024 16:08:50 [zbalance_ipc.c:1630] Running balancer #0 on core -1...
Trying to open one of the queues by running zcount: ./zcount -i zc:2@0
pfring_zc_open_device error [Socket operation on non-socket] Please check that zc:2@0 is up and not already used
What could be the problem? ./zbalance_ipc reads the traffic, but I can't use one of the queues it opens.
This is working for me. Are you running zcount as root? PF_RING version?
yes, I ran both as root. zcount - (C) 2014-24 ntop Using PF_RING v.8.9.0.241112
zbalance_ipc - (C) 2014-24 ntop Using PFRING_ZC v.8.9.0.241112
@ronygut I pushed a patch to be able to check the status of the queues. Please update, and make sure you also reload the (new) pf_ring kernel module. Then run the balancer with -p and check the output (or cat /proc/net/pf_ring/stats/*)