[SR-Users] maxbuffer value

Henning Westerholt hw at kamailio.org
Fri Sep 14 22:42:51 CEST 2018


Am Freitag, 14. September 2018, 16:59:23 CEST schrieb Dmitri Savolainen:
> Does anybody know what  kamailio core maxbuffer parameter means?
> And is there any conjunction with  system net.core.rmem_max parameter?
> 
> Doc is obscure for me
> "The size in bytes not to be exceeded during the auto-probing procedure of
> descovering the maximum buffer size for receiving UDP messages. "

Hello,

Kamailio will try to set UDP receive buffer on the socket to the maximum value 
during startup. The maxbuffer core parameter can be used to restrict the 
buffer size to a certain value, in order not not use all of the available 
buffer size. This is IMHO a rarely used parameter, the default is 256KB.

As a process in user space Kamailio can't exceed the values that are 
configured with kernel system parameters, like you quoted above. Think of this 
parameters of a hard upper value for all (normal) processes on the system.

Best regards,

Henning

-- 
Henning Westerholt
https://skalatan.de/blog/



More information about the sr-users mailing list