Re: [asterisk-dev] [Asterisk 16.x / pjsip TLS] Memory leak with core reload
On Thu, Oct 3, 2019 at 3:58 PM Michael Maier wrote: > On 03.10.19 at 15:52 Michael Maier wrote: > > On 02.10.19 at 22:45 Sean Bright wrote: > >> On 10/2/2019 4:02 PM, Michael Maier wrote: > >>> I found one more problem regarding the configuration options, provided > by FreePBX, which should be supported by asterisk. > >>> I'm referring to the possibility, to add additional options not > supported by FreePBX using special config files like > >>> pjsip.registration_custom_post.conf or pjsip.aor_custom_post.conf and > pjsip.endpoint_custom_post.conf or pjsip.transports_custom_post.conf. > >>> The last two files are working pretty fine as expected, but the first > two just don't work. > >>> > >>> I'm configuring in pjsip.registration_custom_post.conf for example: > >>> > >>> [extName](+) > >>> key=value > >>> > >>> Asterisk reads it (asterisk complains if it doesn't know the key), but > asterisk doesn't apply the provided value for a known key - it's always the > default value. That's > >>> strange, too. > >> > >> Please file an issue[1] with a configuration that exhibits this. > > > > https://issues.asterisk.org/jira/browse/ASTERISK-28563 > > Thanks to all clarifying the correct way to configure it with FreePBX: > > [extName](+type=registration) > key=value > > eg. > > This really works as expected! > > I'm now wondering if I missed some documentation about this feature, > because I searched the whole web and only found others having the same > problem but never a solution! > > I'm sorry for the noise! > Actually, you caused the documentation [1] of the functionality to be improved. I don't think it was actually documented anywhere except in the code and the issue that added the functionality. Richard [1] https://wiki.asterisk.org/wiki/display/AST/Adding+to+an+existing+section -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev
Re: [asterisk-dev] [Asterisk 16.x / pjsip TLS] Memory leak with core reload
On 03.10.19 at 15:52 Michael Maier wrote: > On 02.10.19 at 22:45 Sean Bright wrote: >> On 10/2/2019 4:02 PM, Michael Maier wrote: >>> I found one more problem regarding the configuration options, provided by >>> FreePBX, which should be supported by asterisk. >>> I'm referring to the possibility, to add additional options not supported >>> by FreePBX using special config files like >>> pjsip.registration_custom_post.conf or pjsip.aor_custom_post.conf and >>> pjsip.endpoint_custom_post.conf or pjsip.transports_custom_post.conf. >>> The last two files are working pretty fine as expected, but the first two >>> just don't work. >>> >>> I'm configuring in pjsip.registration_custom_post.conf for example: >>> >>> [extName](+) >>> key=value >>> >>> Asterisk reads it (asterisk complains if it doesn't know the key), but >>> asterisk doesn't apply the provided value for a known key - it's always the >>> default value. That's >>> strange, too. >> >> Please file an issue[1] with a configuration that exhibits this. > > https://issues.asterisk.org/jira/browse/ASTERISK-28563 Thanks to all clarifying the correct way to configure it with FreePBX: [extName](+type=registration) key=value eg. This really works as expected! I'm now wondering if I missed some documentation about this feature, because I searched the whole web and only found others having the same problem but never a solution! I'm sorry for the noise! Thanks Michael -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev
Re: [asterisk-dev] [Asterisk 16.x / pjsip TLS] Memory leak with core reload
On 10/3/2019 10:17 AM, Michael Maier wrote: This is not a FreePBX issue OK. Thank you for clarifying. provided by asterisk (take a look at the source code) That's a good idea. I'll take a look, thanks. Kind regards, Sean -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev
Re: [asterisk-dev] [Asterisk 16.x / pjsip TLS] Memory leak with core reload
On 03.10.19 at 16:08 Jared Smith wrote: > On Thu, Oct 3, 2019 at 10:01 AM Sean Bright wrote: > >> In the future, please feel free to skip the mailing list and submit >> issues directly to https://issues.asterisk.org/jira for any Asterisk >> problems. >> >> FreePBX issues like this one can go directly to their issue tracking >> system (I don't know the URL for that off-hand). >> > > The FreePBX issue tracker is at https://issues.freepbx.org This is not a FreePBX issue as the feature [extName](+) is provided by asterisk (take a look at the source code) and not FreePBX - FreePBX e.g. is just using it. Regards Michael -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev
Re: [asterisk-dev] [Asterisk 16.x / pjsip TLS] Memory leak with core reload
On Thu, Oct 3, 2019 at 10:01 AM Sean Bright wrote: > In the future, please feel free to skip the mailing list and submit > issues directly to https://issues.asterisk.org/jira for any Asterisk > problems. > > FreePBX issues like this one can go directly to their issue tracking > system (I don't know the URL for that off-hand). > The FreePBX issue tracker is at https://issues.freepbx.org -Jared -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev
Re: [asterisk-dev] [Asterisk 16.x / pjsip TLS] Memory leak with core reload
On 10/3/2019 9:52 AM, Michael Maier wrote: I think this should be enough - just install FreePBX and you will see it. You don't need any special configuration - it's the default configuration provided by FreePBX. Great. Hopefully someone on the FreePBX team also follows the Asterisk issue tracker. In the future, please feel free to skip the mailing list and submit issues directly to https://issues.asterisk.org/jira for any Asterisk problems. FreePBX issues like this one can go directly to their issue tracking system (I don't know the URL for that off-hand). Kind regards, Sean -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev
Re: [asterisk-dev] [Asterisk 16.x / pjsip TLS] Memory leak with core reload
On 02.10.19 at 22:45 Sean Bright wrote: > On 10/2/2019 4:02 PM, Michael Maier wrote: >> I found one more problem regarding the configuration options, provided by >> FreePBX, which should be supported by asterisk. >> I'm referring to the possibility, to add additional options not supported by >> FreePBX using special config files like >> pjsip.registration_custom_post.conf or pjsip.aor_custom_post.conf and >> pjsip.endpoint_custom_post.conf or pjsip.transports_custom_post.conf. >> The last two files are working pretty fine as expected, but the first two >> just don't work. >> >> I'm configuring in pjsip.registration_custom_post.conf for example: >> >> [extName](+) >> key=value >> >> Asterisk reads it (asterisk complains if it doesn't know the key), but >> asterisk doesn't apply the provided value for a known key - it's always the >> default value. That's >> strange, too. > > Please file an issue[1] with a configuration that exhibits this. https://issues.asterisk.org/jira/browse/ASTERISK-28563 I think this should be enough - just install FreePBX and you will see it. You don't need any special configuration - it's the default configuration provided by FreePBX. Thanks Michael -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev
Re: [asterisk-dev] [Asterisk 16.x / pjsip TLS] Memory leak with core reload
On 10/2/2019 4:02 PM, Michael Maier wrote: I found one more problem regarding the configuration options, provided by FreePBX, which should be supported by asterisk. I'm referring to the possibility, to add additional options not supported by FreePBX using special config files like pjsip.registration_custom_post.conf or pjsip.aor_custom_post.conf and pjsip.endpoint_custom_post.conf or pjsip.transports_custom_post.conf. The last two files are working pretty fine as expected, but the first two just don't work. I'm configuring in pjsip.registration_custom_post.conf for example: [extName](+) key=value Asterisk reads it (asterisk complains if it doesn't know the key), but asterisk doesn't apply the provided value for a known key - it's always the default value. That's strange, too. Please file an issue[1] with a configuration that exhibits this. [1] https://issues.asterisk.org/jira -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev
Re: [asterisk-dev] [Asterisk 16.x / pjsip TLS] Memory leak with core reload
Hello Joshua! Many thanks for your continuous effort supporting the community! Unfortunately, I'm very busy currently and therefore I can't do the necessary investigations to narrow down the issue or just anonymise my asterisk config. On Mon, Sep 30, 2019, at 17:48 Joshua C. Colp wrote: On Sat, Sep 28, 2019, at 11:31 AM, Michael Maier wrote: On 28.09.19 at 12:32 Joshua C. Colp wrote: On Sat, Sep 28, 2019, at 6:20 AM, Michael Maier wrote: Hello! While testing for a memory leak since pjsip 4.9 I detected, that there seems to be another memory leak concerning core reload with pjsip and 4 TLS trunks / 2 endpoints. Each core reload rises memory usage about ~ 2 MB (some times more (up to 3 MB), sometimes less). That's not a big deal for me as my configuration is mostly statically - but for others having more endpoints / trunks and often change the config this could be a serious problem. Please file an issue[1] with a configuration that exhibits this (for example does your transport have allow_reload set to yes, as that would alter things). No - allow_reload is set to no. I tried to reproduce this this morning and was unable to. I also asked Kevin to try to reproduce it who triaged the original memory leak issues and he was also unable to. Can you please file an issue like I mentioned with the specific configuration/scenario so we can see if something is up? A few global words about my config at the moment: - It's FreePBX 14 based - There are 4 pjsip SIPS / SRTP trunks - 2 pjsip SIP trunks - 1 IAX2 device (for fax) - several FreePBX features activated, like follow me, e.g. - 15 outbound routes - 7 inbound routes - 3 custom contexts - a small blacklist I'm not sure if I'm really able to create a reliable anonymised config with justifiable expenditure. I found one more problem regarding the configuration options, provided by FreePBX, which should be supported by asterisk. I'm referring to the possibility, to add additional options not supported by FreePBX using special config files like pjsip.registration_custom_post.conf or pjsip.aor_custom_post.conf and pjsip.endpoint_custom_post.conf or pjsip.transports_custom_post.conf. The last two files are working pretty fine as expected, but the first two just don't work. I'm configuring in pjsip.registration_custom_post.conf for example: [extName](+) key=value Asterisk reads it (asterisk complains if it doesn't know the key), but asterisk doesn't apply the provided value for a known key - it's always the default value. That's strange, too. Thanks Michael -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev
Re: [asterisk-dev] [Asterisk 16.x / pjsip TLS] Memory leak with core reload
On Sat, Sep 28, 2019, at 11:31 AM, Michael Maier wrote: > On 28.09.19 at 12:32 Joshua C. Colp wrote: > > On Sat, Sep 28, 2019, at 6:20 AM, Michael Maier wrote: > >> Hello! > >> > >> While testing for a memory leak since pjsip 4.9 I detected, that there > >> seems to be another memory leak concerning core reload with pjsip and 4 > >> TLS trunks / 2 endpoints. > >> Each core reload rises memory usage about ~ 2 MB (some times more (up > >> to 3 MB), sometimes less). > >> That's not a big deal for me as my configuration is mostly statically - > >> but for others having more endpoints / trunks and often change the > >> config this could be a serious > >> problem. > > > > Please file an issue[1] with a configuration that exhibits this (for > > example does your transport have allow_reload set to yes, as that would > > alter things). > > No - allow_reload is set to no. I tried to reproduce this this morning and was unable to. I also asked Kevin to try to reproduce it who triaged the original memory leak issues and he was also unable to. Can you please file an issue like I mentioned with the specific configuration/scenario so we can see if something is up? Cheers, -- Joshua C. Colp Digium - A Sangoma Company | Senior Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: www.digium.com & www.asterisk.org -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev
Re: [asterisk-dev] [Asterisk 16.x / pjsip TLS] Memory leak with core reload
On 28.09.19 at 12:32 Joshua C. Colp wrote: > On Sat, Sep 28, 2019, at 6:20 AM, Michael Maier wrote: >> Hello! >> >> While testing for a memory leak since pjsip 4.9 I detected, that there >> seems to be another memory leak concerning core reload with pjsip and 4 >> TLS trunks / 2 endpoints. >> Each core reload rises memory usage about ~ 2 MB (some times more (up >> to 3 MB), sometimes less). >> That's not a big deal for me as my configuration is mostly statically - >> but for others having more endpoints / trunks and often change the >> config this could be a serious >> problem. > > Please file an issue[1] with a configuration that exhibits this (for example > does your transport have allow_reload set to yes, as that would alter things). No - allow_reload is set to no. Thanks Michael -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev
Re: [asterisk-dev] [Asterisk 16.x / pjsip TLS] Memory leak with core reload
On Sat, Sep 28, 2019, at 6:20 AM, Michael Maier wrote: > Hello! > > While testing for a memory leak since pjsip 4.9 I detected, that there > seems to be another memory leak concerning core reload with pjsip and 4 > TLS trunks / 2 endpoints. > Each core reload rises memory usage about ~ 2 MB (some times more (up > to 3 MB), sometimes less). > That's not a big deal for me as my configuration is mostly statically - > but for others having more endpoints / trunks and often change the > config this could be a serious > problem. Please file an issue[1] with a configuration that exhibits this (for example does your transport have allow_reload set to yes, as that would alter things). [1] https://issues.asterisk.org/jira -- Joshua C. Colp Digium - A Sangoma Company | Senior Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: www.digium.com & www.asterisk.org -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev
[asterisk-dev] [Asterisk 16.x / pjsip TLS] Memory leak with core reload
Hello! While testing for a memory leak since pjsip 4.9 I detected, that there seems to be another memory leak concerning core reload with pjsip and 4 TLS trunks / 2 endpoints. Each core reload rises memory usage about ~ 2 MB (some times more (up to 3 MB), sometimes less). That's not a big deal for me as my configuration is mostly statically - but for others having more endpoints / trunks and often change the config this could be a serious problem. Thanks Michael -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev