[OpenSIPS-Users] help requested on debugging.

Jonathan Hulme jon at hul.me.uk
Mon Nov 11 06:44:13 EST 2019


Do you definitely have 8 tcp processes, checked using either:

opensips-cli -x mi ps

For version 3.x, or

opensipsctl fifo ps

For version 2.x

or are you checking ps x or top on the os?

Regards Jonathan

On 11/11/2019 10:52, Johan De Clercq wrote:
> Nope, I tried that. I still have eight opensips processes.
>
> Outlook voor iOS <https://aka.ms/o0ukef> downloaden
> ------------------------------------------------------------------------
> *Van:* Users <users-bounces at lists.opensips.org> namens David Villasmil 
> <david.villasmil.work at gmail.com>
> *Verzonden:* maandag, november 11, 2019 11:17 AM
> *Aan:* OpenSIPS users mailling list
> *Onderwerp:* Re: [OpenSIPS-Users] help requested on debugging.
> https://www.opensips.org/Documentation/Script-CoreParameters-3-0#udp_workers
>
> https://www.opensips.org/Documentation/Script-CoreParameters-3-0#tcp_workers
>
> On Mon, 11 Nov 2019 at 09:55, Johan De Clercq <johan at democon.be 
> <mailto:johan at democon.be>> wrote:
>
>     Is there a way to limit tcp workers? Whatever I do, I end up with
>     8 instances ...
>
>     Outlook voor iOS <https://aka.ms/o0ukef> downloaden
>     ------------------------------------------------------------------------
>     *Van:* Users <users-bounces at lists.opensips.org
>     <mailto:users-bounces at lists.opensips.org>> namens Răzvan Crainea
>     <razvan at opensips.org <mailto:razvan at opensips.org>>
>     *Verzonden:* maandag, november 11, 2019 9:01 AM
>     *Aan:* users at lists.opensips.org <mailto:users at lists.opensips.org>
>     *Onderwerp:* Re: [OpenSIPS-Users] help requested on debugging.
>     Yes, you are correct, you will get the debugging info with the
>     default
>     menuconfig build.
>
>     On 11/8/19 6:58 PM, johan wrote:
>     > Okay,
>     >
>     > I do assume that in a default make menuconfig build, the debug
>     info is
>     > present ?
>     >
>     > On 08.11.19 17:53, Răzvan Crainea wrote:
>     >> Hi, Johan!
>     >>
>     >> Unfortunately there's no specific document for describing how
>     to debug
>     >> OpenSIPS. We use the gdb tool to debug, which provides plethora of
>     >> means to track down an issue: set breakpoints, trace variables,
>     etc. I
>     >> admit it sometimes become a bit hard core, but that depends on
>     what
>     >> you want to achieve. But unfortunately we've never documented the
>     >> steps to do.
>     >>
>     >> Best regards,
>     >> Răzvan
>     >>
>     >> On 11/8/19 5:43 PM, johan wrote:
>     >>> Hi,
>     >>>
>     >>> can somebody explain to me how to debug a module from source
>     code ?
>     >>>
>     >>> Is there somewhere a document describing this ?
>     >>>
>     >>>
>     >>> Br,
>     >>>
>     >>>
>     >>> _______________________________________________
>     >>> Users mailing list
>     >>> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>     >>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>     >>
>     >
>     > _______________________________________________
>     > Users mailing list
>     > Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>     > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>     -- 
>     Răzvan Crainea
>     OpenSIPS Core Developer
>     http://www.opensips-solutions.com
>
>     _______________________________________________
>     Users mailing list
>     Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>     _______________________________________________
>     Users mailing list
>     Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
> -- 
> Regards,
>
> David Villasmil
> email: david.villasmil.work at gmail.com 
> <mailto:david.villasmil.work at gmail.com>
> phone: +34669448337
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20191111/8bdb1f6a/attachment.html>


More information about the Users mailing list