-
Notifications
You must be signed in to change notification settings - Fork 633
Description
OpenSIPS version you are running
/usr/sbin/opensips -V
version: opensips 3.1.1 (x86_64/linux)
flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, HP_MALLOC, DBG_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535
poll method support: poll, epoll, sigio_rt, select.
git revision: 229ec07
main.c compiled on 19:29:24 Jan 8 2021 with gcc 9
Describe the bug
Hello,
Ran across this in my syslogs, so far I have not been able to determine if it’s actually affecting calls as our service is not based on live calls. Here is the full message:
Jul 16 08:25:49 opensips[553787]: CRITICAL:core:fork_dynamic_udp_process: cannot fork UDP process
Jul 16 08:25:49 opensips[553787]: ERROR:core:do_workers_auto_scaling: failed to fork new process for group 1 (current 5 procs)
Jul 16 08:37:26 opensips[553787]: CRITICAL:core:internal_fork: #12>>> no free process slot found while trying to fork again#012#012It seems you have hit a programming bug.#012Please help us make OpenSIPS better by reporting it at https://github.com/OpenSIPS/opensips/issues#012
My profiling config:
auto_scaling_profile = PROFILE_A
scale up to 30 on 30% for 4 cycles within 5
scale down to 5 on 18% for 10 cycles
a low percentage of these messages a day, about ~200 out of ~5200000 Subscribe / Notify messages a day per site. Seeing these at both sites.
To Reproduce
Cause undetermined, and unable to reproduce at will.
Expected behavior
Relevant System Logs
Jul 16 08:25:49 opensips[553787]: CRITICAL:core:fork_dynamic_udp_process: cannot fork UDP process
Jul 16 08:25:49 opensips[553787]: ERROR:core:do_workers_auto_scaling: failed to fork new process for group 1 (current 5 procs)
Jul 16 08:37:26 opensips[553787]: CRITICAL:core:internal_fork: #12>>> no free process slot found while trying to fork again#012#012It seems you have hit a programming bug.#012Please help us make OpenSIPS better by reporting it at https://github.com/OpenSIPS/opensips/issues#012
OS/environment information
- Operating System:
- OpenSIPS installation:
- other relevant information:
Distributor ID: Ubuntu
Description: Ubuntu 20.04.2 LTS
Release: 20.04
Codename: focal
5.4.0-65-generic #73-Ubuntu SMP Mon Jan 18 17:25:17 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Additional context