Re: [OpenSIPS-Users] [OpenSIPS-Devel] [RELEASE] OpenSIPS 3.1.7 and 3.2.4 minor releases
On 08.12.2021 13:04, Răzvan Crainea wrote: a freeze on commits Expanding on this: "a freeze on most new fixes, any further commits should typically only address newly discovered regressions in the upcoming minor release". -- Liviu Chircu www.twitter.com/liviuchircu | www.opensips-solutions.com ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] [RELEASE] OpenSIPS 3.1.7 and 3.2.4 minor releases
Hello, everyone! In two weeks starting from today, on Wednesday, 22nd of December 2021, we will be releasing two new minor versions of OpenSIPS: 3.17 and 3.2.4. These new versions will be fully backwards compatible and will consist only of bug fixes. Throughout these two weeks we will put a freeze on commits, just so you guys can test as much as possible until the release comes out. Please do test and let us know of any problems you are facing. Best regards, -- Răzvan Crainea OpenSIPS Core Developer http://www.opensips-solutions.com ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Memory leak
I just noticed that process 88 runs the timer handler, perhaps this might shed light on whats going on. opensipsctl fifo ps Process:: ID=88 PID=5327 Type=Timer handler On Wed, Dec 8, 2021 at 10:55 AM Schneur Rosenberg wrote: > > Now a few hours later this is what I'm getting > Dec 8 09:50:13 /sbin/opensips[21699]: ERROR:nathelper:nh_timer: out > of pkg memory > Dec 8 09:50:16 /sbin/opensips[21699]: WARNING:core:fm_malloc: not > enough continuous free pkg memory (3024 bytes left, need 5128), > attempting defragmentation... please increase the "-M" command line > parameter! > Dec 8 09:50:16 /sbin/opensips[21699]: ERROR:core:fm_malloc: not > enough free pkg memory (3024 bytes left, need 5128), please increase > the "-M" command line parameter! > > Here is the last 20 package memory max_used_size > pkmem:70-max_used_size:: 1009584 > pkmem:71-max_used_size:: 1009584 > pkmem:72-max_used_size:: 1009584 > pkmem:73-max_used_size:: 1009584 > pkmem:74-max_used_size:: 1009584 > pkmem:75-max_used_size:: 1009584 > pkmem:76-max_used_size:: 1009584 > pkmem:77-max_used_size:: 1009584 > pkmem:78-max_used_size:: 1009584 > pkmem:79-max_used_size:: 1009584 > pkmem:80-max_used_size:: 1044752 > pkmem:81-max_used_size:: 1075552 > pkmem:82-max_used_size:: 1116848 > pkmem:83-max_used_size:: 1117456 > pkmem:84-max_used_size:: 1102640 > pkmem:85-max_used_size:: 1306992 > pkmem:86-max_used_size:: 1706304 > pkmem:87-max_used_size:: 2507000 > pkmem:88-max_used_size:: 4194264 > pkmem:89-max_used_size:: 1009584 > > And here is the real used size, you can see that process 88 maxed out > pkmem:69-real_used_size:: 975528 > pkmem:70-real_used_size:: 978016 > pkmem:71-real_used_size:: 989592 > pkmem:72-real_used_size:: 951416 > pkmem:73-real_used_size:: 982496 > pkmem:74-real_used_size:: 965744 > pkmem:75-real_used_size:: 959424 > pkmem:76-real_used_size:: 949472 > pkmem:77-real_used_size:: 983080 > pkmem:78-real_used_size:: 961400 > pkmem:79-real_used_size:: 977808 > pkmem:80-real_used_size:: 978928 > pkmem:81-real_used_size:: 1009936 > pkmem:82-real_used_size:: 1110760 > pkmem:83-real_used_size:: 1116720 > pkmem:84-real_used_size:: 1096568 > pkmem:85-real_used_size:: 1300592 > pkmem:86-real_used_size:: 1699648 > pkmem:87-real_used_size:: 2501096 > pkmem:88-real_used_size:: 4191280 > pkmem:89-real_used_size:: 882528 > > On Tue, Dec 7, 2021 at 7:53 PM Schneur Rosenberg > wrote: > > > > Hi, lately I'm getting these errors in my logs. > > > > ERROR:core:fm_malloc: not enough free pkg memory (1792 bytes left, > > need 2184), please increase the "-M" command line para > > meter! > > > > CRITICAL:core:hostent_cpy: pkg memory allocation failure > > > > ERROR:nathelper:nh_timer: out of pkg memory > > > > ERROR:core:fm_malloc: not enough free pkg memory (5952 bytes left, > > need 5408), please increase the "-M" command line para > > meter! > > > > I was on version 2.4.8 and I upgraded to 2.4.11 and I'm monitoring the > > max_used_size of the package memory, a few hours later I see that 2 > > processes keep on getting bigger, so far the rest are pretty stable, I > > have 90 processes and 87 and 88 are growing. > > > > here you can see the last few processes, OpenSIPS set aside 4 mb per > > process. > > > > pkmem:80-max_used_size:: 1009584 > > pkmem:81-max_used_size:: 1009584 > > pkmem:82-max_used_size:: 1009584 > > pkmem:83-max_used_size:: 1009584 > > pkmem:84-max_used_size:: 1009584 > > pkmem:85-max_used_size:: 1009584 > > pkmem:86-max_used_size:: 1143608 > > pkmem:87-max_used_size:: 1323256 > > pkmem:88-max_used_size:: 1831928 > > pkmem:89-max_used_size:: 1009584 > > > > Any hints where to start looking besides the solutions fund here. > > > > https://www.opensips.org/Documentation/TroubleShooting-OutOfMem > > > > thank you > > Scott ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] send message via opensips-cli
Hi Team, We are trying to send messages with opensips-cli, but can't find too much info on how to make it work. Here is what we tried but it did not work. opensips-cli -x mi t_uac_dlg method=MESSAGE ruri=" sip:al...@sip.domain.com:5061" headers="From: sip:b...@sip.domain.com:5061\r\nTo: sip:al...@sip.domain.com:5061\r\nContact: sip:b...@sip.domain.com:5061\r\nContent-Type: text/plain\r\n" body="123456\r\n" We are using OPENSIPS 3.1 and here is the error we get, ERROR: command 't_uac_dlg' returned: 500: Server error occurred (1/MI/UAC) Anything wrong with the above command line? Thanks! Regards, jacky ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Memory leak
Now a few hours later this is what I'm getting Dec 8 09:50:13 /sbin/opensips[21699]: ERROR:nathelper:nh_timer: out of pkg memory Dec 8 09:50:16 /sbin/opensips[21699]: WARNING:core:fm_malloc: not enough continuous free pkg memory (3024 bytes left, need 5128), attempting defragmentation... please increase the "-M" command line parameter! Dec 8 09:50:16 /sbin/opensips[21699]: ERROR:core:fm_malloc: not enough free pkg memory (3024 bytes left, need 5128), please increase the "-M" command line parameter! Here is the last 20 package memory max_used_size pkmem:70-max_used_size:: 1009584 pkmem:71-max_used_size:: 1009584 pkmem:72-max_used_size:: 1009584 pkmem:73-max_used_size:: 1009584 pkmem:74-max_used_size:: 1009584 pkmem:75-max_used_size:: 1009584 pkmem:76-max_used_size:: 1009584 pkmem:77-max_used_size:: 1009584 pkmem:78-max_used_size:: 1009584 pkmem:79-max_used_size:: 1009584 pkmem:80-max_used_size:: 1044752 pkmem:81-max_used_size:: 1075552 pkmem:82-max_used_size:: 1116848 pkmem:83-max_used_size:: 1117456 pkmem:84-max_used_size:: 1102640 pkmem:85-max_used_size:: 1306992 pkmem:86-max_used_size:: 1706304 pkmem:87-max_used_size:: 2507000 pkmem:88-max_used_size:: 4194264 pkmem:89-max_used_size:: 1009584 And here is the real used size, you can see that process 88 maxed out pkmem:69-real_used_size:: 975528 pkmem:70-real_used_size:: 978016 pkmem:71-real_used_size:: 989592 pkmem:72-real_used_size:: 951416 pkmem:73-real_used_size:: 982496 pkmem:74-real_used_size:: 965744 pkmem:75-real_used_size:: 959424 pkmem:76-real_used_size:: 949472 pkmem:77-real_used_size:: 983080 pkmem:78-real_used_size:: 961400 pkmem:79-real_used_size:: 977808 pkmem:80-real_used_size:: 978928 pkmem:81-real_used_size:: 1009936 pkmem:82-real_used_size:: 1110760 pkmem:83-real_used_size:: 1116720 pkmem:84-real_used_size:: 1096568 pkmem:85-real_used_size:: 1300592 pkmem:86-real_used_size:: 1699648 pkmem:87-real_used_size:: 2501096 pkmem:88-real_used_size:: 4191280 pkmem:89-real_used_size:: 882528 On Tue, Dec 7, 2021 at 7:53 PM Schneur Rosenberg wrote: > > Hi, lately I'm getting these errors in my logs. > > ERROR:core:fm_malloc: not enough free pkg memory (1792 bytes left, > need 2184), please increase the "-M" command line para > meter! > > CRITICAL:core:hostent_cpy: pkg memory allocation failure > > ERROR:nathelper:nh_timer: out of pkg memory > > ERROR:core:fm_malloc: not enough free pkg memory (5952 bytes left, > need 5408), please increase the "-M" command line para > meter! > > I was on version 2.4.8 and I upgraded to 2.4.11 and I'm monitoring the > max_used_size of the package memory, a few hours later I see that 2 > processes keep on getting bigger, so far the rest are pretty stable, I > have 90 processes and 87 and 88 are growing. > > here you can see the last few processes, OpenSIPS set aside 4 mb per process. > > pkmem:80-max_used_size:: 1009584 > pkmem:81-max_used_size:: 1009584 > pkmem:82-max_used_size:: 1009584 > pkmem:83-max_used_size:: 1009584 > pkmem:84-max_used_size:: 1009584 > pkmem:85-max_used_size:: 1009584 > pkmem:86-max_used_size:: 1143608 > pkmem:87-max_used_size:: 1323256 > pkmem:88-max_used_size:: 1831928 > pkmem:89-max_used_size:: 1009584 > > Any hints where to start looking besides the solutions fund here. > > https://www.opensips.org/Documentation/TroubleShooting-OutOfMem > > thank you > Scott ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users