[asterisk-dev] Asterisk coredump
Kirill Katsnelson
kkm at adaptiveai.com
Thu Apr 21 23:56:29 CDT 2011
On 110421 1426, Thorolf Godawa wrote:
> So the idea is to add the "-g" option to the normal startup-script:
>
> ASTARGS="-g -p -U asterisk"
>
> Does this have_any_ disadvantages or can this lead in problems with
> Asterisk?
I'd say no. Always compile with DONT_OPTIMIZE and run with -g. The first
will bring some CPU inefficiency, but I think it does not exceed 10%,
and the -g has no disadvantages, as far as I can tell. Being able to
track down problems, should they occur.
-kkm
More information about the asterisk-dev
mailing list