Try this: 1. clone a clean opensips 1.9 repo: git clone https://github.com/OpenSIPS/opensips.git -b 1.8 opensips-1.8 2. go into the repo: cd opensips-1.8 3. pull from master branch my commits: git cherry-pick -x 9d25d0c7cf4391ca85bb25a23e2e933e6878a48a git cherry-pick -x 54a22de28833d674350b919a4791f1a2c2953ba9 4. re-install opensips from the new repo
Regards, Ovidiu Sas On Tue, Dec 17, 2013 at 6:05 PM, Dragomir Haralambiev <[email protected]> wrote: > Thanks Ovidiu, > > indeed I have multiple processes stuck at 100% when the issue occurs. > > I am not sure how to backport the patch you mentioned. git pull doesn't give > me new files (1.8 LTS) > > > 2013/12/18 Ovidiu Sas <[email protected]> >> >> That process is stuck in a lock. >> Most likely there is another opensips process that is stuck in a similar >> lock. >> I pushed a new opensipsctl 'trap' command in trunk. >> You can backport the commit into your existing repo and use that >> command to gather all the required info in one single command and then >> post the file or the content of the file. >> You will need to run: >> opensipsctl trap >> >> Here's the link to the commit: >> >> https://github.com/OpenSIPS/opensips/commit/9d25d0c7cf4391ca85bb25a23e2e933e6878a48a >> >> Regards, >> Ovidiu Sas >> >> On Tue, Dec 17, 2013 at 5:01 PM, Dragomir Haralambiev >> <[email protected]> wrote: >> > Finally I managed to capture a gdb output from opensips process stuck at >> > 100% CPU: >> > >> > http://pastebin.com/Fvz9Whi1 >> > >> > >> > 2013/12/16 Răzvan Crainea <[email protected]> >> >> >> >> Hello! >> >> >> >> Can you attach with gdb to one of the processes that are using 100% CPU >> >> and post the backtrace on pastebin? You should do something like: >> >> >> >> gdb /path/to/opensips pid >> >> bt full >> >> >> >> And upload the entire output on pastebin. >> >> >> >> Best regards, >> >> >> >> Razvan Crainea >> >> OpenSIPS Core Developer >> >> http://www.opensips-solutions.com >> >> >> >> >> >> On 12/16/2013 12:08 PM, [email protected] wrote: >> >>> >> >>> I had same problem when my Debian can't resolve one of gateways. >> >>> >> >>> >> >>> 2013/12/16 Dragomir Haralambiev <[email protected] >> >>> <mailto:[email protected]>> >> >>> >> >>> >> >>> i have not Registrant module. >> >>> >> >>> On Dec 16, 2013 11:53 AM, "[email protected] >> >>> <mailto:[email protected]>" <[email protected] >> >>> >> >>> <mailto:[email protected]>> wrote: >> >>> >> >>> Hi, Do you use Registrant module? >> >>> anyway check yours DNS, can you resolve your gateways ? >> >>> >> >>> >> >>> 2013/12/16 Dragomir Haralambiev <[email protected] >> >>> <mailto:[email protected]>> >> >>> >> >>> >> >>> Hello, >> >>> >> >>> Opensip working 10-15 min. >> >>> I see follow statistic: >> >>> PID USER PR NI VIRT RES SHR S %CPU %MEM >> >>> TIME+ COMMAND >> >>> 23168 opensips 20 0 201m 11m 8948 R 99.7 0.1 >> >>> 1:49.59 >> >>> opensips >> >>> 23174 opensips 20 0 201m 11m 8876 R 98.7 0.1 >> >>> 1:52.54 >> >>> opensips >> >>> 23177 opensips 20 0 201m 12m 9660 R 96.0 0.1 >> >>> 1:07.15 >> >>> opensips >> >>> 23172 opensips 20 0 201m 12m 9816 R 91.0 0.1 >> >>> 1:05.36 >> >>> opensips >> >>> 23182 opensips 20 0 295m 11m 8756 R 91.0 0.1 >> >>> 1:44.61 >> >>> opensips >> >>> 23169 opensips 20 0 201m 12m 9.9m R 90.7 0.1 >> >>> 0:57.99 >> >>> opensips >> >>> 23170 opensips 20 0 200m 11m 8924 R 84.1 0.1 >> >>> 1:53.83 >> >>> opensips >> >>> >> >>> Why Opensisp use 100 % from CPU? >> >>> >> >>> Opensips ver. 1.8 >> >>> >> >>> Best regards, >> >>> >> >>> PlayMen >> >>> >> >>> _______________________________________________ >> >>> Users mailing list >> >>> [email protected] <mailto:[email protected]> >> >>> >> >>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> >>> >> >>> >> >>> >> >>> _______________________________________________ >> >>> Users mailing list >> >>> [email protected] <mailto:[email protected]> >> >>> >> >>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> >>> >> >>> >> >>> _______________________________________________ >> >>> Users mailing list >> >>> [email protected] <mailto:[email protected]> >> >>> >> >>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> >>> >> >>> >> >>> >> >>> >> >>> _______________________________________________ >> >>> Users mailing list >> >>> [email protected] >> >>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> >>> >> >> >> >> _______________________________________________ >> >> Users mailing list >> >> [email protected] >> >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> > >> > >> > >> > _______________________________________________ >> > Users mailing list >> > [email protected] >> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> > >> >> >> >> -- >> VoIP Embedded, Inc. >> http://www.voipembedded.com >> >> _______________________________________________ >> Users mailing list >> [email protected] >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > -- VoIP Embedded, Inc. http://www.voipembedded.com _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
