Problem Description
I have run the command shown below to check the log file for: transmission-daemon.
sudo journalctl -n 10 -o cat -e -u transmission-daemon
And its out put is:
Starting Transmission BitTorrent Daemon... Started Transmission BitTorrent Daemon. [2021-02-15 23:52:57.435] UDP Failed to set receive buffer: requested 4194304, got 425984 (tr-udp.c:97) [2021-02-15 23:52:57.435] UDP Failed to set send buffer: requested 1048576, got 425984 (tr-udp.c:105)
I google up this message and found, transmission-daemon: UDP Failed to set receive / send buffer From reading this article I done the following.
sudo nano /etc/sysctl.conf
And I have added the two lines below to this text file:
net.core.rmem_max = 4194304
net.core.wmem_max = 1048576
The memory amounts above are the amounts transmission was asking for. The memory amounts in the article about this issue are greater.
Then I have ran the two commands listed below to enable this change:
sudo sysctl -p
sudo sysctl --system
Then I have disable transmission from it config page in freedombox and then enable it again.
I have check to see if the messages were there or not in transmission log file.
sudo journalctl -n 10 -o cat -e -u transmission-daemon
The memory message is no longer there.
Would it be possible for this tweak to be added to the Freedombox package ? That if they are needed ?
Information
- FreedomBox version:
Debian GNU/Linux bullseye/sid and FreedomBox version 21.2
- Hardware:
Laptop: LENOVO 0769ECG
- How did you install FreedomBox ?:
apt install freedombox on Debian testing ’ bullseye ’
Regards: peterc