Bug #14788
closedNtopNG high swap usage
0%
Description
Issue:
100% SWAP usage on pfSense+ 23.05.1-RELEASE after a number of days of uptime when the package NtopNG 0.8.13_10 is running on the system.
Troubleshooting Done:
Found on the UI of pfSense+ that the SWAP usage was at 100% after a number of days being up. Checking with top -w and running the command "o" checking SWAP usage I can see that ntopng is causing the swap to be high - I disabled the package and swap went down to 8% - This looks to have confirmed an issue with the package on the latest public release of pfSense+
top usage:
[23.05.1-RELEASE][root@firewall.oleary.com]/root: top -w
last pid: 57647; load averages: 0.68, 0.63, 0.62 up 33+07:21:24 01:09:25
99 processes: 1 running, 90 sleeping, 8 zombie
CPU: 1.5% user, 0.0% nice, 0.3% system, 0.0% interrupt, 98.2% idle
Mem: 1971M Active, 706M Inact, 3081M Laundry, 1016M Wired, 546M Buf, 1093M Free
Swap: 3852M Total, 3852M Used, K Free, 100% Inuse
PID USERNAME THR PRI NICE SIZE RES SWAP STATE C TIME WCPU COMMAND
98924 root 60 20 0 11G 3337M 0B nanslp 0 106.4H 5.46% ntopng
17158 root 1 20 0 92M 35M 0B piperd 0 113:16 0.73% php_pfb
10250 unbound 4 20 0 297M 206M 0B kqread 3 0:35 0.03% unbound
System details:
CPU: Intel(R) Core(TM) i3-4150 CPU @ 3.50GHz
hardware threads
AES-NI CPU Crypto: Yes (active)
IPsec-MB Crypto: Yes (inactive)
QAT Crypto: No
RAM: 8GB