Specs are:
Dual Xeon 2.8GHz
4GB Memory
100MBit Port
300GB SCSI drives (21% full)
5GB /tmp partition (15% full)
PHP 4.4.2 w/ zend optimizer and eaccelerator
MySQL 4.1
Apache 1.3x
About 128 IP's on this server (resellers)
Problem:
Server load floats around 10 - 12 cpu suddenly past few days. Was only 2-3 cpu average usually. TOP shows nothing abnormal (see screenshots) and /tmp shows nothing unusual
Ran rkhunter, chkrootkit, graceful reboot - nothing suspicious
cpu/memory/mysql stats is typical, usual results
Installed:
APF
BFD
LSM
LES
SIM
MOD DOSINFLATE
MOD SECURITY
EACCELERATOR
MOD THROTTLE
ZEND OPTIMIZER
SECURED TMP AND VAR PARTITIONS
RUBY RAILS
FAST CGI
EXIM ACL DICTIONARY ATTACK
/etc/my.cnf
#DO NOT MODIFY THE FOLLOWING COMMENTED LINES!
#Created with ELS from www.nsonetworks.com
#els-build=4.1
[mysqld]
datadir=/var/lib/mysql
skip-locking
#skip-networking
safe-show-database
query_cache_limit=1M
query_cache_size=128M ## 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=256M ## 64MB 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=4M ## 1MB for every 1GB of RAM
read_buffer_size=4M ## 1MB for every 1GB of RAM
read_rnd_buffer_size=4M ## 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
[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=256M
sort_buffer=64M
read_buffer=16M
write_buffer=16M
[myisamchk]
key_buffer=256M
sort_buffer=64M
read_buffer=16M
write_buffer=16M
[mysqlhotcopy]
interactive-timeout
httpd.conf file
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
MinSpareServers 5
MaxSpareServers 10
StartServers 5
MaxClients 300
MaxRequestsPerChild 0
php.ini file (resource limits)
max_execution_time = 30
memory_limit = 8M
post_max_size = 55M



LinkBack URL
About LinkBacks
Reply With Quote





