Hi All,
I am trying a scale up pjsua2 python application with the following
customisations in pjsip - config_site.h (as mentioned @
http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2013-February/015721.html
)
#define PJSUA_MAX_PLAYERS 1024
#define PJSUA_MAX_RECORDERS 1024
#define PJSUA_MAX_CONF_PORTS
(PJSUA_MAX_CALLS+2*PJSUA_MAX_PLAYERS)
define PJSUA_MAX_ACC 1024
define PJ_SCANNER_USE_BITWISE 0
undef PJ_OS_HAS_CHECK_STACK
define PJ_OS_HAS_CHECK_STACK 0
define PJ_LOG_MAX_LEVEL 5
define PJ_ENABLE_EXTRA_CHECK 1
define PJ_IOQUEUE_MAX_HANDLES 1024
define PJSIP_MAX_TSX_COUNT ((640*1024)-1)
define PJSIP_MAX_DIALOG_COUNT ((640*1024)-1)
define PJSIP_UDP_SO_SNDBUF_SIZE (2410241024)
define PJSIP_UDP_SO_RCVBUF_SIZE (2410241024)
define PJ_DEBUG 0
define PJSIP_SAFE_MODULE 0
define PJ_HAS_STRICMP_ALNUM 0
define PJSIP_UNESCAPE_IN_PLACE 1
if defined(PJ_WIN32) || defined(PJ_WIN64)
define PJSIP_MAX_NET_EVENTS 10
endif
define PJSUA_MAX_CALLS 1024
After a few thousand calls made, there is an assertion:
12:03:09.011 tsx0x7fd0f950bea8 ............State changed from
Proceeding to Completed, event=TX_MSG
12:03:09.011 dlg0x7fd0ffc442a8 .............Transaction
tsx0x7fd0f950bea8 state changed to Completed
12:03:09.011 pjsua_media.c ...............Call 360:
deinitializing media..
12:03:09.011 pjsua_media.c ................Call 360: cleaning up
provisional media, prov_med_cnt=1, med_cnt=0
12:03:09.012 pjsua_media.c ........Call 360: deinitializing
media..
12:03:09.012 dlg0x7fd0ffc442a8 ........Session count dec to 3 by
mod-invite
Assertion failed: (inv && inv->ref_cnt), function pjsip_inv_add_ref, file
../src/pjsip-ua/sip_inv.c, line 203.
Abort trap: 6
Appreciate any pointers to resolve this.
Regards,
Arun
Hi All,
I am trying a scale up pjsua2 python application with the following
customisations in pjsip - config_site.h (as mentioned @
http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2013-February/015721.html
)
#define PJSUA_MAX_PLAYERS 1024
#define PJSUA_MAX_RECORDERS 1024
#define PJSUA_MAX_CONF_PORTS
(PJSUA_MAX_CALLS+2*PJSUA_MAX_PLAYERS)
# define PJSUA_MAX_ACC 1024
# define PJ_SCANNER_USE_BITWISE 0
# undef PJ_OS_HAS_CHECK_STACK
# define PJ_OS_HAS_CHECK_STACK 0
# define PJ_LOG_MAX_LEVEL 5
# define PJ_ENABLE_EXTRA_CHECK 1
# define PJ_IOQUEUE_MAX_HANDLES 1024
# define PJSIP_MAX_TSX_COUNT ((640*1024)-1)
# define PJSIP_MAX_DIALOG_COUNT ((640*1024)-1)
# define PJSIP_UDP_SO_SNDBUF_SIZE (24*1024*1024)
# define PJSIP_UDP_SO_RCVBUF_SIZE (24*1024*1024)
# define PJ_DEBUG 0
# define PJSIP_SAFE_MODULE 0
# define PJ_HAS_STRICMP_ALNUM 0
# define PJSIP_UNESCAPE_IN_PLACE 1
# if defined(PJ_WIN32) || defined(PJ_WIN64)
# define PJSIP_MAX_NET_EVENTS 10
# endif
# define PJSUA_MAX_CALLS 1024
After a few thousand calls made, there is an assertion:
12:03:09.011 tsx0x7fd0f950bea8 ............State changed from
Proceeding to Completed, event=TX_MSG
12:03:09.011 dlg0x7fd0ffc442a8 .............Transaction
tsx0x7fd0f950bea8 state changed to Completed
12:03:09.011 pjsua_media.c ...............Call 360:
deinitializing media..
12:03:09.011 pjsua_media.c ................Call 360: cleaning up
provisional media, prov_med_cnt=1, med_cnt=0
12:03:09.012 pjsua_media.c ........Call 360: deinitializing
media..
12:03:09.012 dlg0x7fd0ffc442a8 ........Session count dec to 3 by
mod-invite
Assertion failed: (inv && inv->ref_cnt), function pjsip_inv_add_ref, file
../src/pjsip-ua/sip_inv.c, line 203.
Abort trap: 6
Appreciate any pointers to resolve this.
Regards,
Arun