eZ started running slow?? Site deadline soon....

Author Message

Siw Helen Thorslund

Thursday 18 November 2004 9:17:59 am

My installation of eZ started running verry slow while working on it today.

It seems like it runs in a memory-loop or something, cause the pages just time out...

What could have happened?
What can I do to get this back to normal?

I hope somenone can help me with my problem verry soon, cause I have a verry short deadline on this.
Please help!

Thanx.. =)

www.VZT.no ( http://www.VZT.no )
VZT References ( http://http://vzt.no/index.php/vzt_eng/referanser )
VZT Extensions ( http://vzt.no/index.php/vzt_eng/extensions )
www.MediaBase.no ( http://www.MediaBase.no )

Juri T

Thursday 18 November 2004 11:00:51 am

I have the same problem... :(
Page opening aboute 20-40 seconds..
I have not very fast machine, but It is really impossible, because other php scripts, working well..

Felix Laate

Thursday 18 November 2004 12:03:43 pm

Happend to me too.

After creating some 10-15 folders my system (news-siteaccess not admin) simply times out.

Errormessage: Fatal error: eZ publish did not finish its request

The system runs 3.5.0beta1

felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

Siw Helen Thorslund

Thursday 18 November 2004 12:14:17 pm

This happened to me on a ezpublish-3.4.4 installation...

Anyone who solved this problem?

www.VZT.no ( http://www.VZT.no )
VZT References ( http://http://vzt.no/index.php/vzt_eng/referanser )
VZT Extensions ( http://vzt.no/index.php/vzt_eng/extensions )
www.MediaBase.no ( http://www.MediaBase.no )

Łukasz Serwatka

Thursday 18 November 2004 12:22:49 pm

Could you give us a more detailed answer? What OS, PHP version (CGI or mod_php), database engine, hardware (processor speed, RAM) do you use? Did you check debug output? What are your timings? Did you chceck permissions to var directory?

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

Juri T

Thursday 18 November 2004 1:37:19 pm

For example, I have next confiruration:
http://www.smji.ee/qwer/inf.php
(php is not version 4.3.2, where hard to find working versions to compile on freebsd with php with bg)
Main page is opening tooooo slowly..
I can see, that httpd takes 60%-90% of processor and increasing swap size up to 120mb !!.
On last step (real creating database and other configuration) I have timeout after 600sek.
Server configuration:
Cyrix 233mhz, 48mb, 170mb swap disk.

Installed eZ 3.4.4 version.
What other information I can give to help to developers?

Juri T

Thursday 18 November 2004 1:39:48 pm

Also, I tryed to run with 96mb memory.. no changes :(

Siw Helen Thorslund

Thursday 18 November 2004 1:58:27 pm

I have several other installations of eZ on this server, with the exact same setup.

The server is super.
I have had technicians chencking it.

It's only this installation who started beeing slow.
Never happened before...

www.VZT.no ( http://www.VZT.no )
VZT References ( http://http://vzt.no/index.php/vzt_eng/referanser )
VZT Extensions ( http://vzt.no/index.php/vzt_eng/extensions )
www.MediaBase.no ( http://www.MediaBase.no )

Bruce Morrison

Thursday 18 November 2004 2:00:46 pm

The very first thing to do when there is a problem is turn on debugging

in settings/override/site.ini.append.php

[DebugSettings]
DebugOutput=enabled

This should give you any errors that are occuring as well as a timing table. The timing table will allow you to pinpoint the areas where the time is being taking up in the page generation.

If you cannot work out what is going on, post the debug output here and I'll have a look.

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Siw Helen Thorslund

Thursday 18 November 2004 2:32:07 pm

I have these settings:

[TemplateSettings]
Debug=enabled

[ContentSettings]
ViewCaching=enabled
TranslationList=

[DebugSettings]
DebugOutput=enabled
ScriptDebugOutput=enabled
DebugByIP=enabled
DebugIPList[]=
Debug=inline
DebugRedirection=disabled

But it just want to write out the TemplateSettings debug.....

Is something wrong with that setup?

Yes, I have emptied the cache...

www.VZT.no ( http://www.VZT.no )
VZT References ( http://http://vzt.no/index.php/vzt_eng/referanser )
VZT Extensions ( http://vzt.no/index.php/vzt_eng/extensions )
www.MediaBase.no ( http://www.MediaBase.no )

Siw Helen Thorslund

Thursday 18 November 2004 2:39:54 pm

YES!!!

I found the error!

I was stupid enough to put an {menu name=TopMenu} inside flat_top.tpl that messed it all up..hehe

Thanx for your willingness to help.. =)

www.VZT.no ( http://www.VZT.no )
VZT References ( http://http://vzt.no/index.php/vzt_eng/referanser )
VZT Extensions ( http://vzt.no/index.php/vzt_eng/extensions )
www.MediaBase.no ( http://www.MediaBase.no )

Juri T

Thursday 18 November 2004 2:49:09 pm

He.. you are good man, but what aboute us? I have made no changes :))
What I have to check? :)

Łukasz Serwatka

Thursday 18 November 2004 11:25:37 pm

Hi Juri

This is from eZ publish requirements
http://www.ez.no/ez_publish/info/requirements

Required hardware

There are no built-in requirements. The hardware needed to run an eZ publish site 
depends on several factors, such as the average number of users, the size of the 
templates (including graphics), and how caching is used. 
(See the performance notes below.)

The installation requires about 50 MB on your harddisc. 
We do recommend some minimum values; at least 500 MHz CPU and 250 MB of RAM. 

I think that your hardware configuration is not enough.

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

Juri T

Friday 19 November 2004 2:17:57 pm

Could anybody tell me, how to change 600 sek (timeout) to 1000 for example. PHP ini file checked, Apache conf checked, eZ site.ini checked..

Juri T

Friday 19 November 2004 2:18:43 pm

Could anybody tell me, how to change 600 sek (timeout) to 1000 for example. PHP ini file checked, Apache conf checked, eZ site.ini checked..

Frederik Holljen

Friday 19 November 2004 11:03:55 pm

There is a setting in php.ini

Ekkehard Dörre

Saturday 20 November 2004 3:11:01 am

in php.ini ( the ??? are place holders)

;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;

max_execution_time = ???    ; Maximum execution time of each script, in seconds
max_input_time = ???        ; Maximum amount of time each script may spend parsing request data
memory_limit = ??M      ; Maximum amount of memory a script may consume (8MB)

Greetings, ekke

http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com
CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing

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 03:38:12
Script start
Timing: Jan 19 2025 03:38:12
Module start 'layout'
Timing: Jan 19 2025 03:38:12
Module start 'content'
Timing: Jan 19 2025 03:38:14
Module end 'content'
Timing: Jan 19 2025 03:38:14
Script end

Main resources:

Total runtime1.4500 sec
Peak memory usage4,096.0000 KB
Database Queries124

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 589.2891152.6406
Module start 'layout' 0.00530.0033 741.929739.4766
Module start 'content' 0.00861.4399 781.4063920.3828
Module end 'content' 1.44850.0015 1,701.789136.1250
Script end 1.4500  1,737.9141 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.2418160.0002
Check MTime0.00140.0955160.0001
Mysql Total
Database connection0.00060.039910.0006
Mysqli_queries1.338292.28631240.0108
Looping result0.00140.09431220.0000
Template Total1.416597.720.7083
Template load0.00220.153320.0011
Template processing1.414397.534820.7071
Template load and register function0.00010.008810.0001
states
state_id_array0.00090.065010.0009
state_identifier_array0.00180.124120.0009
Override
Cache load0.00220.1513930.0000
Sytem overhead
Fetch class attribute can translate value0.00060.044770.0001
Fetch class attribute name0.00160.1121230.0001
XML
Image XML parsing0.00330.226570.0005
class_abstraction
Instantiating content class attribute0.00010.0037280.0000
General
dbfile0.00180.1210480.0000
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
11content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
17content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
28content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
10content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
4content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 72
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs