Rahul do you really need all those sockets, it looks like a bad design choice.
Alfredo > On 06 Nov 2015, at 15:59, K Rahul <[email protected]> wrote: > > On 11/05/2015 05:29 PM, K Rahul wrote: >> On 11/04/2015 08:58 PM, Alfredo Cardigliano wrote: >>> Hi Rahul >>> you should increase MAX_NUM_RING_SOCKETS in kernel/linux/pf_ring.h, >>> currently it is set to 128. >>> >>> Alfredo >>> >>>> On 04 Nov 2015, at 16:00, K Rahul <[email protected]> wrote: >>>> >>>> Hi, >>>> >>>> we are using pfring to capture multicast packets. We are not using DNA or >>>> ZC drivers as our NIC does not support the same.We are using Broadcom >>>> Netxtreme BCM5721 NIC. If I use pfring_open more than 64 times, i.e >>>> pfring_open is called for 64 different multicast streams, then it returns >>>> a NULL. Is there any limit to pfring handles? If there is a limit, how can >>>> I increase it? >>>> >>>> Thanks >>>> >>>> Regards, >>>> Rahul >>>> _______________________________________________ >>>> Ntop-misc mailing list >>>> [email protected] >>>> http://listgateway.unipi.it/mailman/listinfo/ntop-misc >>> _______________________________________________ >>> Ntop-misc mailing list >>> [email protected] >>> http://listgateway.unipi.it/mailman/listinfo/ntop-misc >> Thank you for the prompt reply >> _______________________________________________ >> Ntop-misc mailing list >> [email protected] >> http://listgateway.unipi.it/mailman/listinfo/ntop-misc > Hi, > > We have increased the limit of MAX_NUM_RING_SOCKETS to 128 from 64. Now, > after opening 50 handles and more we are observing packet drops. Is there any > other variable that need to be handle to capture all the packets? > > Thank you > > Regards, > K Rahul > _______________________________________________ > Ntop-misc mailing list > [email protected] > http://listgateway.unipi.it/mailman/listinfo/ntop-misc _______________________________________________ Ntop-misc mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-misc
