Hi Luca 

ntopng.conf 

-w=3000 
-W=0 
-g=-1 
-m="removed for privacy" 
-X=1000000 
-x=1000000 
-d=/storage/ntopng 
-G=/var/tmp/ntopng.pid 
-i=tcp://127.0.0.1:5556 


After arround 5 minutes, web interface becomes unresponsive. Log entries are: 


6/Mar/2016 10:57:09 [Lua.cpp:4764] WARNING: Script failure 
[/usr/share/ntopng/scripts/lua/get_hosts_data.lua][not enough memory] 
16/Mar/2016 10:57:09 [Lua.cpp:4764] WARNING: Script failure 
[/usr/share/ntopng/scripts/lua/get_hosts_data.lua][not enough memory] 
16/Mar/2016 10:57:09 [Lua.cpp:4764] WARNING: Script failure 
[/usr/share/ntopng/scripts/lua/get_hosts_data.lua][not enough memory] 
16/Mar/2016 10:57:09 [Lua.cpp:4764] WARNING: Script failure 
[/usr/share/ntopng/scripts/lua/get_hosts_data.lua][not enough memory] 
16/Mar/2016 10:57:09 [Lua.cpp:4764] WARNING: Script failure 
[/usr/share/ntopng/scripts/lua/get_hosts_data.lua][not enough memory] 
16/Mar/2016 10:57:09 [Lua.cpp:4430] WARNING: Script failure 
[/usr/share/ntopng/scripts/callbacks/minute.lua][not enough memory] 



Atenciosamente, 




        

Alan Gregory 

Opcão Telecom 

Departamento de Redes 

+55 45 3253-2277 | 45 9907-9669 

alan @opcaonet.com.br 

skype: [email protected] 



De: "Luca Deri" <[email protected]> 
Para: [email protected] 
Enviadas: Quarta-feira, 16 de março de 2016 6:20:44 
Assunto: Re: [Ntop] 500k+ Flows 

Alan 
I have checked the issue and it works for me. 

Please try this "ntopng -s -i dummy -x 700000 -X 700000" (I have used 700k as a 
limit). 

If you can reproduce it, please post a bug report on github 

Regards Luca 


On 03/14/2016 07:00 PM, Simone Mainardi wrote: 



Alan, it is worth trying to optimize the following things: 

1. you can try and disable redis host persistency with -P. 

2. You can also limit the maximum number of flows and hosts handled with -X and 
-x respectively. 

3. Additionally, have a look at sticky hosts. 

If you are getting errors, then please detail them together with the hardware 
features of the machine that is running ntopng 


simone 

On Wed, Mar 9, 2016 at 7:17 PM, Alan Gregory < [email protected] > wrote: 

BQ_BEGIN

Anyone using ntopng for 500k+ flows ? We are facing some issues with memory 
limit usage. 


Atenciosamente, 




        

Alan Gregory 

Opcão Telecom 

Departamento de Redes 

+55 45 3253-2277 | 45 9907-9669 

alan @ opcaonet.com.br 

skype: [email protected] 


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






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

BQ_END


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

Reply via email to