Open Mysql threads - server crash

Author Message

laurent le cadet

Monday 25 September 2006 12:27:02 am

Hi,

I have a problem with 1 site which keeps mysql Threads open (more than 100 threads at the same time).
It makes the server crash.

This is an old site (3.2-1) that I planned to upgrade (but no time actually).
I don't know where to look for in phpMyadmin or anywhere else to solve this problem.

The site is quiet slow and I think that if we don't wait for the end of the querie and clic on another link of the site, the thread will stay open.

Please, give me a hint.

regards.

Laurent

Per-Espen Kindblad

Monday 25 September 2006 3:48:32 am

What kind of queries? Related to the search-function?

Per-Espen

laurent le cadet

Monday 25 September 2006 5:00:44 am

Per-Epsen,

No, I don't think it's related to the search engine. It's look like much more regular querie like clicking on a link.

I tryed to optimized the cache :

[ContentSettings]
ViewCaching=enabled

[TemplateSettings]
NodeTreeCaching=enabled

But there is no real effect.

Laurent

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 18 2025 05:04:17
Script start
Timing: Jan 18 2025 05:04:17
Module start 'layout'
Timing: Jan 18 2025 05:04:17
Module start 'content'
Timing: Jan 18 2025 05:04:17
Module end 'content'
Timing: Jan 18 2025 05:04:17
Script end

Main resources:

Total runtime0.5651 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 588.0313152.6406
Module start 'layout' 0.00530.0031 740.671939.4766
Module start 'content' 0.00840.5550 780.1484509.8594
Module end 'content' 0.56340.0017 1,290.007812.4531
Script end 0.5651  1,302.4609 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00480.8434160.0003
Check MTime0.00160.2829160.0001
Mysql Total
Database connection0.00100.176210.0010
Mysqli_queries0.509690.1767570.0089
Looping result0.00070.1215550.0000
Template Total0.536394.920.2682
Template load0.00190.342120.0010
Template processing0.534494.562320.2672
Template load and register function0.00010.017710.0001
states
state_id_array0.00080.146310.0008
state_identifier_array0.00070.120920.0003
Override
Cache load0.00170.2962250.0001
Sytem overhead
Fetch class attribute can translate value0.00130.229020.0006
Fetch class attribute name0.00160.274850.0003
XML
Image XML parsing0.00090.162220.0005
class_abstraction
Instantiating content class attribute0.00000.002160.0000
General
dbfile0.00140.2545190.0001
String conversion0.00000.001540.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
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 17
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs