Forums / Install & configuration / Performance issues

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