{"action":"created","issue":{"url":"https://api.github.com/repos/ntop/nProbe/issues/113","repository_url":"https://api.github.com/repos/ntop/nProbe","labels_url":"https://api.github.com/repos/ntop/nProbe/issues/113/labels{/name}","comments_url":"https://api.github.com/repos/ntop/nProbe/issues/113/comments","events_url":"https://api.github.com/repos/ntop/nProbe/issues/113/events","html_url":"https://github.com/ntop/nProbe/issues/113","id":185745822,"number":113,"title":"[cento] crashes soon after start when using hugepages","user":{"login":"JeremyAshton-shopify","id":18350116,"avatar_url":"https://avatars.githubusercontent.com/u/18350116?v=3","gravatar_id":"","url":"https://api.github.com/users/JeremyAshton-shopify","html_url":"https://github.com/JeremyAshton-shopify","followers_url":"https://api.github.com/users/JeremyAshton-shopify/followers","following_url":"https://api.github.com/users/JeremyAshton-shopify/following{/other_user}","gists_url":"https://api.github.com/users/JeremyAshton-shopify/gists{/gist_id}","starred_url":"https://api.github.com/users/JeremyAshton-shopify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JeremyAshton-shopify/subscriptions","organizations_url":"https://api.github.com/users/JeremyAshton-shopify/orgs","repos_url":"https://api.github.com/users/JeremyAshton-shopify/repos","events_url":"https://api.github.com/users/JeremyAshton-shopify/events{/privacy}","received_events_url":"https://api.github.com/users/JeremyAshton-shopify/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"cardigliano","id":7548711,"avatar_url":"https://avatars.githubusercontent.com/u/7548711?v=3","gravatar_id":"","url":"https://api.github.com/users/cardigliano","html_url":"https://github.com/cardigliano","followers_url":"https://api.github.com/users/cardigliano/followers","following_url":"https://api.github.com/users/cardigliano/following{/other_user}","gists_url":"https://api.github.com/users/cardigliano/gists{/gist_id}","starred_url":"https://api.github.com/users/cardigliano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cardigliano/subscriptions","organizations_url":"https://api.github.com/users/cardigliano/orgs","repos_url":"https://api.github.com/users/cardigliano/repos","events_url":"https://api.github.com/users/cardigliano/events{/privacy}","received_events_url":"https://api.github.com/users/cardigliano/received_events","type":"User","site_admin":false},"assignees":[{"login":"cardigliano","id":7548711,"avatar_url":"https://avatars.githubusercontent.com/u/7548711?v=3","gravatar_id":"","url":"https://api.github.com/users/cardigliano","html_url":"https://github.com/cardigliano","followers_url":"https://api.github.com/users/cardigliano/followers","following_url":"https://api.github.com/users/cardigliano/following{/other_user}","gists_url":"https://api.github.com/users/cardigliano/gists{/gist_id}","starred_url":"https://api.github.com/users/cardigliano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cardigliano/subscriptions","organizations_url":"https://api.github.com/users/cardigliano/orgs","repos_url":"https://api.github.com/users/cardigliano/repos","events_url":"https://api.github.com/users/cardigliano/events{/privacy}","received_events_url":"https://api.github.com/users/cardigliano/received_events","type":"User","site_admin":false}],"milestone":null,"comments":11,"created_at":"2016-10-27T18:29:58Z","updated_at":"2016-11-09T21:11:46Z","closed_at":null,"body":"if I run the following:\n\n```\n$ sudo /usr/local/bin/cento-ids -C 100 -v4 -H -Z -i cap0\n27/Oct/2016 18:24:05 [cento.cpp:1049] Welcome to nProbe cento v.1.3.161027\n27/Oct/2016 18:24:05 [cento.cpp:1050] Copyright 2015-16 - ntop\n27/Oct/2016 18:24:05 [cento.cpp:1052] SystemId: 8C718240B206AB23\n27/Oct/2016 18:24:05 [cento.cpp:1055] Permanent nProbe cento L license found [/etc/cento.license]\n27/Oct/2016 18:24:05 [cento.cpp:1071] Built on Ubuntu 14.04.5 LTS\n27/Oct/2016 18:24:05 [cento.cpp:1072] Available CPU Cores: 20\n27/Oct/2016 18:24:05 [cento.cpp:1073] Max flow duration set to 120 sec (-t)\n27/Oct/2016 18:24:05 [cento.cpp:1074] Max flow idleness set to 30 sec (-d)\n27/Oct/2016 18:24:05 [cento.cpp:1075] Flow hash size set to 512000 buckets (-w)\n27/Oct/2016 18:24:05 [cento.cpp:1076] Hashes will have up to 1024000 buckets (-W)\n27/Oct/2016 18:24:05 [cento.cpp:1079] WARNING: No flow export defined (missing -5/-9 parameters)\n27/Oct/2016 18:24:05 [cento.cpp:1080] WARNING: Flows are just harvested after they are expired\n27/Oct/2016 18:24:05 [cento.cpp:896] Setting up interface cap0\n27/Oct/2016 18:24:05 [cento.cpp:1266] Initialized global ZC cluster 100\n27/Oct/2016 18:24:05 [Utils.cpp:512] Interface cap0 has speed = 10000\n27/Oct/2016 18:24:05 [MemoryManager.cpp:51] Memory manager initalized [huge pages]\n27/Oct/2016 18:24:05 [ZCInterface.cpp:99] Reading packets from interface cap0...\n27/Oct/2016 18:24:05 [cento.cpp:1335] Created interface cap0\n27/Oct/2016 18:24:05 [Runtime.cpp:278] cap0 supported speed: 10000 Mbit/s\n27/Oct/2016 18:24:05 [cento.cpp:303] cento changed user to 'nobody'\n27/Oct/2016 18:24:05 [FlowExporter.cpp:32] Started flow exporter for cap0\n```\n\nwhereas:\n\n```\n$ sudo /usr/local/bin/cento-ids -C 100 -v4 -Z -i cap0\n27/Oct/2016 18:24:16 [cento.cpp:1049] Welcome to nProbe cento v.1.3.161027\n27/Oct/2016 18:24:16 [cento.cpp:1050] Copyright 2015-16 - ntop\n27/Oct/2016 18:24:16 [cento.cpp:1052] SystemId: 8C718240B206AB23\n27/Oct/2016 18:24:16 [cento.cpp:1055] Permanent nProbe cento L license found [/etc/cento.license]\n27/Oct/2016 18:24:16 [cento.cpp:1071] Built on Ubuntu 14.04.5 LTS\n27/Oct/2016 18:24:16 [cento.cpp:1072] Available CPU Cores: 20\n27/Oct/2016 18:24:16 [cento.cpp:1073] Max flow duration set to 120 sec (-t)\n27/Oct/2016 18:24:16 [cento.cpp:1074] Max flow idleness set to 30 sec (-d)\n27/Oct/2016 18:24:16 [cento.cpp:1075] Flow hash size set to 512000 buckets (-w)\n27/Oct/2016 18:24:16 [cento.cpp:1076] Hashes will have up to 1024000 buckets (-W)\n27/Oct/2016 18:24:16 [cento.cpp:1079] WARNING: No flow export defined (missing -5/-9 parameters)\n27/Oct/2016 18:24:16 [cento.cpp:1080] WARNING: Flows are just harvested after they are expired\n27/Oct/2016 18:24:16 [cento.cpp:896] Setting up interface cap0\n27/Oct/2016 18:24:16 [cento.cpp:1266] Initialized global ZC cluster 100\n27/Oct/2016 18:24:16 [Utils.cpp:512] Interface cap0 has speed = 10000\n27/Oct/2016 18:24:16 [ZCInterface.cpp:99] Reading packets from interface cap0...\n27/Oct/2016 18:24:16 [cento.cpp:1335] Created interface cap0\n27/Oct/2016 18:24:16 [Runtime.cpp:278] cap0 supported speed: 10000 Mbit/s\n27/Oct/2016 18:24:16 [cento.cpp:303] cento changed user to 'nobody'\n27/Oct/2016 18:24:16 [FlowExporter.cpp:32] Started flow exporter for cap0\n27/Oct/2016 18:24:17 [NetworkInterface.cpp:995] [cap0] [0 pps/0.00 Gbps][13'484/0/0/512'000 act/exp/drop/max flows][0/0 RX/TX pkt drops][0 TX pps][13'484 active flows]\n27/Oct/2016 18:24:17 [FlowExporter.cpp:82] [cap0] Flow Export Queue [0 total][0/0 IPv4/v6][Drops queue too long 0/0 IPv4/v6]\n27/Oct/2016 18:24:18 [NetworkInterface.cpp:995] [cap0] [83'831 pps/0.33 Gbps][22'486/0/0/512'000 act/exp/drop/max flows][0/0 RX/TX pkt drops][0 TX pps][22'486 active flows]\n27/Oct/2016 18:24:18 [FlowExporter.cpp:82] [cap0] Flow Export Queue [0 total][0/0 IPv4/v6][Drops queue too long 0/0 IPv4/v6]\n27/Oct/2016 18:24:18 [cento.cpp:1560] Actual stats: 83'831 pps/0 drops [22'486 active flows][0 flow exports]\n27/Oct/2016 18:24:19 [NetworkInterface.cpp:995] [cap0] [94'371 pps/0.40 Gbps][30'908/0/0/512'000 act/exp/drop/max flows][0/0 RX/TX pkt drops][0 TX pps][30'907 active flows]\n27/Oct/2016 18:24:19 [FlowExporter.cpp:82] [cap0] Flow Export Queue [0 total][0/0 IPv4/v6][Drops queue too long 0/0 IPv4/v6]\n27/Oct/2016 18:24:19 [cento.cpp:1560] Actual stats: 94'371 pps/0 drops [30'908 active flows][0 flow exports]\n^C27/Oct/2016 18:24:20 [cento.cpp:318] Received shutdown request... [signal: 2]\n27/Oct/2016 18:24:20 [ZCInterface.cpp:374] Terminated packet polling for cap0\n27/Oct/2016 18:24:20 [ZCInterface.cpp:380] [319.72 K Pkts/148.54 MB]\n27/Oct/2016 18:24:20 [FlowExporter.cpp:45] Terminated flow exporter for cap0\n27/Oct/2016 18:24:20 [FlowExporter.cpp:206] [cap0][coreId: 1] Exported 35395 flows [769'456 flows/sec]\n27/Oct/2016 18:24:20 [FlowExporter.cpp:82] [cap0] Flow Export Queue [35395 total][35395/0 IPv4/v6][Drops queue too long 0/0 IPv4/v6]\n27/Oct/2016 18:24:20 [FlowExporter.cpp:66] [cap0] Exported 35395 flows\n```\n\n```\n$ uname -r\n3.19.0-73-generic\n```\n\n```\n$ lsb_release -a\nNo LSB modules are available.\nDistributor ID:  Ubuntu\nDescription:  Ubuntu 14.04.5 LTS\nRelease:  14.04\nCodename:  trusty\n```\n\n```\n$ dkms status\ne1000e-zc, 3.2.7.1.942, 3.19.0-73-generic, x86_64: installed\nfm10k-zc, 0.20.1.942, 3.19.0-73-generic, x86_64: installed\ni40e-zc, 1.5.18.942, 3.19.0-73-generic, x86_64: installed\nigb-zc, 5.3.3.5.942, 3.19.0-73-generic, x86_64: installed\nixgbe-zc, 4.1.5.942, 3.19.0-73-generic, x86_64: installed\npfring, 6.5.0, 3.19.0-73-generic, x86_64: installed\nsysdig, 0.8.0, 3.16.0-77-generic, x86_64: installed\nsysdig, 0.8.0, 3.19.0-71-generic, x86_64: installed\nsysdig, 0.8.0, 3.19.0-73-generic, x86_64: installed\n```\n\n```\n$ cat /proc/net/pf_ring/info\nPF_RING Version          : 6.5.0 (dev:9789c1293837e3526e9806da7204f963b3b4929e)\nTotal rings              : 0\n\nStandard (non ZC) Options\nRing slots               : 4096\nSlot version             : 16\nCapture TX               : No [RX only]\nIP Defragment            : No\nSocket Mode              : Standard\nCluster Fragment Queue   : 0\nCluster Fragment Discard : 0\n```\n\nI get identical behaviour on both servers.  And, I get identifcal behaviour if I run librdkafka1 v0.8.3 or v0.8.6.\n"},"comment":{"url":"https://api.github.com/repos/ntop/nProbe/issues/comments/259527796","html_url":"https://github.com/ntop/nProbe/issues/113#issuecomment-259527796","issue_url":"https://api.github.com/repos/ntop/nProbe/issues/113","id":259527796,"user":{"login":"JeremyAshton-shopify","id":18350116,"avatar_url":"https://avatars.githubusercontent.com/u/18350116?v=3","gravatar_id":"","url":"https://api.github.com/users/JeremyAshton-shopify","html_url":"https://github.com/JeremyAshton-shopify","followers_url":"https://api.github.com/users/JeremyAshton-shopify/followers","following_url":"https://api.github.com/users/JeremyAshton-shopify/following{/other_user}","gists_url":"https://api.github.com/users/JeremyAshton-shopify/gists{/gist_id}","starred_url":"https://api.github.com/users/JeremyAshton-shopify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JeremyAshton-shopify/subscriptions","organizations_url":"https://api.github.com/users/JeremyAshton-shopify/orgs","repos_url":"https://api.github.com/users/JeremyAshton-shopify/repos","events_url":"https://api.github.com/users/JeremyAshton-shopify/events{/privacy}","received_events_url":"https://api.github.com/users/JeremyAshton-shopify/received_events","type":"User","site_admin":false},"created_at":"2016-11-09T21:11:46Z","updated_at":"2016-11-09T21:11:46Z","body":"Definite improvement but it seems to fail when I start using multiple `-F` arguments:\r\n```\r\nNov  9 21:10:13 <redacted> kernel: [12502.252042] cento-ids[21547]: segfault at 53f8e60 ip 0000000000446505 sp 00007ffd259e6690 error 4 in cento-ids[400000+127000]\r\n```"}}
{"actor":{"display_login":"JeremyAshton-shopify"}}