The glibc
of RedHat 5.1 (glibc
2.0.7-13) has a memory leak, so
to get a stable MySQL version, you must upgrade glibc
to
2.0.7-19, downgrade glibc
or use a binary version of mysqld
. If
you don't do this, you will encounter memory problems (out of memory, etc.,
etc.). The most common error in this case is:
Can't create a new thread (errno 11). If you are not out of available
memory, you can consult the manual for any possible OS dependent bug
After you have upgraded to glibc
2.0.7-19, you can configure
MySQL with dynamic linking (the default), but you cannot
run configure
with the --with-mysqld-ldflags=-all-static
option
until you have installed glibc
2.0.7-19 from source!
You can check which version of glibc
you have with rpm -q glibc
.