Closed cedwards closed 9 years ago
@cedwards, thanks for the report.
Is this on freebsd? Can you give me a version reporr?
Yes, this is FreeBSD 10.1. Below is the version report:
emma salt # salt --versions-report
Salt: 2015.2.0
Python: 2.7.9 (default, Apr 8 2015, 07:01:13)
Jinja2: 2.7.3
M2Crypto: 0.22
msgpack-python: 0.4.2
msgpack-pure: Not Installed
pycrypto: 2.6.1
libnacl: 1.4.0
PyYAML: 3.11
ioflo: 1.2.1
PyZMQ: 14.5.0
RAET: 0.6.3
ZMQ: 4.0.5
Mako: Not Installed
@DmitryKuzmenko can you please take care of this one?
Got it.
@cedwards I'll investigate this issue, but it would take time. Meanwhile you can try workaround it by increasing OS UDP buffer size to 64MB as suggested in #16502. In FreeBSD it could be done by
sysctl -w kern.ipc.maxsockbuf=67108864
for immediate update and by adding the following to the /etc/sysctl.conf
:
kern.ipc.maxsockbuf=67108864
The issue is in the following. By default max socket buffer size is set to 2MB in FreeBSD. But RAET uses 6.5 MB for LaneStack (uxd socket) in it's default configuration. So there are two ways to resolve the issue:
For the second solution I've added ability to change raet buffer size in salt config (master and minion). The following keys will be accessible to define it (default values are 100 for lane and 2 for road):
raet_lane_bufcnt: 20
raet_road_bufcnt: 2
Risk: decreasing of the buffers count could produce more system calls on the sender side under highload that would decrease performance.
@cedwards Did the PR above resolve this issue for you?
This looks resolved to me. Since we didn't hear back yet, I am going to close this. If the problem remains, certainly let us know and we will be happy to take another look! :)
I am trying to test the 2015.2.0 release (based on the current github tag for that version). I have met the packaging requirements, but when I try to activate the RAET transport I get the following error:
{minion,master}.d/transport.conf: