Hi Max
your application is probably causing some memory corruption,
you said you have 4 threads, are you calling pfring_recv() on the same socket?

Alfredo
I have 4 interfaces for 4 threads ;)
I work in demo mode (time limit to 5minuts) and I have "extra messages" from libpfring ;)

[thread 1 PID =4100]
pfring_open('zc:eth11')
#########################################################################
# ERROR: You do not seem to have a valid PF_RING ZC license 6.0.2.140620 for eth11 [Intel 1 Gbit igb 82580-based]
# ERROR: Please get one at http://shop.ntop.org/.
#########################################################################
# We're now working in demo mode with packet capture and
# transmission limited to 5 minutes
#########################################################################
[thread 2 PID =4101]
pfring_open('zc:eth12')
#########################################################################
# ERROR: You do not seem to have a valid PF_RING ZC license 6.0.2.140620 for eth12 [Intel 1 Gbit igb 82580-based]
# ERROR: Please get one at http://shop.ntop.org/.
#########################################################################
[thread 3 PID =4102]
pfring_open('zc:eth13')
#########################################################################
# ERROR: You do not seem to have a valid PF_RING ZC license 6.0.2.140620 for eth13 [Intel 1 Gbit igb 82580-based]
# ERROR: Please get one at http://shop.ntop.org/.
#########################################################################

[thread 4 PID =4103]
pfring_open('zc:eth14')
#########################################################################
# ERROR: You do not seem to have a valid PF_RING ZC license 6.0.2.140620 for eth14 [Intel 1 Gbit igb 82580-based]
# ERROR: Please get one at http://shop.ntop.org/.
#########################################################################

After 22s I have
Message from syslogd@debian at Sep 24 15:21:41 ...
kernel:[ 236.209726] BUG: soft lockup - CPU#4 stuck for 22s! [PCAP_test:4100]

I found this solution:
"BUG: soft lockup" is always from thread with message "transmission limited to 5 minutes" , only first and only one thread have message "transmission limited to 5 minutes" .

In first thread I open and close first interface ;)
pfring =  pfring_open('zc:eth11');
pfring_close(pfring);
pfring =  pfring_open('zc:eth11');

Max
_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Reply via email to