Commit graph

15 commits

Author SHA1 Message Date
emanuele-f
e4a67824c1 Migrate slow periodic activity to alerts queue 2019-07-29 18:38:02 +02:00
emanuele-f
8a239f97f4 Trace periodic activities duration and generate an alert for long lasting ones 2019-06-21 11:41:38 +02:00
Luca Deri
bedff2c8e2 Updated (C) 2019-01-07 19:28:49 +01:00
Simone Mainardi
f30e042cfc Implements data cleanup for pcap interfaces
Implements #2092
2018-10-11 18:10:30 +02:00
Luca Deri
4a1c5c5696 Improved ntopng shutdown time/latency 2018-06-13 00:27:38 +02:00
Simone Mainardi
9f3f56999c Reworks shutdown to allow graceful periodic activ term 2018-06-01 12:38:31 +02:00
Simone Mainardi
078a0df62d Adds thread names on OS X 2018-04-13 18:35:09 +02:00
Luca Deri
f0c936c368 Updated (C) to 2018 2018-03-22 21:59:42 +01:00
emanuele-f
8ad7b4ce08 Quotas fixes and improvements
- Fix concurrency issue while resetting quotas
  - Fix quota serialization issues
  - Add missing total stats serialization
  - Add per-pool quotas reset
  - Fix missing string cast on cross application quotas
  - Fix quota reset after midnight when ntopng is restarted
2018-01-05 10:16:50 +01:00
emanuele-f
0288d5f0f4 Fix concurrent periodic scripts logic
The isRunning check is now performed on a per-interface basis
2017-11-29 16:26:14 +01:00
Luca
e1749daa23 Reworked callback scripts to make them concurrent and thus tackle issues related to slow execution on machines with many interfaces 2017-11-23 19:03:46 +01:00
Luca
2e8be3ee97 Added check to avoid race condition on periodic scripts 2017-10-20 08:07:51 +02:00
emanuele-f
ccb4c2cf19 Fix pthread_join on invalid pthread_t 2017-10-19 12:04:24 +02:00
Luca Deri
7f8bddcff1 Implemented thread pool to be used for splitting callback scripts 2017-10-18 22:32:00 +02:00
Simone Mainardi
22cc759e25 Scaffolding code for implementing per-interface threaded activities 2017-06-29 11:13:57 +02:00