[SR-Users] [sr-dev] RFC: removing (disabling) fork=no

Olle E. Johansson oej at edvina.net
Thu Jan 21 08:46:52 CET 2016

> On 20 Jan 2016, at 09:19, Daniel-Constantin Mierla <miconda at gmail.com> wrote:
> Hello,
> wondering if anyone is using fork=no -- some old docs suggest it is
> suitable for debugging, but actually kamailio doesn't work properly in
> this mode, leading to more troubles than benefits (e.g., having reports
> of invalid issues, like tcp not working in this mode).
> In first phase I would disable setting this value, with a warning if set
> to no, because most of the configs out there have fork=yes. Removing it
> could be considered in the future.
> Note that this fork=no is different than don't daemonize controlled with
> -D, which will stay being useful for some init.d systems.
What is the difference?

I have been using fork=no a lot in test scripts, but could possibly move to
-D. Having a config file parameter is easier though, said the lazy man.

> Comments or other suggestions?
> Cheers,
> Daniel
> -- 
> Daniel-Constantin Mierla
> http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
> Book: SIP Routing With Kamailio - http://www.asipto.com
> http://miconda.eu
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

More information about the sr-users mailing list