| ||||||||||||
![]() |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
(#1)
|
(#2)
|
(#3)
|
| Developer Posts: 800 Join Date: Dec 2007 Location: Idaho |
08-07-2008, 09:20 PM
This almost certainly means that PHP is aborting on a repeat basis (probably during cron), and your MySQL instance is using the default dead connection cleanup time (eight hours). Strongly suggest you update your my.cnf/my.ini MYSQL_OPT_CONNECT_TIMEOUT setting to a more appropriate value (my servers use 900, which is 15 minutes measured in seconds). Also, it may be appropriate for you to find the reason PHP is crashing, which is typically due to out of memory concerns, max post size or mysql's packet max size. If you would like, you're welcome of course to open a ticket with the support staff. -------------------------------------------------------------------
|
| | |
(#4)
|
(#5)
|
| Developer Posts: 800 Join Date: Dec 2007 Location: Idaho | Think it over. -
08-07-2008, 10:48 PM
Quote:
We can probably fix this if you'll give it a chance. ![]() -------------------------------------------------------------------
| |
| | |
(#6)
|
(#7)
|
| Member Posts: 152 Join Date: Jun 2003 Location: Sydney, Australia |
27-08-2008, 12:34 AM
While we're on the topic - is SupportSuite using mysql_pconnect or just mysql_connect? From what we've seen, it seems to be mysql_pconnect. (Don't feel like violating our license agreement just to check swift.php ) |
| | |
(#8)
|
(#9)
|
| Senior Member Posts: 5,922 Join Date: Jun 2005 Location: Cumbria, UK |
27-08-2008, 07:10 AM
Quote:
Icon Headquarters - Its Elixir - Web2Messenger | |
| | |
(#10)
|
| Operations Manager Posts: 5,664 Join Date: Jan 2006 Location: United Kingdom | Actually, we would like to think so. We also will 'enforce' against encouraging others to break their agreement here on the forums, with an infraction or ban. Comments like this on our own forum are not only rude, but completely unacceptable .-------------------------------------------------------------------
|
| | |
(#11)
|
| Senior Member Posts: 5,922 Join Date: Jun 2005 Location: Cumbria, UK |
27-08-2008, 03:30 PM
How was that an encouragement or rude? ![]() What I said there was simply that it couldn't be proved that it had been done. Icon Headquarters - Its Elixir - Web2Messenger |
| | |
(#12)
|
| Chief Operating Officer Posts: 821 Join Date: May 2005 Location: Boise, Idaho |
27-08-2008, 05:29 PM
It will use mysql_connect() or mysql_pconnect() depending on the value of this line in config/config.php (line 50 in 3.30.x): Code: define("P_CONNECT", false);
-------------------------------------------------------------------
|
| | |
(#13)
|
| Developer Posts: 800 Join Date: Dec 2007 Location: Idaho |
27-08-2008, 07:37 PM
This is very clearly an issue of a misconfigured MYSQL_OPT_CONNECT_TIMEOUT. Stopping this is the entire purpose of that setting. -------------------------------------------------------------------
|
| | |
(#14)
|
| New Member Posts: 20 Join Date: Apr 2006 |
27-08-2008, 09:53 PM
Quote:
That's why i don't understand why i need to add extra configuration to the server in order to prevent such multiple connections. | |
| | |
(#15)
|
| Developer Posts: 800 Join Date: Dec 2007 Location: Idaho |
27-08-2008, 10:37 PM
Because MySQL is set up by default in lots of ways which aren't appropriate for web applications. This is the same reason you have to set your max_packet_size and a variety of other MySQL defaults. The default configuration is meant for datacenters. Datacenter requirements are very different than web application requirements. If one size fit all, the configuration wouldn't need to be there. -------------------------------------------------------------------
|
| | |
![]() |
| Tags |
| 1000, mysql, processes |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| MySQL, PHP, IISv6 & Zend Installation | Brendan.main | Installation & Upgrading | 8 | 30-05-2008 05:07 PM |
| Error Creating Tables | Danym | SupportSuite, eSupport and LiveResponse | 1 | 03-11-2006 11:22 AM |
| Moving Kayako / MySQL Database to Another Server (and Backups) | jtaugher | SupportSuite, eSupport and LiveResponse | 5 | 25-08-2006 02:14 PM |