windows installer + setup horribly slow

Author Message

no spam

Tuesday 01 March 2005 3:26:04 am

i just downloaded and tried the windowsinstallation of ezpublish,
and it takes verrry long, i even get script-timeouts. (> 30 secs)
even the "finetune" function gets timeouts.
i guess there is something either wrong with the setup-routine,
or the whole php-code is written very bad. cant imagine you have a millon
downloads.
is this normal to be very slow.
what is the normal time (on a new computer/server) to install the system
and then to run the new index-page ?

my system
windows-xp pro, Mobile-M 1,4Ghz. 512MB-Ram
this should be fast enough for some "php-scripts".

Addon:
Seems my Antivirus is scanning every php on execution. seems a bad configuration of apache ;( never had problems with xampp before. seems
apache setup could be improved (does it run in cgi-mode ?)

Łukasz Serwatka

Tuesday 01 March 2005 3:41:45 am

Hi no spam,

Welcome in eZ publish community :-)

This looks like cache problem. Could you chceck If var, settings, design are writable by eZ publish If you using NTFS file system? Try also disable your antivirus to be sure If this is a reason.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

no spam

Tuesday 01 March 2005 3:58:59 am

i guess it has much to do with the antivirus, which tests every php-script, and the setuproutine has many of them as it also tests the include-files (when reading/opening files).
i manually excluded the ezpulish directory from scanning and now it has a reasonable speed. but only after hitting the cache. so first page-compiles are a little slow.
perhaps this can be an example if others have problems with very slow speed to check their antivirus behaviour.
on the other hand it displays the complexity of ezpublish and that there are very much (include-)files involved...
i checked my xampp installation and there i had the same problem, but the scripts i used before were fast enough, so i didnt recognize antivirus was slowing them. ezpublish is the first web-application( script) i run, which cause timeouts due to antivirus-scanning.

Łukasz Serwatka

Tuesday 01 March 2005 5:25:36 am

Hi,

For better performance you can use PHP accelerator. This works on windows platform too.
http://ez.no/community/blog/a_free_php_accelerator_for_win_and_lin

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Johan Van Mol

Friday 06 May 2005 2:33:26 pm

I had the same problem with the windows installer. Using EasyPHP and the .tar.gz download solved this problem for me...
But it still isn't that fast :-[ I wonder what it will be like on a host.
Do you need some kind of custom, high performance hosting? Or should you be able to run eZ on a shared host at a reasonable speed?
If special hosting is needed, then eZ is not what I'm looking for...

Tim Dickinson

Friday 06 May 2005 4:43:23 pm

I had a similar problem when I installed ezp3.0 back in the days...

Windows, antivirus and my lack of a php accelerator all added up (as well as my PC not being anywhere near as powerful as my [shared] server) to my site being pretty slow until a decent amount of caching was performed.

I since have been using a reasonably cheap host to test out and develop ezpublish sites, then moving them to a more secure/faster server environment once the site has been developed.

Cheers

Tim

http://www.AdBalance.com - Ad network news and reviews
http://www.DevPublisher.com - Website publisher guides, tools and news
http://www.AudioMelody.com - Make better music

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 22:24:55
Script start
Timing: Jan 18 2025 22:24:55
Module start 'layout'
Timing: Jan 18 2025 22:24:55
Module start 'content'
Timing: Jan 18 2025 22:24:56
Module end 'content'
Timing: Jan 18 2025 22:24:56
Script end

Main resources:

Total runtime1.2428 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.0044 589.0469152.6250
Module start 'layout' 0.00450.0040 741.671939.4453
Module start 'content' 0.00851.2328 781.1172652.9688
Module end 'content' 1.24120.0015 1,434.085916.1563
Script end 1.2427  1,450.2422 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00470.3791160.0003
Check MTime0.00150.1236160.0001
Mysql Total
Database connection0.00050.043810.0005
Mysqli_queries1.172894.3737700.0168
Looping result0.00070.0554680.0000
Template Total1.210697.420.6053
Template load0.00200.161620.0010
Template processing1.208597.246620.6043
Template load and register function0.00030.024110.0003
states
state_id_array0.00090.074310.0009
state_identifier_array0.00100.083920.0005
Override
Cache load0.00180.1419470.0000
Sytem overhead
Fetch class attribute can translate value0.00070.058740.0002
Fetch class attribute name0.00120.099480.0002
XML
Image XML parsing0.00160.131140.0004
class_abstraction
Instantiating content class attribute0.00000.001690.0000
General
dbfile0.00230.1875240.0001
String conversion0.00000.000840.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
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.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/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: 24
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs