Re: UDP buffer increase

arinjay Garg via sr-users <[email protected]>
Newsgroups gmane.comp.voip.ser
Message-ID <JH0PR06MB72961315ACB0CD40ACB1A09FA36AA@JH0PR06MB7296.apcprd06.prod.outlook.com>
Thanks. We will try the following parameters to increase UDP buffer size.

maxbuffer=65536
maxsndbuffer=65536

Regards
Sarju





________________________________
From: Henning Westerholt via sr-users <[email protected]>
Sent: Wednesday, February 18, 2026 12:50 PM
To: [email protected] <[email protected]>
Cc: Kamailio (SER) - Development Mailing List <[email protected]>; [email protected] <[email protected]>; Sarju Garg <[email protected]>; Henning Westerholt <[email protected]>
Subject: [SR-Users] Re: UDP buffer increase

Hello,

I suggest you look in the official documentation instead of trying to find something by chance in the source code.

This UDP buffer in the core can be increased by setting this parameter:

https://www.kamailio.org/wikidocs/cookbooks/6.0.x/core/#maxbuffer

There is also a value for the send buffer.

Cheers,

Henning


--
Kamailio services – https://gilawa.com


> -----Original Message-----
> From: Sarju Garg <[email protected]>
> Sent: Mittwoch, 18. Februar 2026 03:57
> To: Federico Cabiddu <[email protected]>
> Cc: Henning Westerholt <[email protected]>; Kamailio (SER) - Development
> Mailing List <[email protected]>; [email protected]; M S
> <[email protected]>; [email protected]; sr-
> [email protected]
> Subject: UDP buffer increase
>
> Hi,
>
> I want to increase the UDP buffer size to
>
> # UDP socket buffers
> udp_rcvbuf=134217728
> udp_sndbuf=134217728
>
> we are unable to set this value because kamailio is compiled with hardcoded
> value MAX_RECV_BUFFER_SIZE 262144, MAX_SEND_BUFFER_SIZE 262144
>
> If we go and search internet, this look like configurable
>
> # UDP socket buffers
> udp_rcvbuf=134217728
> udp_sndbuf=134217728
>
> # OR older syntax (equivalent)
> # socket_buffer=134217728
>
> Can someone help me out in this case.?
>
> Regards
> Sarju
>
>

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the sender!

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the sender!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.