Is it  bug ?

I have 4*"Intel 1 Gbit igb 82580", and create threads many times  .

intmain (){inta;for(a =0;a <15000;a++ ){printf("value of a: %d\n",a);create_thread('eth10:zc'); // In start thread pfring_open and pfring_close after finish thread create_thread('eth11:zc'); create_thread('eth12:zc'); create_thread('eth13:zc'); wait_for_finish_all_threads(); }return0;}


When a = 250 ( I called x1000 pfring_open and x1000 pfring_close )


When a = 250 pfring_open return NULL
And this message on standard output
#########################################################################
# ERROR: You do not seem to have a valid PF_RING ZC license 6.0.3.150218 for eth13 [Intel 1 Gbit igb 82580-based]
# ERROR: Please get one at http://shop.ntop.org/.
#########################################################################
When a < 250 all works OK pfring_open return correct result . And I have "PF_RING ZC license"

What advice? Change code and don't use loop ?

M





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

Reply via email to