I have enabled eaccelerator on my server but the site does not appear to load any quicker. It is a site running wordpress, with a 200mb mysql db, with hypercache running. I am on a uk VPS server with 512 mb guaranteed ram burstable to 768mb. I have done tests on pingdom, and .js and image files take a long time. 3-4 seconds each even the small ones 0.9kb Server information: Processor #1 Vendor: AuthenticAMD Processor #1 Name: Dual Core AMD Opteron(tm) Processor 270 Processor #1 speed: 498.614 MHz Processor #1 cache size: 1024 KB Processor #2 Vendor: AuthenticAMD Processor #2 Name: Dual Core AMD Opteron(tm) Processor 270 Processor #2 speed: 498.614 MHz Processor #2 cache size: 1024 KB Processor #3 Vendor: AuthenticAMD Processor #3 Name: Dual Core AMD Opteron(tm) Processor 270 Processor #3 speed: 498.614 MHz Processor #3 cache size: 1024 KB Processor #4 Vendor: AuthenticAMD Processor #4 Name: Dual Core AMD Opteron(tm) Processor 270 Processor #4 speed: 498.614 MHz Processor #4 cache size: 1024 KB output:from: php -v PHP 5.2.9 (cli) (built: Aug 22 2009 03:00:45) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies with eAccelerator v0.9.5.3, Copyright (c) 2004-2006 eAccelerator, by eAccelerator with the ionCube PHP Loader v3.1.34, Copyright (c) 2002-2009, by ionCube Ltd., and with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies Some php.ini info: max_execution_time 30 30 max_input_nesting_level 64 64 max_input_time 60 60 memory_limit 12M 12M output_buffering no value no value output_handler no value no value zlib.output_compression Off Off zlib.output_compression_level -1 -1 zlib.output_handler no value no value Loaded Modules core mod_authn_file mod_authn_default mod_authz_host mod_authz_groupfile mod_authz_user mod_authz_default mod_auth_basic mod_include mod_filter mod_log_config mod_logio mod_env mod_expires mod_headers mod_unique_id mod_setenvif mod_version mod_proxy mod_proxy_connect mod_proxy_ftp mod_proxy_http mod_proxy_ajp mod_proxy_balancer mod_ssl prefork http_core mod_mime mod_dav mod_status mod_autoindex mod_asis mod_info mod_suexec mod_cgi mod_dav_fs mod_negotiation mod_dir mod_actions mod_userdir mod_alias mod_rewrite mod_so mod_bwlimited mod_php5 mod_security2 eAccelerator support enabled Version 0.9.5.3 Caching Enabled true Optimizer Enabled false Memory Size 75,497,436 Bytes Memory Available 32 Bytes Memory Allocated 75,497,404 Bytes Cached Scripts 1034 Removed Scripts 0 Cached Keys 0 eaccelerator.cache_dir /tmp/eaccelerator /tmp/eaccelerator eaccelerator.check_mtime 1 1 eaccelerator.compress 0 0 eaccelerator.compress_level 9 9 eaccelerator.debug 0 0 eaccelerator.enable 1 1 eaccelerator.filter no value no value eaccelerator.log_file no value no value eaccelerator.name_space no value no value eaccelerator.optimizer 1 1 eaccelerator.shm_max 0 0 eaccelerator.shm_only 1 1 eaccelerator.shm_prune_period 3600 3600 eaccelerator.shm_size 72 72 eaccelerator.shm_ttl 0 0
do you think the problem is the hard disk speed? Can I change the eaccelearator config to perform better?
Dont use eaccellerator instead compile your php using workers mpm. I have done a benchmark test and its appear to be a lil bit faster than Litespeed webserver. I'm still exploring the possibilities of combination to optimize apache 2 right now.