[asterisk-dev] Asterisk coredump

Tzafrir Cohen tzafrir.cohen at xorcom.com
Fri Apr 22 01:38:21 CDT 2011


On Thu, Apr 21, 2011 at 09:56:29PM -0700, Kirill Katsnelson wrote:
> 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%,  

Think again.

> and the -g has no disadvantages, as far as I can tell. Being able to  
> track down problems, should they occur.

-g implies something about the working directory. Which is slightly
nasty.

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-dev mailing list