Giter Club home page Giter Club logo

Comments (10)

wb2osz avatar wb2osz commented on June 6, 2024

Thank you for reporting this.
I have not been able to reproduce this issue but I think commit 7a8e432 will solve the problem.
Please try the most recent, in the dev branch, and let me know how it goes.

73, John WB2OSZ

from direwolf.

ngc6589 avatar ngc6589 commented on June 6, 2024

WB2OSZ

Hello.
Thanks for the fix. I built commit number 7a8e432 today and restarted direwolf.
Let it run for 2 weeks and see if the Memory Leak message occurs.

73 JP3SRS

from direwolf.

F4FXL avatar F4FXL commented on June 6, 2024

Hi,

I had similar issue on 3 of my setups.

  • One system is running Armbian Bullsseye 32bits
  • Two systems running raspbian 64bits

Now testing with the fix.

from direwolf.

wb2osz avatar wb2osz commented on June 6, 2024

F4FXL -

Were you using multiple radio channels?

from direwolf.

F4FXL avatar F4FXL commented on June 6, 2024

Only one channel.

Direwolf crashed and restarted after approx 10 to 15 days. Yesterday I noticed that one of my digipeaters stopped sending its beacons to RF but was sending them to IS. I think it had just reached some erratic state before crashing. I checked the other digipeaters and noticed they had also restarted.

I am running Direwold as a systemd service through tmux so the terminal output is lost when the service gets restarted upon crash.

Edit: all of the digipeaters run with FX25

from direwolf.

ngc6589 avatar ngc6589 commented on June 6, 2024

I was doing a direwolf running test. It ended in a week due to a power outage. Lightning is the cause.

Here is the output of the ps aux -L command after a week.

USER       PID   LWP %CPU NLWP %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
pi       21526 21526  0.0   13  0.1 119288  5460 pts/1    Sl+  Aug17   1:26 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi       21526 21528  0.0   13  0.1 119288  5460 pts/1    Sl+  Aug17   0:09 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi       21526 21529  0.0   13  0.1 119288  5460 pts/1    Sl+  Aug17   0:26 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi       21526 21530  0.0   13  0.1 119288  5460 pts/1    Sl+  Aug17   0:05 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi       21526 21531  0.0   13  0.1 119288  5460 pts/1    Sl+  Aug17   0:25 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi       21526 21532  0.0   13  0.1 119288  5460 pts/1    Sl+  Aug17   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi       21526 21533  0.0   13  0.1 119288  5460 pts/1    Sl+  Aug17   0:21 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi       21526 21534  0.0   13  0.1 119288  5460 pts/1    Sl+  Aug17   0:23 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi       21526 21535  0.0   13  0.1 119288  5460 pts/1    Sl+  Aug17   0:22 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi       21526 21536  0.0   13  0.1 119288  5460 pts/1    Sl+  Aug17   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi       21526 21537  0.0   13  0.1 119288  5460 pts/1    Sl+  Aug17   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi       21526 21538 27.3   13  0.1 119288  5460 pts/1    Rl+  Aug17 2748:13 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi       21526 21539 15.2   13  0.1 119288  5460 pts/1    Sl+  Aug17 1536:52 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii

Usage of aprs Raspberry Pi collected by cacti was stable.(A graph for one week is output)
usage

I couldn't check for 2 weeks due to the power outage.
Since direwolf has restarted, I would like to see the progress again.
I think that the current situation is stable, so I will leave the Close judgment to you.
(Regardless of open/close, the result will be written here again)

from direwolf.

wb2osz avatar wb2osz commented on June 6, 2024

Thank you for that analysis.
I don't think this was ever reported before so it came as a surprise. I run for months without seeing it.
I visually traced through the code and don't see how there could be a memory leak.
The configuration file revealed that 2 radio channels were being used. Each audio device has its own thread for processing. My theory is that the allocate and free counters were not updated properly on very rare occasions due to 2 threads updating the counters. I added the "volatile" attribute to the counters to see if this might solve the issue.

73,
John WB2OSZ

from direwolf.

ngc6589 avatar ngc6589 commented on June 6, 2024

I checked the VSS RSS in the ps command after starting direwolf. There was no change in VSS RSS in one week. The system is running stable.
The cacti graph is also stable with no change in CPU usage.

I think the volatile setting of the counter variable you described worked. Personally, I think it is fine to close it.

73 JP3SRS


2023/08/24 restart direwolf (Power outage due to thunderStorm)
USER       PID   LWP %CPU NLWP %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
pi         969   969  0.0   13  0.1 116216  4904 pts/1    Sl+  14:34   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   971  0.0   13  0.1 116216  4904 pts/1    Sl+  14:34   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   972  0.0   13  0.1 116216  4904 pts/1    Sl+  14:34   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   973  0.0   13  0.1 116216  4904 pts/1    Sl+  14:34   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   974  0.0   13  0.1 116216  4904 pts/1    Sl+  14:34   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   975  0.0   13  0.1 116216  4904 pts/1    Sl+  14:34   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   976  0.0   13  0.1 116216  4904 pts/1    Sl+  14:34   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   977  0.0   13  0.1 116216  4904 pts/1    Sl+  14:34   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   978  0.0   13  0.1 116216  4904 pts/1    Sl+  14:34   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   979  0.0   13  0.1 116216  4904 pts/1    Sl+  14:34   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   980  0.0   13  0.1 116216  4904 pts/1    Sl+  14:34   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   981 25.5   13  0.1 116216  4904 pts/1    Rl+  14:34   0:10 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   982 14.1   13  0.1 116216  4904 pts/1    Rl+  14:34   0:06 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii

2023/08/24 15:00
pi@pi4-aprs:~ $ ps aux -L | grep dire
USER       PID   LWP %CPU NLWP %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
pi         969   969  0.0   13  0.1 119288  5684 pts/1    Sl+  14:34   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   971  0.0   13  0.1 119288  5684 pts/1    Sl+  14:34   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   972  0.0   13  0.1 119288  5684 pts/1    Sl+  14:34   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   973  0.0   13  0.1 119288  5684 pts/1    Sl+  14:34   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   974  0.0   13  0.1 119288  5684 pts/1    Sl+  14:34   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   975  0.0   13  0.1 119288  5684 pts/1    Sl+  14:34   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   976  0.0   13  0.1 119288  5684 pts/1    Sl+  14:34   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   977  0.0   13  0.1 119288  5684 pts/1    Sl+  14:34   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   978  0.0   13  0.1 119288  5684 pts/1    Sl+  14:34   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   979  0.0   13  0.1 119288  5684 pts/1    Sl+  14:34   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   980  0.0   13  0.1 119288  5684 pts/1    Sl+  14:34   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   981 27.2   13  0.1 119288  5684 pts/1    Sl+  14:34   9:01 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   982 15.2   13  0.1 119288  5684 pts/1    Rl+  14:34   5:04 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii

2023/08/25 08:10
pi@pi4-aprs:~ $ ps aux -L | grep dire
USER       PID   LWP %CPU NLWP %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
pi         969   969  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:05 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   971  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   972  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:01 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   973  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   974  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:02 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   975  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   976  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:02 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   977  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:02 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   978  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:02 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   979  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   980  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   981 27.3   13  0.1 119288  5684 pts/1    Sl+  Aug24 288:26 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   982 15.3   13  0.1 119288  5684 pts/1    Sl+  Aug24 162:07 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii

2023/08/26 10:27
pi@pi4-aprs:~ $ ps aux -L | grep dire
USER       PID   LWP %CPU NLWP %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
pi         969   969  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:16 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   971  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:02 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   972  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:03 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   973  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:01 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   974  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:05 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   975  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   976  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:05 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   977  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:05 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   978  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:05 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   979  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   980  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   981 27.2   13  0.1 119288  5684 pts/1    Sl+  Aug24 717:23 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   982 15.3   13  0.1 119288  5684 pts/1    Sl+  Aug24 403:47 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii

2023/08/27 17:48
pi@pi4-aprs:~ $ ps aux -L | grep dire
USER       PID   LWP %CPU NLWP %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
pi         969   969  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:27 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   971  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:04 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   972  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:05 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   973  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:02 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   974  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:09 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   975  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   976  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:09 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   977  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:10 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   978  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:09 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   979  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   980  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   981 27.2   13  0.1 119288  5684 pts/1    Sl+  Aug24 1228:36 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   982 15.3   13  0.1 119288  5684 pts/1    Sl+  Aug24 691:41 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii


2023/08/28 21:30
pi@pi4-aprs:~ $ ps aux -L | grep dire
USER       PID   LWP %CPU NLWP %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
pi         969   969  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:38 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   971  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:05 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   972  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:07 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   973  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:03 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   974  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:12 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   975  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   976  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:13 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   977  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:13 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   978  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:13 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   979  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   980  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   981 27.2   13  0.1 119288  5684 pts/1    Sl+  Aug24 1680:32 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   982 15.3   13  0.1 119288  5684 pts/1    Sl+  Aug24 946:09 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii


2023/08/29 07:57
pi@pi4-aprs:~ $ ps aux -L | grep dire
USER       PID   LWP %CPU NLWP %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
pi         969   969  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:42 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   971  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:06 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   972  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:08 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   973  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:03 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   974  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:13 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   975  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   976  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:14 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   977  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:15 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   978  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:15 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   979  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   980  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   981 27.2   13  0.1 119288  5684 pts/1    Sl+  Aug24 1851:47 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   982 15.3   13  0.1 119288  5684 pts/1    Rl+  Aug24 1042:29 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii

2023/08/30 08:15
pi@pi4-aprs:~ $ ps aux -L | grep dire
USER       PID   LWP %CPU NLWP %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
pi         969   969  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:50 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   971  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:07 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   972  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:09 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   973  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:04 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   974  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:16 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   975  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   976  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:17 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   977  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:18 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   978  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:18 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   979  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   980  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   981 27.2   13  0.1 119288  5684 pts/1    Sl+  Aug24 2248:50 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   982 15.3   13  0.1 119288  5684 pts/1    Sl+  Aug24 1266:04 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii

2023/08/31 12:08
pi@pi4-aprs:~ $ ps aux -L | grep dire
USER       PID   LWP %CPU NLWP %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
pi         969   969  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   1:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   971  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:08 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   972  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:11 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   973  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:05 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   974  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:20 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   975  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   976  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:21 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   977  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:22 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   978  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:21 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   979  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   980  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   981 27.2   13  0.1 119288  5684 pts/1    Sl+  Aug24 2702:48 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   982 15.3   13  0.1 119288  5684 pts/1    Sl+  Aug24 1521:29 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii

RaspberryPi-aprs-utilization

from direwolf.

ngc6589 avatar ngc6589 commented on June 6, 2024

To follow up on one previous message, it has been 2 weeks since I started direwolf.
It is running without any problems.

2023/09/02 07:56
pi@pi4-aprs:~ $ ps aux -L | grep dire
pi         969   969  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   1:14 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   971  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:10 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   972  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:14 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   973  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:06 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   974  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:25 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   975  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   976  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:26 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   977  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:28 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   978  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:27 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   979  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   980  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   981 27.2   13  0.1 119288  5684 pts/1    Rl+  Aug24 3418:56 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   982 15.3   13  0.1 119288  5684 pts/1    Sl+  Aug24 1924:30 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii


2023/09/03 07:55
pi@pi4-aprs:~ $ ps aux -L | grep dire
pi         969   969  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   1:24 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   971  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:12 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   972  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:16 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   973  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:07 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   974  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:28 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   975  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   976  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:29 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   977  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:31 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   978  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:30 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   979  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   980  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   981 27.2   13  0.1 119288  5684 pts/1    Sl+  Aug24 3810:18 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   982 15.3   13  0.1 119288  5684 pts/1    Sl+  Aug24 2144:57 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii


2023/09/04 08:19
pi@pi4-aprs:~ $ ps aux -L | grep  dire
pi         969   969  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   1:32 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   971  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:13 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   972  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:18 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   973  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:08 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   974  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:31 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   975  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   976  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:33 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   977  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:34 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   978  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:33 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   979  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   980  0.0   13  0.1 119288  5684 pts/1    Sl+  Aug24   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   981 27.2   13  0.1 119288  5684 pts/1    Sl+  Aug24 4209:49 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   982 15.3   13  0.1 119288  5684 pts/1    Sl+  Aug24 2369:55 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii

2023/09/05 09:03
pi@pi4-aprs:~ $ ps aux -L | grep dire
pi         969   969  0.0   13  0.1 119288  5944 pts/1    Sl+  Aug24   1:40 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   971  0.0   13  0.1 119288  5944 pts/1    Sl+  Aug24   0:14 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   972  0.0   13  0.1 119288  5944 pts/1    Sl+  Aug24   0:20 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   973  0.0   13  0.1 119288  5944 pts/1    Sl+  Aug24   0:08 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   974  0.0   13  0.1 119288  5944 pts/1    Sl+  Aug24   0:34 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   975  0.0   13  0.1 119288  5944 pts/1    Sl+  Aug24   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   976  0.0   13  0.1 119288  5944 pts/1    Sl+  Aug24   0:36 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   977  0.0   13  0.1 119288  5944 pts/1    Sl+  Aug24   0:37 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   978  0.0   13  0.1 119288  5944 pts/1    Sl+  Aug24   0:36 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   979  0.0   13  0.1 119288  5944 pts/1    Sl+  Aug24   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   980  0.0   13  0.1 119288  5944 pts/1    Sl+  Aug24   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   981 27.2   13  0.1 119288  5944 pts/1    Sl+  Aug24 4615:17 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   982 15.3   13  0.1 119288  5944 pts/1    Rl+  Aug24 2598:09 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii

2023/09/06 07:58
pi@pi4-aprs:~ $ ps aux -L | grep dire
pi         969   969  0.0   13  0.1 119288  5944 pts/1    Sl+  Aug24   1:49 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   971  0.0   13  0.1 119288  5944 pts/1    Sl+  Aug24   0:15 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   972  0.0   13  0.1 119288  5944 pts/1    Sl+  Aug24   0:21 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   973  0.0   13  0.1 119288  5944 pts/1    Sl+  Aug24   0:09 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   974  0.0   13  0.1 119288  5944 pts/1    Sl+  Aug24   0:36 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   975  0.0   13  0.1 119288  5944 pts/1    Sl+  Aug24   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   976  0.0   13  0.1 119288  5944 pts/1    Sl+  Aug24   0:39 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   977  0.0   13  0.1 119288  5944 pts/1    Sl+  Aug24   0:40 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   978  0.0   13  0.1 119288  5944 pts/1    Sl+  Aug24   0:39 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   979  0.0   13  0.1 119288  5944 pts/1    Sl+  Aug24   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   980  0.0   13  0.1 119288  5944 pts/1    Sl+  Aug24   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   981 27.2   13  0.1 119288  5944 pts/1    Rl+  Aug24 4988:28 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   982 15.3   13  0.1 119288  5944 pts/1    Sl+  Aug24 2808:18 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii

2023/09/07 19:42
pi@pi4-aprs:~ $ ps aux -L | grep dire
pi         969   969  0.0   13  0.1 119288  5944 pts/1    Sl+  Aug24   2:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   971  0.0   13  0.1 119288  5944 pts/1    Sl+  Aug24   0:16 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   972  0.0   13  0.1 119288  5944 pts/1    Sl+  Aug24   0:24 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   973  0.0   13  0.1 119288  5944 pts/1    Sl+  Aug24   0:10 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   974  0.0   13  0.1 119288  5944 pts/1    Sl+  Aug24   0:41 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   975  0.0   13  0.1 119288  5944 pts/1    Sl+  Aug24   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   976  0.0   13  0.1 119288  5944 pts/1    Sl+  Aug24   0:43 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   977  0.0   13  0.1 119288  5944 pts/1    Sl+  Aug24   0:44 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   978  0.0   13  0.1 119288  5944 pts/1    Sl+  Aug24   0:44 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   979  0.0   13  0.1 119288  5944 pts/1    Sl+  Aug24   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   980  0.0   13  0.1 119288  5944 pts/1    Sl+  Aug24   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   981 27.2   13  0.1 119288  5944 pts/1    Sl+  Aug24 5572:29 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   982 15.3   13  0.1 119288  5944 pts/1    Sl+  Aug24 3136:54 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii

2023/09/08 12:37
pi@pi4-aprs:~ $ ps aux -L | grep direwolf
pi         969   969  0.0   13  0.1 119288  5944 pts/1    Sl+  Aug24   2:06 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   971  0.0   13  0.1 119288  5944 pts/1    Sl+  Aug24   0:17 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   972  0.0   13  0.1 119288  5944 pts/1    Sl+  Aug24   0:25 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   973  0.0   13  0.1 119288  5944 pts/1    Sl+  Aug24   0:11 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   974  0.0   13  0.1 119288  5944 pts/1    Sl+  Aug24   0:43 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   975  0.0   13  0.1 119288  5944 pts/1    Sl+  Aug24   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   976  0.0   13  0.1 119288  5944 pts/1    Sl+  Aug24   0:45 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   977  0.0   13  0.1 119288  5944 pts/1    Sl+  Aug24   0:47 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   978  0.0   13  0.1 119288  5944 pts/1    Sl+  Aug24   0:46 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   979  0.0   13  0.1 119288  5944 pts/1    Sl+  Aug24   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   980  0.0   13  0.1 119288  5944 pts/1    Sl+  Aug24   0:00 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   981 27.2   13  0.1 119288  5944 pts/1    Sl+  Aug24 5849:15 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii
pi         969   982 15.3   13  0.1 119288  5944 pts/1    Sl+  Aug24 3292:35 direwolf -c d1296.conf -r 48000 -b 16 -d fff -d ii

The cacti graphs for the two weeks were also very stable.

2023-09-08

No more memory leak messages in my environment. Thank you very much.

DE JP3SRS Masahiro Kusunoki

from direwolf.

wb2osz avatar wb2osz commented on June 6, 2024

Thank you for all of your testing and analysis.
I don't think there was actually a memory leak; the counters were not right due to multiple threads updating them.
I think we can close this issue now.

from direwolf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.