Hi Bogdan,
i have another question regarding the UDP buffer size: If we set the UDP-Buffer of the system to, let's say 1 MByte: Do we also have to edit MAX_RECV_BUFFER_SIZE? What happens, if we don't? Looking at udp_server.c it seems like this value is ignored...
Thank you, Carsten
Am Dienstag, den 25.03.2008, 12:53 +0200 schrieb Bogdan-Andrei Iancu:
Hi Klaus, Hi Carsten,
Setting a large buffer for the UDP socket will not solve the problem of slow openser processing, but will solve the problem of temporary overloads due a short traffic peek or due short openser blocking in an synchronous op (like DNS or DB). In such corner cases, the buffering in the kernel socket will avoid message dropping.
Regards, Bogdan
Klaus Darilion wrote:
Carsten Bock schrieb:
Hi,
short question: Can anybody give me a hint regarding the Linux UDP-Buffer size? Are there any known good values for this or is the default value (128k) of Linux sufficient? I've read, regarding other SIP-Systems (namely IBM SIP Servlets and Communigate pro), the recommendation to increase the UDP-Buffer-size to 3 or even 4 MByte.... Are there any recommended / known best values for heavy load OpenSER Installations?
IMO these values are too high. If the server is for any reason to slow to handle the load and the buffer fills up, then it might happen that the transactions are already timeout in the UAC when the SIP proxy starts processing the requests. If the proxy is overloaded IMO the requests should be dropped instead of queuing them for too long time.
regards klaus
Users mailing list Users@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/users