note 13454 added to function.mysql-pconnect.php
| From: | smccarthy at sci-spain dot com | Date: | Sun, 17 Jun 2001 18:37:31 +0000 |
| Subject: | note 13454 added to function.mysql-pconnect.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-14289@lists.php.net to get a copy of this message | ||
For those people having problems with persistent connections to MySQL under big loads, this might
help them. If they are using Linux, there is a problem with MySQL for Linux and multithreading. It
is explained in the MySQL manual that you have to increase the number of PTHREAD_THREADS_MAX in
sysdeps/unix/sysv/linux/bits/local_lim.h' to 4096 and decrease STACK_SIZE in
internals.h' to 256 KB. This process is explained in page 72 for the 3.23.33 version.
http://www.php.net/manual/en/function.mysql-pconnect.php