Forums / Install & configuration / Site takes too long to load!!!

Site takes too long to load!!!

Author Message

Nasi Nasi

Thursday 13 October 2005 11:17:34 am

Hi, im a newbie when it come to ezPublish,and when it comes to load the eZ ublish index or any other files it takes a long time.
Why is this?And what can i do so that my site can load fast everytime.
Even when i tried to install it it took a while...

Any help if helpfull...

Oh and the eZ publish verzion is 3.7.0

Nathan Kelly

Friday 14 October 2005 6:55:22 am

I had similar problems the first time I used eZp, the solution for me was a php accelerator:

http://www.google.com/search?q=php+accelerator

However this might depend on your hosting environment and/or operating system and server hardware.

Also I'm not using 3.7, AFAIK you need to be running PHP 4.4+ if you have EZ 3.7 so make sure you check the sys requirements for your version.

Otherwise I'd suggest you search the eZp site and forum, you are not the first person to have this problem and you should be able to find some ideas that may help you to optimise eZp.

Cheers!

Pardon me while I burst into flames...

Xavier Dutoit

Friday 14 October 2005 7:38:16 am

Turn on the debug and see the last table (where it says the time spent).

Not that obvious to interpret, but it gives you interresting infos.

http://www.sydesy.com

Alexandre Abric

Friday 14 October 2005 8:03:20 am

Yep, a PHP accelerator is really recommended.

A good trick is also to disable as many worklow operations as possible. This saves about 15% of the page generation time. See workflow.ini and edit parameter :

AvailableOperations=content_publish

Marko Žmak

Sunday 16 October 2005 9:44:04 am

You could also compile all your templates once you're done developing your site. You can do it by running:

bin/php/eztc.php

in the directory of your eZ installation (run it from your shell).

You can also adjust some Cachesettings for better caching, but I don't suggest to do that yet if you are a newbie to eZ.

Also, what version of eZ are you using? And are you using trabslations? There was some problems with translations in some version of ez 3.7. Look here:

http://ez.no/community/forum/install_configuration/maximum_execution_time_of_60_seconds_exceeded_ez_3_7_0rc1/

Hope it helps.

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

eZ debug

Timing: Jan 20 2025 06:53:32
Script start
Timing: Jan 20 2025 06:53:32
Module start 'content'
Timing: Jan 20 2025 06:53:32
Module end 'content'
Timing: Jan 20 2025 06:53:33
Script end

Main resources:

Total runtime0.1508 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 589.0703180.8281
Module start 'content' 0.00570.0075 769.898498.0391
Module end 'content' 0.01320.1375 867.9375526.1797
Script end 0.1507  1,394.1172 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00312.0239200.0002
Check MTime0.00110.7624200.0001
Mysql Total
Database connection0.00070.439610.0007
Mysqli_queries0.101167.02051410.0007
Looping result0.00120.80461390.0000
Template Total0.137391.010.1373
Template load0.00070.468710.0007
Template processing0.136690.537110.1366
Override
Cache load0.00050.316110.0005
Sytem overhead
Fetch class attribute can translate value0.00060.375310.0006
XML
Image XML parsing0.00020.120810.0002
General
dbfile0.01338.7932200.0007
String conversion0.00000.003830.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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0002 secs