reboot seems to hang when monitoring a flow in ntopng

Started by tswalker, January 29, 2021, 11:39:01 PM

Previous topic - Next topic
I did a reboot and noticed this during:

Waiting for PIDS: 53115
.


but it sat for a very long time.. not usual.

checked PIDs:


PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU COMMAND
53115 ntopng 20 0 248M 200M uwait 0 4:34 0.00% /usr/local/bin/ntopng /usr/local/etc/ntopng.conf -U ntopng -G /var/run/ntopng/ntopng.pid -1 /usr/local/share/ntopng/httpdocs -2 /usr/local/share/ntopng/scripts -3 /usr/local/share/ntopng/scripts/callbacks -e{ntopng}



and noticed i had the a browser open to a flow page checking a machine...  after closing, reboot proceeded as normal....

I thought that was really strange.

Best to take this to ntop. The daemon shouldn't block if it is being stopped by the OS framework. Either the port needs to be improved or something changed inside the code itself.


Cheers,
Franco

Quote from: franco on January 30, 2021, 01:37:23 PM
Best to take this to ntop. The daemon shouldn't block if it is being stopped by the OS framework. Either the port needs to be improved or something changed inside the code itself.


Cheers,
Franco

ok, thanks Franco.   I'll take a look and see for ntop submission.