Hello,
For a few servers with > 1000 concurrent connections,
I've compiled glibc 2.3.3 with a patched STACK_SIZE in
linuxthreads/descr.h :
#ifndef STACK_SIZE
#define STACK_SIZE (128 * 1024)
#endif
instead of #define STACK_SIZE (2 * 1024 * 1024)
This by the hints on the Documentation @ mysql.com
But, now I notice:
041125 15:15:34 mysqld started
041125 15:15:34 Warning: Asked for 196608 thread stack, but got 126976
041125 15:15:35 InnoDB: Started
/usr/local/mysql/libexec/mysqld: ready for connections.
Is the 128K STACK_SIZE I've built glibc with too little, and should I
update it to 256K ?
max_connections=1500, and max_allowed_packet=25M
glibc = 2.3.3
gcc = 3.4.3
mysql = 4.0.22
Please advice :)
--
WideXS http://www.widexs.nl
Wouter de Jong System-Administrator
Tel +31 (0)23 5698070 Fax +31 (0)23 5698099
Bijlmermeerstraat 62, 2131 HG HOOFDDORP, NL