Hi Luca,

It may be a load issue - because it seems to get worse later in the day.
Though top doesn't look to bad in terms of load average. Is there
a separate thread that writes the .json top_talker files?

Is there feature I can turn off make sure I capture the top talker information?
Current command to run ntopng below.
 sudo ./ntopng -l -s -ieth3 -d/var/tmp -w 3000 -n 0 -m 172.16.0.0/12,10.0.0.0/8,192.168.0.0/16

I just reniced ntopng to a -1 to see if that helps.

top - 10:41:06 up 145 days, 23:13,  3 users,  load average: 0.74, 0.77, 0.76
Tasks: 177 total,   1 running, 176 sleeping,   0 stopped,   0 zombie
Cpu0  : 42.6%us,  7.9%sy,  0.0%ni, 47.9%id,  0.0%wa,  0.0%hi,  1.7%si,  0.0%st
Cpu1  : 36.3%us,  4.9%sy,  0.0%ni, 44.9%id,  0.0%wa,  0.0%hi, 13.9%si,  0.0%st
Cpu2  : 23.6%us, 10.2%sy,  0.0%ni, 65.6%id,  0.0%wa,  0.0%hi,  0.7%si,  0.0%st
Cpu3  : 54.4%us,  4.9%sy,  0.0%ni, 17.8%id,  0.0%wa,  0.0%hi, 23.0%si,  0.0%st
Mem:   4142236k total,  3984968k used,   157268k free,   261772k buffers
Swap:  1023992k total,   142460k used,   881532k free,  3079140k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND   
18189 root      19  -1  249m 119m  34m S 171.4  3.0   1329:28 ntopng

I am currently running on a
model name      : Intel(R) Atom(TM) CPU D510   @ 1.66GHz
dual core with hyperthreading turned on.

I am currently seeing about (see below) across the link
that is being monitored.




On 10/10/2013 09:14 AM, Luca Deri wrote:
Steve
I cannot reproduce this problem. Please check if you have enough CPU cycles and acceptable load on your system

Luca

On Oct 9, 2013, at 6:06 PM, Steve Clark <[email protected]> wrote:

Hi Luca,

below is my command for running ntopng. What I am seeing is during
certain time periods some of the minute .json files don't get
written. What could cause this? See how at 08 they were all written
but as the day goes on more and more are missed.

sudo ./ntopng -l -s -ieth3 -d/var/tmp -w 3000 -n 0 -m 172.16.0.0/12,10.0.0.0/8,192.168.0.0/16
08/Oct/2013 15:48:00 [Redis.cpp:54] Successfully connected to Redis 32 bit v.2.6.14
08/Oct/2013 15:48:00 [Ntop.cpp:460] Setting local networks to 172.16.0.0/12,10.0.0.0/8,192.168.0.0/16
08/Oct/2013 15:48:00 [Prefs.cpp:557] WARNING: Config file /var/tmp/ntopng-users.conf not found (it will be created)
08/Oct/2013 15:48:00 [PF_RINGInterface.cpp:42] Reading packets from PF_RING v.5.6.2 interface eth3...
08/Oct/2013 15:48:00 [Ntop.cpp:567] Registered interface eth3 [id: 0]
08/Oct/2013 15:48:00 [main.cpp:189] PID stored in file /var/tmp/ntopng.pid
08/Oct/2013 15:48:00 [HTTPserver.cpp:338] HTTP server listening on port 3000 [/var/lib/pgsql/ntopng/httpdocs][/var/lib/pgsql/ntopng/scripts]
08/Oct/2013 15:48:00 [main.cpp:221] Using RRD version 1.4.7
08/Oct/2013 15:48:00 [main.cpp:230] Working directory: /var/tmp
08/Oct/2013 15:48:00 [main.cpp:232] Scripts/HTML pages directory: /var/lib/pgsql/ntopng
08/Oct/2013 15:48:00 [Ntop.cpp:168] Welcome to ntopng i686 v.1.0.2 (r6853) - (C) 1998-13 ntop.org

./08:
00.json  05.json  10.json  15.json  20.json  25.json  30.json  35.json  40.json  45.json  50.json  55.json
01.json  06.json  11.json  16.json  21.json  26.json  31.json  36.json  41.json  46.json  51.json  56.json
02.json  07.json  12.json  17.json  22.json  27.json  32.json  37.json  42.json  47.json  52.json  57.json
03.json  08.json  13.json  18.json  23.json  28.json  33.json  38.json  43.json  48.json  53.json  58.json
04.json  09.json  14.json  19.json  24.json  29.json  34.json  39.json  44.json  49.json  54.json  59.json

./09:
00.json  05.json  10.json  15.json  20.json  25.json  30.json  36.json  41.json  46.json  52.json  58.json
01.json  06.json  11.json  16.json  21.json  26.json  31.json  37.json  42.json  47.json  53.json  59.json
02.json  07.json  12.json  17.json  22.json  27.json  32.json  38.json  43.json  48.json  54.json
03.json  08.json  13.json  18.json  23.json  28.json  34.json  39.json  44.json  49.json  55.json
04.json  09.json  14.json  19.json  24.json  29.json  35.json  40.json  45.json  50.json  57.json

./10:
00.json  05.json  10.json  15.json  20.json  28.json  34.json  38.json  44.json  49.json  55.json
02.json  06.json  12.json  17.json  22.json  29.json  35.json  39.json  45.json  50.json  57.json
03.json  07.json  13.json  18.json  24.json  30.json  36.json  40.json  47.json  51.json  59.json
04.json  09.json  14.json  19.json  26.json  32.json  37.json  42.json  48.json  53.json

./11:
00.json  05.json  10.json  16.json  21.json  27.json  32.json  38.json  44.json  50.json  56.json
02.json  07.json  12.json  18.json  23.json  28.json  34.json  40.json  46.json  52.json  58.json
04.json  08.json  14.json  19.json  25.json  30.json  36.json  42.json  48.json  54.json


Thanks,

--
Stephen Clark
NetWolves
Director of Technology
Phone: 813-579-3200
Fax: 813-882-0209
Email: [email protected]
http://www.netwolves.com
_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev



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


--
Stephen Clark
NetWolves
Director of Technology
Phone: 813-579-3200
Fax: 813-882-0209
Email: [email protected]
http://www.netwolves.com

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

Reply via email to