I know this is not recommended, but have you tried starting as root? If so and you don’t hit a limit, then there’s something wrong in your limits for the kamailio user. I have the same issue and it only works with root, I haven’t been able to run it with kamailio for so many tcp connections.

On Tue, 10 Dec 2019 at 11:27, Jose Fco. Irles Durá <josefu@gmail.com> wrote:
I checked that the problem persist.

I have installed the version is 5.1.9, and the limit to 4096, but I
can't connect more than 2758.

I think that the problem is in the kernel, but i don't have any idea
how debug it. Any idea?


Best regards


El mar., 26 nov. 2019 a las 16:14, Jose Fco. Irles Durá
(<josefu@gmail.com>) escribió:
>
> I will try to upgrade to the latest version and re test.
>
> Best regards
>
> El mar., 26 nov. 2019 a las 13:15, David Villasmil
> (<david.villasmil.work@gmail.com>) escribió:
> >
> > That’s strange, I have 5000+ tcp connections and I can’t remember I did anything special at the os level. I’m using 5.2 now, but it was the same with 5.1
> >



--
Jose Fco. Irles Durá

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
Regards,

David Villasmil
email: david.villasmil.work@gmail.com
phone: +34669448337