running slow on OS X

Author Message

Erland Flaten

Monday 18 October 2004 9:40:44 am

every time I click on a link in the readymade site, it takes often mote than 60 seconds to start loading a page.

My URL is http://localhost/~eflaten/ezpublish/index.php/news

EZ cant be that slow or is there some setup things i have done wrong. I followed the recomendations by the installer - I believe.

Thanks,
Erland Flaten , Lillehammer - Norway

Writer and webproducer in Lillehammer, Norway

Erland Flaten

Monday 18 October 2004 11:08:05 am

sorry, forgot to give som more infomation I believe is important. My system is:
Mac OS X 10.3.5 (latest)
MySQL 4.0.18,
PHP Version 4.3.4 by www.entropy.ch Release 2,
Apache/1.3.29 (Darwin)
My EZ is 3.4.2

I downloaded the ezpublish-3.4.2.tar.gz and dropped the ezfolder in a folder in the webserverfolder. Started up index.php. I choosed the theme newssite.

I used the SQL frontend Cocoa MySQL and made new database and selected this on to experiment with.

Then I was very happy to read that I can make my own inputpages with input data I choose. Thank you!!

Now if i only can speed this up...is my mac slow? Its 1,25 gHZ G4 prosessor with 1 gig ram.

erland, eflaten@online.no

Writer and webproducer in Lillehammer, Norway

Ole Morten Halvorsen

Tuesday 19 October 2004 1:32:48 am

Hi Erlend,

This sounds a bit strange. I got eZ publish installed on my iBook G4 (1GHz) with 512mb ram. Allthough not the fastest machine in the world, it does generate a page a lot quicker than 60 seconds.

Are your permissions correct? Is Apache able to write cache files to var/? Check the var/cache/ini directory, it should contain a bunch of .php cache files...

Best regards,
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

Frederik Holljen

Tuesday 19 October 2004 3:10:47 am

You can also try turning on debug output in your site.ini override. Any serious issues with permissions will be listed.

Gerhard Sletten

Wednesday 20 October 2004 2:18:19 am

Have tried out some php-accelerators that I read about on ez.no but with no success on my local apache in my G5 box. Anybody else tried out php-accelerators on their mac-system?

Gerhard Sletten
www.gersh.no - Software
www.gerhardsletten.no - Blog

Erland Flaten

Monday 08 November 2004 12:47:18 pm

I turned on debug and there was noe permission error. But the slow part is more mysql than ez The database used from ten to 20 seconds to output. I am refering to clicking around on the admin pages.

I will get back to this but first I have to get my new mysql (latest) up and running. There is a password problem with the new version of mysql.. Ez (the new alfa version) will not get access to the new mysql either. Maybe ez also will meet the same problem as the GUI tool CocoaMySQL acCessing MySQL 4.1.7 Discussed here:
http://www.entropy.ch/phpbb2/viewtopic.php?t=1650

and as just as you know. I am not very good in unix so I just have to write commands as provided.

Writer and webproducer in Lillehammer, Norway

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 16:03:39
Script start
Timing: Jan 18 2025 16:03:39
Module start 'layout'
Timing: Jan 18 2025 16:03:39
Module start 'content'
Timing: Jan 18 2025 16:03:41
Module end 'content'
Timing: Jan 18 2025 16:03:41
Script end

Main resources:

Total runtime1.4723 sec
Peak memory usage4,096.0000 KB
Database Queries70

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 587.9141152.6250
Module start 'layout' 0.00530.0033 740.539139.4453
Module start 'content' 0.00861.4621 779.9844656.3672
Module end 'content' 1.47070.0015 1,436.351616.1719
Script end 1.4722  1,452.5234 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.2201160.0002
Check MTime0.00140.0949160.0001
Mysql Total
Database connection0.00090.059210.0009
Mysqli_queries1.402495.2567700.0200
Looping result0.00070.0465680.0000
Template Total1.439797.820.7199
Template load0.00220.148520.0011
Template processing1.437597.639320.7188
Template load and register function0.00010.009810.0001
states
state_id_array0.00100.067210.0010
state_identifier_array0.00140.096620.0007
Override
Cache load0.00180.1236400.0000
Sytem overhead
Fetch class attribute can translate value0.00100.068140.0003
Fetch class attribute name0.00200.137590.0002
XML
Image XML parsing0.00460.312140.0011
class_abstraction
Instantiating content class attribute0.00000.0019110.0000
General
dbfile0.00450.3046280.0002
String conversion0.00000.000540.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/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: 26
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs