form information collector very slow

Author Message

Wei Dai

Sunday 22 March 2009 11:52:35 pm

Hi,
I have an eZ Publish 3.10 powered site changed server. On the new server, all the pages have the form with information collectors attributes become very slow when submit the forms.

Other pages are fine, and the pages with the form loaded also fine. Only when you submit, for example, the contact form, the user need wait about 2 mins for the information collected and sent out the information collection emails and load the confirm page.

The main difference between the new server and the older is that it has Suhosin and eAccelerator installed.
In the error_log file, there are many log messages like this:

Thu Mar 12 14:42:59 2009] [error] [client 58.246.35.226]
ALERT-SIMULATION - Include filename('compress.zlib://var/app/cache/template/compiled/ezstring-7e6414efbb6b e808afe8cb348f82e0aa.php') is an URL that is not allowed (attacker'58.246.35.226', file '/home/app/public_html/lib/eztemplate/classes/eztemplatecompiler.php' line 449), referer:http://www.app.org/index.php/fre/evenements_a_venir/actualites/pekin/co face_2008_survey_briefing_wednesday_1st_april

These kind log mesage is numerous, and quickly fill up the log file to couple hundreds MB!

I have no clue how to find the cause of this problem. Could someone shed some light on me? Thanks!

Certified eZ Publish 4 developer looking for develop information & collaboration.

Wei Dai

Wednesday 25 March 2009 9:20:58 am

Ok. I have the server setup a test system. I can debug. Can anyone tell me where to start? Cause I think it will be very slow to track the code line by line. If someone can point out some shortcuts or watch-outs, that'd be very helpful!

Certified eZ Publish 4 developer looking for develop information & collaboration.

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 11:37:46
Script start
Timing: Jan 18 2025 11:37:46
Module start 'layout'
Timing: Jan 18 2025 11:37:46
Module start 'content'
Timing: Jan 18 2025 11:37:46
Module end 'content'
Timing: Jan 18 2025 11:37:46
Script end

Main resources:

Total runtime0.5565 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 588.0391152.6406
Module start 'layout' 0.00490.0030 740.679739.4766
Module start 'content' 0.00790.5473 780.1563456.0078
Module end 'content' 0.55520.0012 1,236.16418.1406
Script end 0.5565  1,244.3047 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.5414160.0002
Check MTime0.00120.2233160.0001
Mysql Total
Database connection0.00080.135110.0008
Mysqli_queries0.518793.2006520.0100
Looping result0.00040.0736500.0000
Template Total0.522693.920.2613
Template load0.00170.307120.0009
Template processing0.520993.595020.2604
Template load and register function0.00030.046710.0003
states
state_id_array0.00080.149310.0008
state_identifier_array0.00070.120620.0003
Override
Cache load0.00130.2388140.0001
Sytem overhead
Fetch class attribute can translate value0.00070.132310.0007
Fetch class attribute name0.00140.257320.0007
XML
Image XML parsing0.00010.016210.0001
class_abstraction
Instantiating content class attribute0.00000.001120.0000
General
dbfile0.00070.1278100.0001
String conversion0.00000.001240.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs