slow surf

Author Message

thierry cazalet

Friday 08 July 2005 6:15:20 am

Hi,

I've installed the last version of ezpublish.
and I experienced very slow reaction from each click.
when I click on a link (admin or site created) it takes 20-30 sec to access it.

CPU charge is 97%, ram and swap are 80% filled when I use ezpublish otherwise it doesn't exceed 2%.

my config is php 4.3.11 mysql 4.xx CPU celeron 2.6 512Mo RAM, My HD is 32% full of 40Go

Can someone help me ?

thanks !

Birger Kollstrand

Friday 08 July 2005 6:56:27 am

Hi,

Check that the web user/user group has read/write permission to the var directory.

I moved a site from one machine to another and forgot to update the read/write permissions and got the same problem as you describe.

cu / birger....
Linær AS

thierry cazalet

Friday 08 July 2005 8:27:38 am

I've set chmod 777 to /var but it's the same

Luke Barton

Friday 08 July 2005 8:43:47 pm

Thierry,

Did you enable debug output? It can point to a lot of problems. You can also output what tpl file is being called.

Are you using cache blocks in your code?

Are you compiling your templates?

I had these same headaches. It's normally file permissions, caching and compiling issues.

Good luck.

Luke

thierry cazalet

Saturday 09 July 2005 1:06:02 pm

I've created with the wizard a plain site, no other change

finally I manually create necessary folders in /var and chown nobody:nobody
it's better, but not optimum (1-3sec)

I've these errors (I use french as default + english):

No translation for file(translation.ts) in context(lib/template): 'The maximum nesting level of 40 has been reached. The execution is stopped to avoid infinite recursion.' with comment()

No translation for file(translation.ts) in context(kernel/classes/datatypes): 'XML block' with comment(Datatype name)

etc ..

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 03:31:29
Script start
Timing: Jan 19 2025 03:31:29
Module start 'layout'
Timing: Jan 19 2025 03:31:29
Module start 'content'
Timing: Jan 19 2025 03:31:31
Module end 'content'
Timing: Jan 19 2025 03:31:31
Script end

Main resources:

Total runtime1.6804 sec
Peak memory usage4,096.0000 KB
Database Queries65

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 589.1328152.6094
Module start 'layout' 0.00530.0029 741.742239.4141
Module start 'content' 0.00821.6705 781.1563521.7891
Module end 'content' 1.67860.0017 1,302.945312.1953
Script end 1.6803  1,315.1406 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.1887160.0002
Check MTime0.00130.0770160.0001
Mysql Total
Database connection0.00110.065710.0011
Mysqli_queries1.621696.4998650.0249
Looping result0.00080.0453630.0000
Template Total1.637097.420.8185
Template load0.00220.131420.0011
Template processing1.634897.288220.8174
Template load and register function0.00020.013510.0002
states
state_id_array0.00190.110210.0019
state_identifier_array0.00360.216620.0018
Override
Cache load0.00180.1081350.0001
Sytem overhead
Fetch class attribute can translate value0.00100.061930.0003
Fetch class attribute name0.00270.160350.0005
XML
Image XML parsing0.00050.028330.0002
class_abstraction
Instantiating content class attribute0.00000.000850.0000
General
dbfile0.00100.0575100.0001
String conversion0.00000.000440.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
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/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: 18
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs