Probably you need to increase process limit https://benohead.com/blog/2012/08/02/linux-check-the-open-files-limit-for-a-given-process/
This may be done via systemd unit file or drop-in LimitNOFILE https://www.freedesktop.org/software/systemd/man/systemd.exec.html On Sun, Jul 25, 2021 at 9:44 AM 崔群 <[email protected]> wrote: > > Dear sir: > I have some problems。the kamailio version is 5.3.0. My linux version > is centos 7. the kamailio log: > ERROR: <core> [core/tcp_main.c:3508]: send_fd_queue_run(): send_fd failed on > socket 63 , queue entry 1, retries 90, connection 0x7ff46e6b1b60, tcp socket > 218, errno=11 (Resource temporarily unavailable) > ERROR: {1 12529 MESSAGE 359bf0410a7e471c950623e3f7a3b17b} <core> > [core/kemi.c:94]: sr_kemi_core_err(): 202->408 > CRITICAL: <core> [core/tcp_main.c:4218]: send2child(): tcp child 6, socket > 65: queue full, 291 requests queued (total handled 10665748) > > This problem does not happen every time。When the number of user registrations > increases significantly, errors will appear。I tried to set the parameter > tcp_children is adjusted to 8, it will not appear frequently, but when the > number of user registrations increases to about 5000, errors will still > appear. My kamailio.cfg global parameters are set as > follows:tls_max_connections=65536,tcp_max_connections=65536,open_max_files=65536。 > I hope you can reply to me,thanks. > > > > > _______________________________________________ > Kamailio (SER) - Development Mailing List > [email protected] > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev _______________________________________________ Kamailio (SER) - Development Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
