|
View previous topic :: View next topic |
| Author |
Message |
MajorHeadache Supporter


Offline Joined: Mar 05, 2005 Posts: 263 Location: My Little Pony Arena
|
Posted: Thu Nov 27, 2008 3:19 am Post subject: Re: MySQL server has gone away |
|
Care to share the secret?
_________________ My Little Pony Arena
MajorHeadache's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Redhat Enterprise 4/Apache 2.2/MySQL 4.1.22/PHP 5/CPG 9.1.2.1
|
|
| Back to top |
|
 |
NanoCaiordo Developer


Offline Joined: Jun 29, 2004 Posts: 3878 Location: Melbourne, AU
|
Posted: Thu Nov 27, 2008 3:57 am Post subject: Re: MySQL server has gone away |
|
Off course I will as soon I get back home.
_________________ .:: I met php the 03 December 2003 :: Unforgettable day! ::.
Linux 64bit / Apache 2.2 / PHP 5.4 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) mixed
|
|
| Back to top |
|
 |
NanoCaiordo Developer


Offline Joined: Jun 29, 2004 Posts: 3878 Location: Melbourne, AU
|
Posted: Thu Nov 27, 2008 3:11 pm Post subject: Re: MySQL server has gone away |
|
Try to use in your httpd.conf
MaxRequestsPerChild = 1000
any value between 500 and 1000 should be fine in most cases .. by default you should have a value of "0"
_________________ .:: I met php the 03 December 2003 :: Unforgettable day! ::.
Linux 64bit / Apache 2.2 / PHP 5.4 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) mixed
|
|
| Back to top |
|
 |
rlgura 1000+ Posts Club


Offline Joined: Mar 27, 2006 Posts: 1146 Location: Cleveland, OH USA
|
Posted: Tue Jun 02, 2009 5:11 pm Post subject: Re: MySQL server has gone away |
|
Is there a way to see the current setting?
Obviously in a hosted environment, I don't have access to httpd.conf file and it doesn't look like you can specify this directive in .htaccess file.
_________________ Admin - Great Lakes Web Designs
Theme Designer - WebSite Guru Designs
Site Admin - Families with Food Allergies
rlgura's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux 2.6.27-grsec/Apache 2.2.11/MySQL 5.0.67-community-log/PHP 5.2.8/DF 9.2.1
|
|
| Back to top |
|
 |
rlgura 1000+ Posts Club


Offline Joined: Mar 27, 2006 Posts: 1146 Location: Cleveland, OH USA
|
Posted: Thu Jun 25, 2009 7:52 pm Post subject: Re: MySQL server has gone away |
|
Of course my host won't change this setting on a shared server...
I'm also running DF9.2.1 on 2 other sites on the same server - don't seem to have this problem with them...
Anything I can look at/test?
_________________ Admin - Great Lakes Web Designs
Theme Designer - WebSite Guru Designs
Site Admin - Families with Food Allergies
rlgura's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux 2.6.27-grsec/Apache 2.2.11/MySQL 5.0.67-community-log/PHP 5.2.8/DF 9.2.1
|
|
| Back to top |
|
 |
rlgura 1000+ Posts Club


Offline Joined: Mar 27, 2006 Posts: 1146 Location: Cleveland, OH USA
|
Posted: Fri Jun 26, 2009 2:22 am Post subject: Re: MySQL server has gone away |
|
turned off all non-essential blocks and so far no errors - looks like they updated SQL and PHP on my server about the time I started getting those errors, so one of my blocks must be misbehaving with the updates
_________________ Admin - Great Lakes Web Designs
Theme Designer - WebSite Guru Designs
Site Admin - Families with Food Allergies
rlgura's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux 2.6.27-grsec/Apache 2.2.11/MySQL 5.0.67-community-log/PHP 5.2.8/DF 9.2.1
|
|
| Back to top |
|
 |
|
|