Failed to start PBX :( and Failed to create new channel thread / unable to launch helper thread

Good Morning!

We are experiencing an issue where Asterisk crashes…

But from what I’ve seen, server memory is OK, file limit descriptors are OK, set 100000. processor ok.

[2022-06-07 10:57:48] WARNING[22318][C-000004d4] pbx.c: Failed to create new channel thread
[2022-06-07 10:57:48] WARNING[22318][C-000004d4] chan_sip.c: Failed to start PBX :frowning:
[2022-06-07 10:57:49] ERROR[22287] tcptls.c: TCP/TLS unable to launch helper thread: Resource temporarily unavailable
[2022-06-07 10:57:54] ERROR[22287] tcptls.c: TCP/TLS unable to launch helper thread: Resource temporarily unavailable
[2022-06-03 10:56:38] WARNING[964] res_http_websocket.c: WebSocket unknown opcode 7
[2022-06-03 10:56:38] VERBOSE[964] res_http_websocket.c: WebSocket connection from ‘127.0.0.1:41638’ forcefully closed due to fatal write error
[2022-06-07 10:57:55] ERROR[22287] tcptls.c: TCP/TLS unable to launch helper thread: Resource temporarily unavailable
[2022-06-07 10:57:55] ERROR[22287] tcptls.c: TCP/TLS unable to launch helper thread: Resource temporarily unavailable
[2022-06-07 10:57:56] ERROR[22287] tcptls.c: TCP/TLS unable to launch helper thread: Resource temporarily unavailable

There are countless mistakes like this: tcptls.c: TCP/TLS unable to launch helper thread: Resource temporarily unavailable

[root@client asterisk]# asterisk -rx "ulimit descriptors"
Number of file descriptors (descriptors) is limited to 100000.

[root@client asterisk]# free -g
total used free shared buff/cache available
Mem: 3 1 1 0 1 2
Swap: 7 0 7

Does anyone have any idea what it might be? You can give me a way out? it’s been going on in some of my clients often.

Asterisk Version: Asterisk 13.24.1

@jcolp

Please don’t tag me. If I have anything of value to add to threads, then I post in them.

Srry.

Try:

to see if the fedora fits, but note that you are using a version of Asterisk that is no longer supported.

As usual, you need to post your configuration and a meaningful SIP trace. “Failed to start PBX” means “503 Unavailable” in this case.

Also, chan_sip is deprecated and v.13 if out of fashion since last fall.