Project

General

Profile

Bug #838

Problem With Transmission Receive Buffer on FreeBSD

Added by Daniel Curtis over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
File Server
Target version:
Start date:
08/07/2016
Due date:
% Done:

100%

Estimated time:
0.50 h
Spent time:

Description

I recently set up a headless transmission bittorrent client and found the following error in the /var/log/messages file:

UDP failed to set receive buffer: No buffer space available (tr-udp.c:58)
UDP failed to set receive buffer: requested 4194304, got 42080 (tr-udp.c77)

As it turns out, the UDP buffer for FreeBSD is set to a lower value than required by Transmission. To fix this, set a sysctl to increase the UDP buffer size.

  • Edit the sysctl config file:
    vi /etc/sysctl.conf
    
    • And add the following to the bottom of the file:
      kern.ipc.maxsockbuf=5242880
      net.inet.udp.recvspace=4194304
      

Resources

#1

Updated by Daniel Curtis over 8 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100
  • Estimated time set to 0.50 h
#2

Updated by Daniel Curtis over 8 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF