[OpenSIPS-Users] help requested on debugging.

Răzvan Crainea razvan at opensips.org
Mon Nov 11 06:09:10 EST 2019


David is right, in order to limit the TCP workers you need to set the 
tcp_workers parameter. Did you try to set it to a higher value, to make 
sure that param is properly read?

On 11/11/19 12:52 PM, 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
> 

-- 
Răzvan Crainea
OpenSIPS Core Developer
   http://www.opensips-solutions.com



More information about the Users mailing list