High load (uptime 100+) on dedicated server. Need help with settings
Hello,New to the forum and hope someone can help. We have a dedicated server with a single processor and 1GB RAM. The site is pretty responsive, but the uptime/top numbers are VERY high and I'm having trouble sending and receiving email. (Open WebMail ERROR - Couldn't open SMTP server 127.0.0.1:25!)
I'm new at this and took some settings from other threads in hopes that it would help, but it's still really high.
$ netstat -ant | grep :80 | wc -l | awk '{ print $1
813
code:--------------------------------------------------------------------------------
$ top
12:54pm up 13 days, 23:46, 1 user, load average: 146.60, 109.65, 107.77
642 processes: 621 sleeping, 21 running, 0 zombie, 0 stopped
CPU states: 1.7% user, 0.9% system, 1.9% nice, 2.4% idle
Mem: 1023256K av, 910020K used, 113236K free, 0K shrd, 70064K buff
Swap: 2104504K av, 80936K used, 2023568K free 177320K cached
--------------------------------------------------------------------------------
code:--------------------------------------------------------------------------------
$vmstat
procs memory swap io system cpu
r b w swpd free buff cache si so bi bo in cs us sy id
61 0 0 80192 94884 70296 187780 0 0 2 35 23 34 32 5 27
--------------------------------------------------------------------------------
We're running ColdFusion MX and MySQL. GZIP is not installed.
httpd.conf settings
MaxClients 250
StartServers 16
Timeout 180
KeepAlive On
MaxKeepAliveRequests 0
KeepAliveTimeout 15
MinSpareServers 16
MaxSpareServers 64
MaxRequestsPerChild 1000
HostnameLookups Off
my.conf settings (default large.conf file)::
port = 3306
socket = /var/lib/mysql/mysql.sock
skip-locking
set-variable = key_buffer=256M
set-variable = max_allowed_packet=1M
set-variable = table_cache=256
set-variable = sort_buffer=1M
set-variable = record_buffer=1M
set-variable = myisam_sort_buffer_size=64M
set-variable = thread_cache=8
# Try number of CPU's*2 for thread_concurrency
set-variable = thread_concurrency=8
log-bin
server-id = 1
CF MX Settings:
Max Number of simultaneous requests: 5
Min JVM Heap Size: 256MB
Max JVM Heap Size: 256MB
JVM Arguments:
-server -Dsun.io.useCanonCaches=false -XX:MaxPermSize=128m -XX:+UseParallelGC
Trusted Cache: On
Max number of cached templates: 1024
Max Number of cached queries: 100
Thanks in advance for any suggestions. Let me know if I need to include additional information.
Thanks,
Jeff