Suddenly no database connection

Author Message

Osichr Hayez

Friday 27 May 2005 4:43:27 am

I suddenly loose my database connection sometimes. mysql, ezpublish 3.5. The db is on the same machine as ezpublish.

This happens at about one out of 50 page requests.

Is there any cache or ini setting that could help? Or any other tips.

PS: The site doesnt have a high load..

Gene Snider

Friday 27 May 2005 11:16:11 am

Is there anything interesting in your mysql logs that might indicate a mysql error?

kracker (the)

Friday 27 May 2005 3:28:10 pm

Not much help from me on this one guys save this, I have personally heard of this occurring before from other users, yet I have never seen or been able to reproduce it (<i>personally</i>).

//kracker
<i>eminem : square dance</i>

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

Osichr Hayez

Tuesday 31 May 2005 2:50:44 am

The error was caused by too much traffic on mysql. Another site on the server had a skyhigh number of vistiors..

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 19 2025 01:23:49
Script start
Timing: Jan 19 2025 01:23:49
Module start 'layout'
Timing: Jan 19 2025 01:23:49
Module start 'content'
Timing: Jan 19 2025 01:23:49
Module end 'content'
Timing: Jan 19 2025 01:23:49
Script end

Main resources:

Total runtime0.5234 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 589.2734152.6406
Module start 'layout' 0.00650.0026 741.914139.4766
Module start 'content' 0.00900.5130 781.3906575.3359
Module end 'content' 0.52210.0013 1,356.726612.1484
Script end 0.5234  1,368.8750 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.6511160.0002
Check MTime0.00130.2487160.0001
Mysql Total
Database connection0.00090.178110.0009
Mysqli_queries0.478991.4942620.0077
Looping result0.00050.1013600.0000
Template Total0.493194.220.2466
Template load0.00210.409620.0011
Template processing0.491093.800420.2455
Template load and register function0.00010.027310.0001
states
state_id_array0.00120.234610.0012
state_identifier_array0.00070.131820.0003
Override
Cache load0.00170.3338160.0001
Sytem overhead
Fetch class attribute can translate value0.00080.148630.0003
Fetch class attribute name0.00170.321250.0003
XML
Image XML parsing0.00080.151330.0003
class_abstraction
Instantiating content class attribute0.00000.002050.0000
General
dbfile0.00080.1535180.0000
String conversion0.00000.001440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs