Hi
it seems that you actually have 256 pf_ring sockets running (as you’ve seen this
is a hardcoded limit), is that expected?

Alfredo

> On 3 May 2018, at 11:28, milad arabi <[email protected]> wrote:
> 
> here you are:
> # cat /proc/net/pf_ring/info
> PF_RING Version          : 7.1.0 
> (dev:693af7a76b6f020a267459de87a03f6ce81b60ca)
> Total rings              : 256
> Standard (non ZC) Options
> Ring slots               : 4096
> Slot version             : 17
> Capture TX               : Yes [RX+TX]
> IP Defragment            : No
> Socket Mode              : Standard
> Cluster Fragment Queue   : 0
> Cluster Fragment Discard : 0
> 
> 
> On Thu, May 3, 2018 at 1:54 PM, Alfredo Cardigliano <[email protected] 
> <mailto:[email protected]>> wrote:
> Please provide  cat /proc/net/pf_ring/info
> 
> Alfredo
> 
>> On 3 May 2018, at 11:15, milad arabi <[email protected] 
>> <mailto:[email protected]>> wrote:
>> 
>> I ran all commands with root.
>> 
>> After runing pfcount,one line added to dmesg.
>> #dmesg | tail
>> [ 2806.601203] [PF_RING] Exceeded the maximum number of list items
>> [ 3055.221248] [PF_RING] Exceeded the maximum number of list items
>> [ 3055.227500] [PF_RING] Exceeded the maximum number of list items
>> [ 3248.227713] [PF_RING] Exceeded the maximum number of list items
>> [ 3254.607473] [PF_RING] Exceeded the maximum number of list items
>> [ 3908.178971] [PF_RING] Exceeded the maximum number of list items
>> [ 3908.185082] [PF_RING] Exceeded the maximum number of list items
>> [ 3990.816291] [PF_RING] Exceeded the maximum number of list items
>> [224420.870089] [PF_RING] Exceeded the maximum number of list items
>> [224902.613914] [PF_RING] Exceeded the maximum number of list items
>> 
>> maybe this information is irrelevant but:
>> # cat /usr/src/ixgbe-zc-5.0.4.1888/pf_ring.h | grep  MAX_NUM_RING_SOCKETS
>> #define MAX_NUM_RING_SOCKETS          256
>> #define MAX_NUM_LIST_ELEMENTS MAX_NUM_RING_SOCKETS /* sizeof(bits_set) [see 
>> below] */
>> #define MAX_NUM_ZC_BOUND_SOCKETS MAX_NUM_RING_SOCKETS
>> 
>> # cat /usr/local/include/linux/pf_ring.h | grep MAX_NUM_RING_SOCKETS
>> #define MAX_NUM_RING_SOCKETS          256
>> #define MAX_NUM_LIST_ELEMENTS MAX_NUM_RING_SOCKETS /* sizeof(bits_set) [see 
>> below] */
>> #define MAX_NUM_ZC_BOUND_SOCKETS MAX_NUM_RING_SOCKETS
>> 
>> 
>> On Thu, May 3, 2018 at 1:24 PM, Alfredo Cardigliano <[email protected] 
>> <mailto:[email protected]>> wrote:
>> Hi
>> are you running the application as root?
>> Please also provide "dmesg | tail” after running pfcount
>> 
>> Thank you
>> Alfredo
>> _______________________________________________
>> Ntop mailing list
>> [email protected] <mailto:[email protected]>
>> http://listgateway.unipi.it/mailman/listinfo/ntop 
>> <http://listgateway.unipi.it/mailman/listinfo/ntop>
> 
> _______________________________________________
> Ntop mailing list
> [email protected] <mailto:[email protected]>
> http://listgateway.unipi.it/mailman/listinfo/ntop 
> <http://listgateway.unipi.it/mailman/listinfo/ntop>
> 
> _______________________________________________
> Ntop mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop

Attachment: signature.asc
Description: Message signed with OpenPGP

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

Reply via email to