You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately it seems that there are cases where shutdown does not end. Example when SNMP polling is in progress systemd waits a bit and then kills the app. This means that ntopng restart after package upgrade won't work as ntopng is still down
root@ntop:/home/deri# service ntopng status
(lldb) bt
__semwait_signal + 10 frame #1: 0x00007fff69f57824 libsystem_pthread.dylib
_pthread_join + 626frame ERROR: Unable to start HTTP server #2: 0x000000010d28974c ntopng
ThreadPool::~ThreadPool(this=0x00007fd85fee6de0) at ThreadPool.cpp:68 frame #3: 0x000000010d289ae5 ntopng
ThreadPool::~ThreadPool(this=0x00007fd85fee6de0) at ThreadPool.cpp:59frame Missing dependency on OS/X Yosemite #4: 0x000000010d289b09 ntopng
ThreadPool::~ThreadPool(this=0x00007fd85fee6de0) at ThreadPool.cpp:59 frame #5: 0x000000010d252ca4 ntopng
PeriodicActivities::~PeriodicActivities(this=0x00007fd859402500) at PeriodicActivities.cpp:62frame host alert thresholds #6: 0x000000010d252ed5 ntopng
PeriodicActivities::~PeriodicActivities(this=0x00007fd859402500) at PeriodicActivities.cpp:50 frame #7: 0x000000010d23db94 ntopng
Ntop::shutdownPeriodicActivities(this=0x00007fd85b003c00) at Ntop.cpp:2719frame added meta tag 'X-UA-Compatible' #8: 0x000000010d23dd0f ntopng
Ntop::shutdownAll(this=0x00007fd85b003c00) at Ntop.cpp:2748 frame #9: 0x000000010d2d4544 ntopng
main(argc=3, argv=0x00007ffee2b3d9a0) at main.cpp:421frame Merge branch 'dev' #10: 0x00007fff69c3b015 libdyld.dylib
start + 1 (lldb) frame #2: 0x000000010d28974c ntopng
ThreadPool::~ThreadPool(this=0x00007fd85fee6de0) at ThreadPool.cpp:6865 #ifdef THREAD_DEBUG
66 ntop->getTrace()->traceEvent(TRACE_NORMAL, "Threads still running %d", pool_size-i);
67 #endif
-> 68 pthread_join(it, &res);
69 }
70
71 threadsState.clear();
(lldb)
frame Add netfilter support #5: 0x000000010d252ca4 ntopng`PeriodicActivities::~PeriodicActivities(this=0x00007fd859402500) at PeriodicActivities.cpp:62
59
60 / This will terminate any possibly running activities into the ThreadPool::run */
61 if(standard_priority_pool) delete standard_priority_pool;
-> 62 if(longrun_priority_pool) delete longrun_priority_pool;
63 if(timeseries_pool) delete timeseries_pool;
64 if(notifications_pool) delete notifications_pool;
65 if(periodic_user_scripts_pool) delete periodic_user_scripts_pool;
The text was updated successfully, but these errors were encountered: