[SR-Users] tcp limit, too many open files
Daniel Tryba
d.tryba at pocos.nl
Fri Nov 29 10:22:20 CET 2019
On Thu, Nov 28, 2019 at 03:21:21PM +0000, David Villasmil wrote:
> Thanks Alex,
>
> Do you know how to set it? First time doing thousands of tcp registrations..
>
Depends on what init system you use. If you have to ask I pesume you are
using systemd (since they like to reinvent the wheel). The correct way
is to:
systemctl edit kamailio.service
and add:
[Service]
LimitNOFILE=65536
More quick and dirty:
edit /etc/systemd/system/kamailio.service.d/override.conf
and insert the same as above. And do a
systemctl daemon-reload
More information about the sr-users
mailing list