diff options
author | Dr Scofield | 2009-06-25 07:50:02 +0000 |
---|---|---|
committer | Dr Scofield | 2009-06-25 07:50:02 +0000 |
commit | 8f5efc499456edd03d3d22e64a0151386cbf47b1 (patch) | |
tree | 1131fa8879f670ded2a26794c448afff8d89a985 /bin/OpenSim.ini.example | |
parent | From: Alan Webb <alan_webb@us.ibm.com> (diff) | |
download | opensim-SC-8f5efc499456edd03d3d22e64a0151386cbf47b1.zip opensim-SC-8f5efc499456edd03d3d22e64a0151386cbf47b1.tar.gz opensim-SC-8f5efc499456edd03d3d22e64a0151386cbf47b1.tar.bz2 opensim-SC-8f5efc499456edd03d3d22e64a0151386cbf47b1.tar.xz |
- adds the possibility of setting the socket receive buffer size
option for LLUDPServer. On windows .NET the default socket receive
buffer size is 8192 bytes, on recent linux systems it's about
111K. both value can be a bit small for an OpenSim instance serving
many clients. The socket receive buffer size can be configured via
an OpenSim.ini config option
- adds a general catch clause to LLUDPServer.OnReceivedData() to
prevent it submerging when an unexpected Exception occurs.
Diffstat (limited to '')
-rw-r--r-- | bin/OpenSim.ini.example | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/bin/OpenSim.ini.example b/bin/OpenSim.ini.example index 5f2b46a..2d03731 100644 --- a/bin/OpenSim.ini.example +++ b/bin/OpenSim.ini.example | |||
@@ -354,6 +354,23 @@ | |||
354 | ; Pre r7113, this setting was not exposed but was effectively 8. You may want to try this if you encounter | 354 | ; Pre r7113, this setting was not exposed but was effectively 8. You may want to try this if you encounter |
355 | ; unexpected difficulties | 355 | ; unexpected difficulties |
356 | client_throttle_multiplier = 2; | 356 | client_throttle_multiplier = 2; |
357 | |||
358 | ; the client socket receive buffer size determines how many | ||
359 | ; incoming requests we can process; the default on .NET is 8192 | ||
360 | ; which is about 2 4k-sized UDP datagrams. On mono this is | ||
361 | ; whatever the underlying operating system has as default; for | ||
362 | ; example, ubuntu 8.04 or SLES11 have about 111k, which is about | ||
363 | ; 27 4k-sized UDP datagrams (on linux platforms you can [as root] | ||
364 | ; do "sysctl net.core.rmem_default" to find out what your system | ||
365 | ; uses a default socket receive buffer size. | ||
366 | ; | ||
367 | ; client_socket_rcvbuf_size allows you to specify the receive | ||
368 | ; buffer size LLUDPServer should use. NOTE: this will be limited | ||
369 | ; by the system's settings for the maximum client receive buffer | ||
370 | ; size (on linux systems you can set that with "sysctl -w | ||
371 | ; net.core.rmem_max=X") | ||
372 | ; | ||
373 | ; client_socket_rcvbuf_size = 8388608 | ||
357 | 374 | ||
358 | 375 | ||
359 | [Chat] | 376 | [Chat] |