Performance issues

Author Message

Paul Brandt

Tuesday 10 May 2005 5:11:37 am

I experience structural and critical down-performance: admin interface experiences 30 sec. time out on every action I try to perform. System is functioning since once in about 20 page reloads the requested page is displayed. This results in an unworkable situation and drives me to the conclusion to call the whole ezP-thing off :-(

Please do provide some suggestions to diagnose the problem and resolve this issue.

System Info Tab::

----
ezPublish
----
Version 3.4.4 (3.4.4)
SVN revision 9297
Extensions
----
PHP
----
Version 4.3.5
Extensions
	xml, tokenizer, sysvshm, sysvsem, standard, sockets, shmop, session, posix, pgsql, pdf, pcre, overload, mysql, mcrypt, mbstring, ldap, imap, iconv, gettext, gd, ftp, db, curl, ctype, calendar, bcmath, zlib, openssl, apache, Zend Optimizer

Safe mode is on.
Basedir restriction is off.
Global variable registration is on.
File uploading is enabled.
Maximum size of post data (text and files) is 8M.
Script memory limit is .
Maximum execution time is 30 seconds.
----
PHP Accelerator
----
There is no known PHP accelerator active

PHPInfo() provides the following details, a.o.:

----
PHP Version 4.3.5
----
Configure Command:
'./configure' '--with-mysql=/usr' '--with-interbase=shared' '--with-apxs=/usr/sbin/apxs' '--enable-track-vars' '--enable-safe-mode' '--with-libdir=/usr/lib' '--with-zlib' '--with-gd' '--with-jpeg-dir=/usr/lib' '--with-ttf' '--with-png-dir=/usr/lib' '--with-freetype-dir=/usr/include/freetype2' '--enable-bcmath' '--enable-sockets' '--enable-ftp' '--with-config-file-path=/etc/httpd/435' '--enable-magic-quotes' '--enable-apc' '--enable-trans-sid' '--enable-inline-optimization' '--with-imagick' '--with-pgsql' '--with-iconv' '--with-openssl=/usr' '--with-gettext=/usr' '--enable-safe-mode' '--with-exec-dir=/usr/bin' '--with-regex=system' '--with-curl=/usr' '--with-imap=/usr/local/imap-2000e' '--disable-debug' '--with-db' '--enable-mbstring' '--enable-mbstr-enc-trans' '--enable-mbregex' '--enable-shmop' '--enable-sysvsem' '--enable-sysvshm' '--enable-versioning' '--with-readline' '--with-iconv' '--enable-calendar' '--enable-ctype--enable-gd-imgstrttf' '--enable-gd-native-ttf' '--enable-wddx=shared' '--enable-mm=shared' '--enable-xml' '--with-xml' '--with-ldap' '--with-pdflib=/usr' '--with-mcrypt' '--enable-pcntl'
Virtual Directory Support: 	disabled
----
Zend Optimizer
----
Optimization Pass 1 	enabled
Optimization Pass 2 	enabled
Optimization Pass 3 	enabled
Optimization Pass 9 	disabled
Optimization Pass 10 	disabled
Zend Loader 	enabled
License Path 	no value
Zend Engine v1.3.0, 
Zend Extension Manager v1.0.0, 
Zend Optimizer v2.1.0
----
Apache
----
Apache Version: 	Apache/1.3.20 Sun Cobalt (Unix) Chili!Soft-ASP/3.6.2 mod_ssl/2.8.4 OpenSSL/0.9.6b PHP/4.3.5 mod_auth_pam_external/0.1 FrontPage/4.0.4.3 mod_perl/1.25
Apache Release: 	10320100
Apache API Version: 	19990320

Max Requests: 	Per Child: 1000 - Keep Alive: off - Max Per Connection: 0
Timeouts: 	Connection: 30 - Keep-Alive: 5

Loaded Modules:
 	mod_casp2, mod_ssl, mod_php4, mod_setenvif, mod_unique_id, mod_auth, mod_auth_pam_external, mod_access, mod_rewrite, mod_alias, mod_userdir, mod_actions, mod_imap, mod_asis, mod_cgi, mod_frontpage, mod_dir, mod_autoindex, mod_include, mod_status, mod_negotiation, mod_mime, mod_log_config, mod_define, mod_env, mod_perl, mod_so, http_core

HTTP_KEEP_ALIVE: 	300
----
MySQL
----
Client API version: 	3.23.37
mysql.allow_persistent:	On (local)	On (Master)
mysql.connect_timeout:	60 (local)	60 (Master)

Best regards
Paul

kracker (the)

Tuesday 10 May 2005 6:51:36 am

Great Post,

I gotta tell you ...Very Informative; props!

I only wish others would be so tenacious with details when they post to the forums :P

But you left out much information on the server's hardware (disk, amount of ram, idea of other users / sites / applications running on the server, <b>amount of memory allocated to php in the /etc/php.ini</b>, etc).

cheer up, you can do it!
//kracker

System Of A Down : Sugar (mpeg)

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

Paul Brandt

Thursday 12 May 2005 10:53:47 am

Thanks for the reply.

Unfortunately I can't give much more information since this is a hosted environment. I don't know the specs of the hardware, although I know it is shared quite extensively. At least the database is, since during installation of ezP I can choose from a pretty long list (around 30) of installed databases (naturally only one is available to me). Anyway, I presume the hardware specs may be marginal but reasonably sufficient.

Apart then from the hardware spec, do you observe any configuration aspects that can be considered "too limited" or out of normal operating envelope or contradictory? For instance, why is ezP indicating the absence of PHP accelerators whilst phpinfo() claims the presence of Zend optimizer?

Thansk in advance
Best regards
Paul Brandt

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 06:23:10
Script start
Timing: Jan 19 2025 06:23:10
Module start 'layout'
Timing: Jan 19 2025 06:23:10
Module start 'content'
Timing: Jan 19 2025 06:23:11
Module end 'content'
Timing: Jan 19 2025 06:23:11
Script end

Main resources:

Total runtime0.5763 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 589.1563152.6250
Module start 'layout' 0.00490.0030 741.781339.4453
Module start 'content' 0.00790.5671 781.2266558.1016
Module end 'content' 0.57500.0013 1,339.328116.1719
Script end 0.5763  1,355.5000 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.5205160.0002
Check MTime0.00120.2137160.0001
Mysql Total
Database connection0.00060.107010.0006
Mysqli_queries0.529691.8846570.0093
Looping result0.00050.0880550.0000
Template Total0.553596.020.2768
Template load0.00170.290420.0008
Template processing0.551895.748920.2759
Template load and register function0.00010.025310.0001
states
state_id_array0.00040.070810.0004
state_identifier_array0.00050.095220.0003
Override
Cache load0.00140.2374270.0001
Sytem overhead
Fetch class attribute can translate value0.00060.109320.0003
Fetch class attribute name0.00080.135740.0002
XML
Image XML parsing0.00080.130320.0004
class_abstraction
Instantiating content class attribute0.00000.001640.0000
General
dbfile0.00080.1429180.0000
String conversion0.00000.001840.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/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: 18
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs