Hi All,
IBM x3550 M2
CPU : 1 Quad Core Intel(R) Xeon(R) CPU E5504 @ 2.00GHz
Mem : 6081776 kB
OS : CentOS 5.3 64bit
=== APACHE (httpd -l) ===
Compiled in modules:
core.c
prefork.c
http_core.c
mod_so.c
=======================
=== APACHE (httpd -V) ====
Server version: Apache/2.2.14 (Unix)
Server built: Oct 14 2009 13:20:11
Server's Module Magic Number: 20051115:23
Server loaded: APR 1.3.8, APR-Util 1.3.9
Compiled using: APR 1.3.8, APR-Util 1.3.9
Architecture: 64-bit
Server MPM: Prefork
threaded: no
forked: yes (variable process count)
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=128
-D HTTPD_ROOT="/etc/httpd"
-D SUEXEC_BIN="/usr/sbin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="logs/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
============================================================
=== PHP (php -v) =======
PHP 5.2.11 (cli) (built: Sep 21 2009 14:52:42)
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
===========================
Would like to know with php 5.2.11 worker will give better performance or prefork
google result says that if php then use prefork
e.g:- this one -->
http://serverfault.com/questions/450...ntages-of-each
as per Apache docs if multi CPU then worker gives better performance.
Anyone could suggest me what would best suit for my dynamic website
I am using Drupal.
//Remy