我正在尝试对星号服务器进行压力测试。我创建了多个相互调用的帐户。
例如
1001 calls -----> 1002
1003 calls -----> 1004
1005 calls -----> 1006
不知何故,当服务器达到 64 个活动调用时,它一直说没有活动端口。我不能再打电话了。
错误日志;
Choices:
0 For current dialog.
-1 All 0 buddies in buddy list
[1 - 0] Select from buddy list
URL An URL
<Enter> Empty input (or 'q') to cancel
Make call: 07:40:28.584 pjsua_call.c !Making call with acc #1 to sip:1006@127.0.0.1:25060
07:40:28.584 pjsua_aud.c .Set sound device: capture=-99, playback=-99
07:40:28.584 pjsua_aud.c ..Setting null sound device..
07:40:28.584 pjsua_app.c ...Turning sound device ON
07:40:28.584 pjsua_aud.c ...Opening null sound device..
07:40:28.584 pjsua_media.c .Call 0: initializing media..
07:40:28.584 pjsua_media.c ..Unable to find appropriate RTP/RTCP ports combination
07:40:28.584 pjsua_media.c ..Unable to create RTP/RTCP socket: Address already in use [status=120098]
07:40:28.584 pjsua_media.c ..Error creating media transport: Address already in use
07:40:28.584 pjsua_call.c .Error initializing media channel: Address already in use [status=120098]
07:40:28.584 pjsua_media.c .Call 0: deinitializing media..
>>> >>>>
Account list:
[ 0] <sip:172.31.31.91:30404>: does not register
Online status: Online
*[ 1] sip:1005@172.31.31.91: 200/OK (expires=219)
Online status: Online
Buddy list:
-none-
任何人都知道为什么这种情况不断发生。我还创建了一个脚本,可以注册 5000 个用户,所有用户都具有不同的端口,并且可以完美运行,没有任何问题。是否有可能在某个地方存在极限函数?