Need assistance optimising a server
Hi there,I know this is another 'optimize my server' thread however i have tried many methods stated on WHT however the load is still the same.
I have a server which has just one website, this website has about 2.5-3 million page views a month, with about 60 million hits a month (a lot of images)
This site also has a forum where about 40-90 users are always online. The forum is using Invision Power Board. I havent tried any of the mysql tweaks as the main bulk of the traffic is the main site, which is html with a few php includes on every page (which point to html files).
My server specs are:
AMD 3000+ Barton
1GB RAM
The config files are below:
my.cnf
Code:
[mysqld] set-variable = max_connections=500 safe-show-database
The top screen is below:
Code:
00:50:42 up 16 days, 1:40, 1 user, load average: 0.73, 0.91, 1.00
120 processes: 102 sleeping, 3 running, 14 zombie, 1 stopped
CPU states: 30.1% user 8.5% system 0.5% nice 0.0% iowait 60.6% idle
Mem: 1014756k av, 994872k used, 19884k free, 0k shrd, 78528k buff
471820k actv, 24k in_d, 16604k in_c
Swap: 1052248k av, 65672k used, 986576k free 490720k cached
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND
31140 root 24 0 2952 2704 1700 R 4.5 0.2 23:22 0 httpd
4295 nobody 25 0 0 0 0 Z 0.9 0.0 0:00 0 httpd <defunct>
4726 gtawh 34 19 2460 2460 716 S N 0.7 0.2 2:21 0 webalizer
4289 nobody 25 0 0 0 0 Z 0.5 0.0 0:00 0 httpd <defunct>
4294 nobody 25 0 0 0 0 Z 0.5 0.0 0:00 0 httpd <defunct>
4291 nobody 25 0 0 0 0 Z 0.3 0.0 0:00 0 httpd <defunct>
15619 mysql 15 0 20880 12M 1348 S 0.1 1.2 7:38 0 mysqld
3279 root 15 0 1248 1248 868 R 0.1 0.1 0:00 0 top
4145 nobody 20 0 0 0 0 Z 0.1 0.0 0:00 0 httpd <defunct>
4274 nobody 24 0 0 0 0 Z 0.1 0.0 0:00 0 httpd <defunct>
4304 nobody 25 0 0 0 0 Z 0.1 0.0 0:00 0 httpd <defunct>
1 root 15 0 112 80 56 S 0.0 0.0 0:04 0 init
2 root 15 0 0 0 0 SW 0.0 0.0 0:00 0 keventd
3 root 15 0 0 0 0 SW 0.0 0.0 0:02 0 kapmd
4 root 34 19 0 0 0 SWN 0.0 0.0 0:02 0 ksoftirqd_CPU0
9 root 15 0 0 0 0 SW 0.0 0.0 0:00 0 bdflush
5 root 15 0 0 0 0 SW 0.0 0.0 0:08 0 kswapd
6 root 15 0 0 0 0 SW 0.0 0.0 0:00 0 kscand/DMA
7 root 16 0 0 0 0 SW 0.0 0.0 20:43 0 kscand/Normal
8 root 15 0 0 0 0 SW 0.0 0.0 1:58 0 kscand/HighMem
10 root 15 0 0 0 0 SW 0.0 0.0 0:00 0 kupdated
11 root 23 0 0 0 0 SW 0.0 0.0 0:00 0 mdrecoveryd
15 root 15 0 0 0 0 SW 0.0 0.0 0:18 0 kjournald
617 root 15 0 0 0 0 SW 0.0 0.0 0:00 0 kjournald
952 root 15 0 280 272 200 S 0.0 0.0 0:02 0 syslogd
956 root 15 0 180 168 120 S 0.0 0.0 0:00 0 klogd
1054 nobody 15 0 1060 892 420 S 0.0 0.0 0:00 0 proftpd
1078 root 15 0 460 328 220 S 0.0 0.0 0:02 0 sshd
1092 root 15 0 432 352 280 S 0.0 0.0 0:00 0 xinetd
1112 root 19 0 1940 1084 636 S 0.0 0.1 0:21 0 chkservd
1269 bin 15 0 444 44 12 S 0.0 0.0 0:00 0 cannaserver
1281 root 15 0 296 288 216 S 0.0 0.0 0:00 0 crond
1298 wnn 23 0 3348 4 0 S 0.0 0.0 0:00 0 jserver
1457 root 15 0 2844 900 464 S 0.0 0.0 0:00 0 eximstats
1474 nobody 24 0 728 4 0 S 0.0 0.0 0:00 0 entropychat
1479 nobody 25 0 232 4 0 S 0.0 0.0 0:00 0 melange
1509 cpanel 15 0 632 4 0 S 0.0 0.0 0:00 0 stunnel-4.04loc
1522 root 15 0 112 104 56 S 0.0 0.0 0:00 0 rhnsd
1551 root 25 0 68 4 0 S 0.0 0.0 0:00 0 portsentry
1564 root 22 0 52 4 0 S 0.0 0.0 0:00 0 mingetty
1565 root 22 0 52 4 0 S 0.0 0.0 0:00 0 mingetty
1566 root 22 0 52 4 0 S 0.0 0.0 0:00 0 mingetty
1567 root 22 0 52 4 0 S 0.0 0.0 0:00 0 mingetty
1568 root 22 0 52 4 0 S 0.0 0.0 0:00 0 mingetty
1569 root 22 0 52 4 0 S 0.0 0.0 0:00 0 mingetty
3792 root 15 0 0 0 0 SW 0.0 0.0 0:00 0 loop0
15361 root 15 0 84 4 0 S 0.0 0.0 0:00 0 crond
15362 root 20 0 0 0 0 Z 0.0 0.0 0:00 0 upcp <defunct>
15425 mailnull 15 0 348 4 0 S 0.0 0.0 0:00 0 sendmail
15598 root 25 0 140 4 0 S 0.0 0.0 0:00 0 mysqld_safe
26471 root 15 0 16244 15M 580 S 0.0 1.6 0:09 0 clamd
26477 mailnull 15 0 1028 1028 688 S 0.0 0.1 0:00 0 exim
Is there anything i can do to speed up the server, without resulting to hardware upgrades?

