PJPROJECT: not enough memory

Hello dears,
I’ve used SIPp tool for stress test using TLS connection and facing this error when I exceed many calls at the same time, may over 100 active calls.
NOTE: I 've more than 2G free of memory
Asterisk Version: Asterisk 20.14.1

tsx0x55a2faed68 …Error sending Response msg 100/INVITE/cseq=1 (tdta0x7f94513148): Not enough memory (PJ_ENOMEM)

So… what’s your goal?

Why does this issue happen with TLS while this machine can receive more than 300 concurrent calls at the same time using UDP?

TLS is more heavy weight. UDP is much lighter.

Well, how to bypass this error, what’s the main issue, is it the RAM or CPU?

Having not tested this usage or seen this issue with TLS, I don’t know. You’d likely need someone dedicated with the knowledge of PJSIP itself and Asterisk focused on this with an environment that reproduces the issue.

This kind of goes back to my original “what is your goal” question.

Are you trying to hit a specific usage?
Are you pushing Asterisk to see how far until it breaks? (Because it will break - so if you don’t have a goal then if an issue was resolved you’d just keep moving where it breaks)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.