[Home]

Summary:ASTERISK-27536: res_pjsip.c: Error 70010 'Too many objects of the specified type (PJ_ETOOMANY)' sending OPTIONS request to endpoint
Reporter:Jacqueline Huichaman (jhuicham)Labels:pjsip
Date Opened:2017-12-29 08:20:23.000-0600Date Closed:2018-01-02 09:42:35.000-0600
Priority:MinorRegression?
Status:Closed/CompleteComponents:Resources/res_pjsip
Versions:13.17.2 Frequency of
Occurrence
Constant
Related
Issues:
Environment:Asterisk 13.17.2 + Realtime + MariaDB (mysql Ver 15.1 Distrib 5.5.56-MariaDB) DELL R420 - Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz - KiB Mem : 32661624 total PJSIP 2.7 and using bundled Attachments:
Description:Hi,
we tried to register 3100 users in asterisk 13.17.2 but it falls.

the log shows

[Dec 28 20:41:26] VERBOSE[5565] res_pjsip_registrar.c: Added contact 'sip:XXXX@10.XXX.XXX.XXX:5060;transport=TCP' to AOR 'XXXX' with expiration of 120 seconds
[Dec 28 20:41:26] VERBOSE[5570] res_pjsip/pjsip_configuration.c: Contact XXXX/sip:XXXX@10.XXX.XXX.XXX:5060;transport=TCP has been created
[Dec 28 20:41:26] VERBOSE[5570] res_pjsip/pjsip_configuration.c: Endpoint XXXX is now Reachable
[Dec 28 20:41:26] WARNING[5565] pjproject:      tsx0x7f1444033 .Failed to send Request msg OPTIONS/cseq=17451 (tdta0x7f1448000b90)! err=70010 (Too many objects of the specified type (PJ_ETOOMANY))
[Dec 28 20:41:26] ERROR[5565] res_pjsip.c: Error 70010 'Too many objects of the specified type (PJ_ETOOMANY)' sending OPTIONS request to endpoint 4284
[Dec 28 20:41:26] VERBOSE[5570] res_pjsip/pjsip_configuration.c: Contact XXXX/sip:XXXX@10.XXX.XXX.XXX:5060;transport=TCP is now Unreachable.  RTT: 0.000 msec
[Dec 28 20:41:26] VERBOSE[5570] res_pjsip/pjsip_configuration.c: Endpoint XXXX is now Unreachable
[Dec 28 20:41:26] WARNING[5565] pjproject:      tsx0x7f1444044 ..Failed to send Request msg NOTIFY/cseq=565 (tdta0x7f1444007e60)! err=70010 (Too many objects of the specified type (PJ_ETOOMANY))
[Dec 28 20:41:26] WARNING[5565] pjproject:      tsx0x7f144404f ..Failed to send Request msg NOTIFY/cseq=28352 (tdta0x7f1448000b90)! err=70010 (Too many objects of the specified type (PJ_ETOOMANY))
[Dec 28 20:41:26] WARNING[5565] pjproject:      tsx0x7f144403c ..Failed to send Request msg NOTIFY/cseq=2555 (tdta0x7f1444007e60)! err=70010 (Too many objects of the specified type (PJ_ETOOMANY))
[Dec 28 20:41:26] WARNING[5565] pjproject:      tsx0x7f144405a ..Failed to send Request msg NOTIFY/cseq=6177 (tdta0x7f1448000b90)! err=70010 (Too many objects of the specified type (PJ_ETOOMANY))
[Dec 28 20:41:26] WARNING[5565] pjproject:      tsx0x7f1444078 ..Failed to send Request msg NOTIFY/cseq=14160 (tdta0x7f1444007e60)! err=70010 (Too many objects of the specified type (PJ_ETOOMANY))
[Dec 28 20:41:26] WARNING[5565] pjproject:      tsx0x7f1444069 ..Failed to send Request msg NOTIFY/cseq=27112 (tdta0x7f1448000b90)! err=70010 (Too many objects of the specified type (PJ_ETOOMANY))

Comments:By: Asterisk Team (asteriskteam) 2017-12-29 08:20:24.476-0600

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

By: Joshua C. Colp (jcolp) 2017-12-29 08:26:46.690-0600

How have you installed PJSIP? Are you using bundled or not?

By: Jacqueline Huichaman (jhuicham) 2017-12-29 08:31:29.906-0600

Hi Joshua,

PJSIP 2.7  and   using bundled

By: Joshua C. Colp (jcolp) 2017-12-29 10:48:11.870-0600

The version of bundled PJSIP in Asterisk 13.17.2 is 2.6. We have not yet released a version that includes 2.7. Are you sure you are using bundled?

By: Jacqueline Huichaman (jhuicham) 2018-01-02 09:33:06.562-0600

Hi Joshua,


Effectively not installed with the app bundled.

 Attach line configuration :

-----------PJSIP---------------------------
$wget http://www.pjsip.org/release/2.7/pjproject-2.7.tar.bz2
$bzip2 -d pjproject-2.7.tar.bz2
$tar -xvf pjproject-2.7.tar
$cd pjproject-2.7
$sudo ./configure --libdir=/usr/lib64 --prefix=/usr/src --disable-video
$sudo make dep
$sudo make
$sudo make install
$sudo ldconfig -v


--------------- Asterisk -------

$wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-13-current.tar.gz
$tar -xvf asterisk-13-current.tar.gz
$cd asterisk-13.17.2/
$cd contrib/scripts/
$sudo sh install_prereq install
$cd ../..
$sudo ./configure --prefix=/usr/local/asterisk-13.17.2
$sudo make menuconfig

By: Joshua C. Colp (jcolp) 2018-01-02 09:42:35.419-0600

By default PJSIP is not built for a server environment. This results in supporting few concurrent TCP and TLS connections and other things. This would explain the messages you see.

Using bundled applies patches which fix bugs, and also builds PJSIP in a supported server configuration. Please use bundled if at all possible.

Otherwise the configuration is present on the wiki[1] with instructions for a server build.

If after all of this the problem still occurs then feel free to comment and the issue will reopen.

[1] https://wiki.asterisk.org/wiki/display/AST/PJSIP-pjproject