Bug #48550 | Thread_stack_size really has a dynamic not static default | ||
---|---|---|---|
Submitted: | 4 Nov 2009 22:13 | Modified: | 11 Jan 2010 19:42 |
Reporter: | Arjen Lentz | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Documentation | Severity: | S3 (Non-critical) |
Version: | any | OS: | Any |
Assigned to: | Paul DuBois | CPU Architecture: | Any |
[4 Nov 2009 22:13]
Arjen Lentz
[4 Nov 2009 22:44]
MySQL Verification Team
Thank you for the bug report.
[11 Jan 2010 19:26]
Paul DuBois
Looks like 256K for 64-bit systems. my_pthread.h #ifndef DEFAULT_THREAD_STACK #if SIZEOF_CHARP > 4 /* MySQL can survive with 32K, but some glibc libraries require > 128K stack To resolve hostnames. Also recursive stored procedures needs stack. */ #define DEFAULT_THREAD_STACK (256*1024L) #else #define DEFAULT_THREAD_STACK (192*1024) #endif #endif
[11 Jan 2010 19:42]
Paul DuBois
Thank you for your bug report. This issue has been addressed in the documentation. The updated documentation will appear on our website shortly, and will be included in the next release of the relevant products.