Forums / Install & configuration / running slow on OS X

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

eZ debug

Timing: Jan 18 2025 11:25:17
Script start
Timing: Jan 18 2025 11:25:17
Module start 'content'
Timing: Jan 18 2025 11:25:17
Module end 'content'
Timing: Jan 18 2025 11:25:18
Script end

Main resources:

Total runtime0.8346 sec
Peak memory usage4,096.0000 KB
Database Queries207

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0082 587.7109180.8359
Module start 'content' 0.00820.6544 768.5469661.4453
Module end 'content' 0.66260.1719 1,429.9922341.0938
Script end 0.8345  1,771.0859 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00420.4979210.0002
Check MTime0.00160.1941210.0001
Mysql Total
Database connection0.00100.122810.0010
Mysqli_queries0.733187.83972070.0035
Looping result0.00250.29732050.0000
Template Total0.805196.520.4026
Template load0.00220.264420.0011
Template processing0.802996.204820.4015
Template load and register function0.00020.022510.0002
states
state_id_array0.00110.132010.0011
state_identifier_array0.00080.090820.0004
Override
Cache load0.00200.2340400.0000
Sytem overhead
Fetch class attribute can translate value0.00210.247450.0004
Fetch class attribute name0.00150.175390.0002
XML
Image XML parsing0.00690.821050.0014
class_abstraction
Instantiating content class attribute0.00000.0033110.0000
General
dbfile0.00670.8052390.0002
String conversion0.00000.000830.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 26
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs