Aborted pconnects to MySQL with php 4.0.1pl1
| From: | August Zajonc | Date: | Sat, 01 Jul 2000 23:33:29 +0000 |
| Subject: | Aborted pconnects to MySQL with php 4.0.1pl1 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-4320@lists.php.net to get a copy of this message | ||
Hey folks,
We're running a PHP 4.0.1pl1/MySQL combination on three reasonable sized
dedicated servers (Dual PIII/1G RAM/Redhat/Raid 5). On the backend is the
database server, with two frontend web servers. MySQL works like a champ
unless I enable persistent connections, in which case I get a ton of the
following:
000701 19:23:20 Aborted connection 295169 to db: 'cashwars' user: 'root'
host: `216.205.94.xx' (Got an error reading communication packets)
MySQL quickly dies and I'm stuck doing a restart. It does appear to work for
10-30 seconds after switching to pconnect from connect in PHP (and more
quickly at
that), but then whamo it goes down. Switching back solves the problem. This
is a recent (23.18) version of MySQL
Any insight here? Is this a known problem? Love to get persistent
connections back up, the overhead setting up and tearing down connections is
miserable.
August