Hello,
You can use ulimit command with -n cimmand to set max open file before
start Kamailio.
On Thu, 28 Nov 2019, 18:52 David Villasmil, <david.villasmil.work(a)gmail.com>
wrote:
Thanks Alex,
Do you know how to set it? First time doing thousands of tcp
registrations..
Regards,
David Villasmil
email: david.villasmil.work(a)gmail.com
phone: +34669448337
On Thu, Nov 28, 2019 at 3:16 PM Alex Balashov <abalashov(a)evaristesys.com>
wrote:
There is a userspace open file descriptor limit
you need to increase for
the user under which Kamailio is running.
—
Sent from mobile, with due apologies for brevity and errors.
On Nov 28, 2019, at 10:08 AM, David Villasmil <
david.villasmil.work(a)gmail.com> wrote:
Hello guys,
I'm facing an issue where, if i start kamailio as root, all works
properly, but if i start it as kamailio, i get hundreds of:
handle_new_connect(): error while accepting connection(24): Too many open
files
My limits is like:
kamailio soft core unlimited
kamailio soft data unlimited
kamailio soft fsize unlimited
kamailio soft memlock unlimited
kamailio soft nofile unlimited
kamailio soft rss unlimited
kamailio hard stack 240
kamailio soft cpu unlimited
kamailio soft nproc unlimited
kamailio soft as unlimited
kamailio soft priority -11
kamailio soft locks unlimited
kamailio soft sigpending unlimited
kamailio soft msgqueue unlimited
kamailio soft nice -11
kamailio soft nofile 65536
kamailio hard nofile 65536
root soft core unlimited
root soft data unlimited
root soft fsize unlimited
root soft memlock unlimited
root soft nofile unlimited
root soft rss unlimited
root hard stack 240
root soft cpu unlimited
root soft nproc unlimited
root soft as unlimited
root soft priority -11
root soft locks unlimited
root soft sigpending unlimited
root soft msgqueue unlimited
root soft nice -11
root soft nofile 65536
root hard nofile 65536
I can't figure out why this is happening...
Regards,
David Villasmil
email: david.villasmil.work(a)gmail.com
phone: +34669448337
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users