I need help for Optimização my WebServer

DarkHipno

Member
Jun 29, 2005
7
0
151
Genebra, Switzerland
My WebServer around 3-4-5 load avarage.

Processor Information:

Processor #1 Vendor: GenuineIntel
Processor #1 Name: Intel(R) Xeon(R) CPU E5345 @ 2.33GHz
Processor #1 speed: 2327.938 MHz
Processor #1 cache size: 4096 KB

Processor #2 Vendor: GenuineIntel
Processor #2 Name: Intel(R) Xeon(R) CPU E5345 @ 2.33GHz
Processor #2 speed: 2327.938 MHz
Processor #2 cache size: 4096 KB

Processor #3 Vendor: GenuineIntel
Processor #3 Name: Intel(R) Xeon(R) CPU E5345 @ 2.33GHz
Processor #3 speed: 2327.938 MHz
Processor #3 cache size: 4096 KB

Processor #4 Vendor: GenuineIntel
Processor #4 Name: Intel(R) Xeon(R) CPU E5345 @ 2.33GHz
Processor #4 speed: 2327.938 MHz
Processor #4 cache size: 4096 KB
Memory Information
Memory: 8307640k
System Information
CentOS 4.5
Linux kenel 2.6.9-55.ELsmp #1 SMP Wed May 2 14:28:44 EDT 2007 i686 i686 i386 GNU/Linux
httpd.conf
RLimitMEM 824682837
RLimitCPU 240
ServerType standalone
Timeout 50
KeepAlive On
MaxKeepAliveRequests 60
KeepAliveTimeout 3
MinSpareServers 8
MaxSpareServers 13
StartServers 3
MaxClients 200
MaxRequestsPerChild 50

LoadModule rewrite_module libexec/mod_rewrite.so
LoadModule expires_module libexec/mod_expires.so
#LoadModule php4_module libexec/libphp4.so
LoadModule bwlimited_module libexec/mod_bwlimited.so
LoadModule bytes_log_module libexec/mod_log_bytes.so
LoadModule auth_passthrough_module libexec/mod_auth_passthrough.so
LoadModule bandwidth_module libexec/mod_bandwidth.so
LoadModule security_module libexec/mod_security.so
LoadModule evasive_module libexec/mod_evasive.so
my.cnf
[mysqld]
datadir=/var/lib/mysql
skip-locking
skip-innodb
skip-networking
safe-show-database
query_cache_limit=1M
query_cache_size=256M ## 32MB for every 1GB of RAM
query_cache_type=1
max_user_connections=200
max_connections=500
interactive_timeout=10
wait_timeout=20
connect_timeout=20
thread_cache_size=128
key_buffer=1024M ## 128MB for every 1GB of RAM
join_buffer=1M
max_connect_errors=20
max_allowed_packet=16M
table_cache=1024
record_buffer=1M
sort_buffer_size=8M ## 1MB for every 1GB of RAM
read_buffer_size=8M ## 1MB for every 1GB of RAM
read_rnd_buffer_size=8M ## 1MB for every 1GB of RAM
thread_concurrency=8 ## Number of CPUs x 2
myisam_sort_buffer_size=64M
server-id=1
log_slow_queries=/var/log/mysql-slow-queries.log
long_query_time=2
collation-server=latin1_general_ci
old-passwords = 1

[mysql.server]
user=mysql
basedir=/var/lib

[safe_mysqld]
err-log=/var/log/mysqld.log
pid-file=/var/lib/mysql/mysql.pid
open_files_limit=8192

[mysqldump]
quick
max_allowed_packet=16M

[mysql]
no-auto-rehash
#safe-updates

[isamchk]
key_buffer=64M
sort_buffer=64M
read_buffer=16M
write_buffer=16M

[myisamchk]
key_buffer=64M
sort_buffer=64M
read_buffer=16M
write_buffer=16M

[mysqlhotcopy]
interactive-timeout
PHP Info
PHP 4.4.7 (cli) (built: May 30 2007 18:07:58)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
with the ionCube PHP Loader v3.1.30, Copyright (c) 2002-2007, by ionCube Ltd., and
with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.2.6, Copyright (c) 1998-2007, by Zend Technologies
Help me for Optimização my WebServer
Compliments
 

euselect

Well-Known Member
Aug 3, 2003
51
0
156
Hi

Its more likely to be something thats running on your system , or something thats broken or misconfigured .

What does top, ps -wef f and apache status tell you ?
And your message log, do they give any clues

HTH

Neil