Transmission状态提示错误:UDP Failed to set receive/send buffer

实用教程 admin 2个月前 (12-09) 85次浏览 0个评论

在VPS上使用transmission-daemon时出现以下错误

[email protected]:/usr/bin# service transmission-daemon status
● transmission-daemon.service - Transmission BitTorrent Daemon
   Loaded: loaded (/lib/systemd/system/transmission-daemon.service; enabled; vendor preset: enabled)
   Active: active (running) since Sat 2020-05-23 16:57:56 CST; 4min 33s ago
  Process: 6425 ExecStop=/bin/kill -s STOP $MAINPID (code=exited, status=0/SUCCESS)
 Main PID: 8028 (transmission-da)
   CGroup: /system.slice/transmission-daemon.service
           └─8028 /usr/bin/transmission-daemon -f --log-error

May 23 16:57:56 n1 systemd[1]: Started Transmission BitTorrent Daemon.
May 23 16:58:04 n1 transmission-daemon[8028]: [2020-05-23 16:58:04.421 CST] UDP Failed to set receive buffer: reques
May 23 16:58:04 n1 transmission-daemon[8028]: [2020-05-23 16:58:04.421 CST] UDP Failed to set send buffer: requested

解决方法:

1.编辑文件

/etc/sysctl.conf

2.在文件末尾添加如下内容,示例接收缓冲区设置为16MB,将发送缓冲区设置为4MB,可以自行修改

net.core.rmem_max = 16777216
net.core.wmem_max = 4194304

3.生效

sysctl -p

重新执行命令,查看是否仍有错误提示。


原文:

https://byeyouth.com/archives/300.html

https://avvount.github.io/2018/01/24/transmission%E9%94%99%E8%AF%AF%E8%AE%B0%E5%BD%95/


VPS小白 , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权
转载请注明原文链接
喜欢 (0)
发表我的评论
取消评论
表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址