Glorious1
Guru
- Joined
- Nov 23, 2014
- Messages
- 1,211
I just happened to look at /var/log/messages inside my transmission jail. During startup, I got:
Transmission works, but this doesn't seem normal, and maybe it would work better if it had this buffer? How would I go about making more space available for the buffer?
EDIT: Sorry, should have searched first. This was addressed in 2011 and 2013 (so I guess it was due again!).
https://forums.freenas.org/index.ph...iled-to-set-receive-buffer-please-help.15203/
Short answer is, you go into the jail settings, Advanced, Sysctls, and add these two (with a preceding comma if there is already one there), then reboot.
kern.ipc.maxsockbuf=5242880,net.inet.udp.recvspace=4194304
EDIT2: Apparently these parameters are no longer compatible with FreeNAS, as the jail won't start with them. Is anyone knowledgeable enough to know what Sysctls might do it in 9.3?
On the other hand, the folks at transmission seem to think it's not a problem: https://trac.transmissionbt.com/ticket/5317
Code:
Dec 6 13:08:17 transmission_1 transmission-daemon[5306]: UDP Failed to set receive buffer: No buffer space available (tr-udp.c:59) Dec 6 13:08:17 transmission_1 transmission-daemon[5306]: UDP Failed to set receive buffer: requested 4194304, got 42080 (tr-udp.c:78)
Transmission works, but this doesn't seem normal, and maybe it would work better if it had this buffer? How would I go about making more space available for the buffer?
EDIT: Sorry, should have searched first. This was addressed in 2011 and 2013 (so I guess it was due again!).
https://forums.freenas.org/index.ph...iled-to-set-receive-buffer-please-help.15203/
Short answer is, you go into the jail settings, Advanced, Sysctls, and add these two (with a preceding comma if there is already one there), then reboot.
kern.ipc.maxsockbuf=5242880,net.inet.udp.recvspace=4194304
EDIT2: Apparently these parameters are no longer compatible with FreeNAS, as the jail won't start with them. Is anyone knowledgeable enough to know what Sysctls might do it in 9.3?
On the other hand, the folks at transmission seem to think it's not a problem: https://trac.transmissionbt.com/ticket/5317
Last edited: