[Asterisk-bsd] Stack size in pthreads

Chris Stenton asterisk-bsd@lists.digium.com
Wed, 21 Jul 2004 09:42:57 +0100


Thats why on Solaris they made the default pthread stack size 1 megabyte
to be on the safe side!

Chris

On Tue, 2004-07-20 at 15:36, Olle E. Johansson wrote:
> http://bugs.digium.com/bug_view_page.php?bug_id=0002067
> 
> Seems like the default stack size for a native thread in FreeBSD is 64k,
> which is not enough for Asterisk. We need to make it higher.
> 
> Questions:
> * In how many places of the source do we need to set the thread stacksize?
> 
> * Is this needed for other BSD:s as well? What about Mac OS/X?
> 
> Again, this is beyond my knowledge of programming, so we need help in
> coming through here. Raising the stack size made my crashes disappear.
> 
> Join me in the bug tracker, now :-)
> 
> And thank you Oryx, for a great job in providing us with fixes and information.
> 
> /O
> _______________________________________________
> Asterisk-BSD mailing list
> Asterisk-BSD@lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-bsd