Bug #8357 [Warning] Asked for 196608 thread stack, but got 126976
Submitted: 7 Feb 2005 19:27 Modified: 7 Feb 2005 22:05
Reporter: Donald Porter Email Updates:
Status: Duplicate Impact on me:
Category:MySQL Server Severity:S3 (Non-critical)
Version:4.1.9-0 OS:Linux (linux)
Assigned to: CPU Architecture:Any

[7 Feb 2005 19:27] Donald Porter
Upon starting the mysql server from the binary rpms, it gives this warning message:

[Warning] Asked for 196608 thread stack, but got 126976

If I recompile from source, I do not get this warning.

I am running Red Hat Enterprise Linux 3 WS release 3 (Taroon Update 4) with a 2.4.21-27 smp kernel.  

This can also be created on a Red Hat 7.3 machine running a 2.4.18-19.7 smp kernel.

How to repeat:
Simply install the rpm or run the mysqld command.

Suggested fix:
This seems to be an incompatibility with the pthread library that is statically compiled in to the binary mysqld executable.  Perhaps looking at the library which is statically linked in would be a good place to start.

Also, it is unclear how dangerous this warning is.  If it is benign, it might be worth adding something to the documentation.

Thanks in advance for any time and help on this issue.
[7 Feb 2005 20:59] MySQL Verification Team
Yes this happens because the server was statically linked with a fixed thread stack size and of course that warning message need to be documented.
[7 Feb 2005 22:05] Jim Winstead
This is a duplicate of #6226.