[asterisk-dev] Stack size in asterisk threads

Raj Jain rj2807 at gmail.com
Mon Apr 2 06:10:58 MST 2007


>
>
> > I've seen that, in main/utils.c, threads are created with a stack size
> > limited to 240KBytes. Probably this is the reason why my asterisk
> > application often crashes with a SIGSEGV... (yes, I'm using large
> > buffers).
> >
> > So I'm wondering what's the reason behind this limit and if it can be
> > changed without any side effect.
>
>
I think it'll be hard to assess what the impact will be. Plus, you probably
don't want to up the stack size for all the threads in the process. You're
probably better off moving your large buffers to the heap area.

Raj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20070402/ab9e64e1/attachment.htm


More information about the asterisk-dev mailing list