[asterisk-dev] Stack size in asterisk threads
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the asterisk-dev