Slow site on localhost with mamp - os x

Author Message

alex zeta

Thursday 27 September 2007 7:43:03 am

Hello,

my site is incredibly slow on every task (setup, admin, page refresh...) and I'm running it on localhost on a G4 733 MHz 1 GB ram.

Configuration:
Mac Os x 10.4.10
PHP Version 4.4.6
Apache Version 2.0.59
MySQL Version 5.0.37
Ez Publish Version 3.9.3

Is there some checkings I can do for be sure that everything is ok?
Sorry for being so generic, but I'm not expert and looking for a hint to start from.

Thank you
Alex

Xavier Serna

Thursday 27 September 2007 8:50:17 am

Hi Alex,

I'll suggest you that check the permissions for the var folder and all subfolders. Perhaps the system can't create the necessary cache files and is making everthing really slow.
Debug activation can help to find the problem.
Also review your ini settings and make sure that viewcache is activated too.

hth!

--
Xavier Serna
eZ Publish Certified Developer
Departament de Software
Microblau S.L. - http://www.microblau.net
+34 937 466 205

André R.

Thursday 27 September 2007 12:05:02 pm

Also take a look at some articles at this site for optimizing php / apc / apache / mysql on mac:
http://papelipe.no/

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Ole Morten Halvorsen

Friday 28 September 2007 12:50:42 am

Hi Alex,

I know from my own experience that running eZ Publish (or PHP apps in general) gives poor performance on PowerPC processors. I've tried running eZ Publish on both a G4 1GHz CPU and on a Dual 2GHz G5 and both was very slow. The new Intel Macs however seems to be running eZp much, much quicker...

Ole M.

Senior Software Engineer - Vision with Technology

http://www.visionwt.com
http://www.omh.cc
http://www.twitter.com/omh

eZ Certified Developer
http://ez.no/certification/verify/358441
http://ez.no/certification/verify/272578

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 00:28:36
Script start
Timing: Jan 19 2025 00:28:36
Module start 'layout'
Timing: Jan 19 2025 00:28:36
Module start 'content'
Timing: Jan 19 2025 00:28:37
Module end 'content'
Timing: Jan 19 2025 00:28:37
Script end

Main resources:

Total runtime1.4598 sec
Peak memory usage4,096.0000 KB
Database Queries64

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 587.9297152.6250
Module start 'layout' 0.00560.0028 740.554739.4453
Module start 'content' 0.00841.4497 780.0000628.4844
Module end 'content' 1.45810.0016 1,408.484412.1563
Script end 1.4597  1,420.6406 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.2271160.0002
Check MTime0.00140.0942160.0001
Mysql Total
Database connection0.00070.046910.0007
Mysqli_queries1.401696.0194640.0219
Looping result0.00070.0464620.0000
Template Total1.426497.720.7132
Template load0.00210.143220.0010
Template processing1.424397.570020.7121
Template load and register function0.00010.008610.0001
states
state_id_array0.00100.069910.0010
state_identifier_array0.00200.136120.0010
Override
Cache load0.00170.1190300.0001
Sytem overhead
Fetch class attribute can translate value0.00080.052240.0002
Fetch class attribute name0.00190.128360.0003
XML
Image XML parsing0.00180.120140.0004
class_abstraction
Instantiating content class attribute0.00000.000960.0000
General
dbfile0.00150.1029230.0001
String conversion0.00000.000640.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
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 21
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs