Set UDP buffer size for OpenSim on macOS

Geir Nøklebye

World Builder
Staff member
Some Mac hardware has different limits on networking send and receive buffer sizes, compared to Linux and Windows. On these systems the default settings in OpenSimDefaults.ini will therefore lead to a crash on startup of OpenSim.

To fix this find or create a section in OpenSim.ini named [ClientStack.LindenUDP] and add the following line:
client_socket_rcvbuf_size = 3145728

On macOS you can find the maximum size of the buffer size on your system in terminal with the command:
sudo sysctl -a | grep maxsockbuf

client_socket_rcvbuf_size must be set to the half of that value.
 

Members online

No members online now.
Back
Top