Try adjust LimitNOFILE on systemd
<https://www.freedesktop.org/software/systemd/man/systemd.exec.html> unit
If this will help then create ticker and i will create PR
Example
<https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/debian/freeswitch-systemd.freeswitch.service>
чт, 28 сент. 2017 г. в 8:51, Jurijs Ivolga <jurijs.ivolga(a)gmail.com>om>:
Hi Guys,
I recently tried to use Debian Stretch in production and it didn't went
well. On load(500k-700k SIP messages per day) I get a problem that at some
point there was a pike of CLOSE_WAIT connections(up to 2k of CLOSE_WAIT
connections) and no new connections was possible, I tried to figure out
where problem is, but I didn't found anything in system or Kamailio logs,
Kamailio just stopped to receive traffic via TCP, but UDP continued to
work. Test environment where was no load I didn't faced such issue.
Just curious is there anybody who are using Debian Stretch in production
without issues?
Jurijs
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users