Bug #1809 thread stack
Submitted: 11 Nov 2003 14:27 Modified: 15 Nov 2003 1:34
Reporter: [ name withheld ] Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Server Severity:S3 (Non-critical)
Version:4.0.15-standard OS:Linux (Linux RedHat)
Assigned to: CPU Architecture:Any

[11 Nov 2003 14:27] [ name withheld ]
Description:
When I start mysqld I receive this warning:

Warning: Asked for 196608 thread stack, but got 126976

I havent'changed stack configuration or mysql source code (it's installed using RPM from MYSQL site)

Sometimes, trying to connect to mysql using apache 2.0.47 + php  4.3.4 I receive this error:
2013: Lost connection to MySQL server during query

It doesn't seem a timeout problem (it exits after less than one second), probably this problem is connected with the warning above.

Andrea Busia

How to repeat:
The warning is present each time i start the server
[15 Nov 2003 1:34] Alexander Keremidarski
Sorry, but the bug system is not the appropriate forum for asking
support questions. Your problem is not the result of a bug.
For a list of more appropriate places to ask for help using MySQL
products, please visit http://www.mysql.com/support/

Thank you for your interest in MySQL.

196608 is default thread_stack_size set at compile time for 4.0.15
It can be changed with startup option.

The reason of the Warning is out of MySQL. OS refused such thread stack size and lowered it.

Lost connection error is not related to the above.