looking for advice on my new VPS I have set up with help from a friend. Everything seems to be working well and pages load quickly after the first page load, the first page load takes up to ten seconds even for simple text based websites.
I presume this is a DNS based issue, (or could it be related to Apache?), as the IP is being resolved, could anyone explain if I am correct and how to improve this?
Domains: bradfordians.co.uk, castlegardenspreschool.com & pezcuckow.com
Many thanks for your advice!
Can anyone confirm whether they are experiencing the slow down I am describing?
Output of w:
17:24:40 up 6:22, 2 users, load average: 0.64, 0.39, 0.45
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
root pts/0 130.88.177.204 16:44 38:00 0.02s 0.02s -bash
root pts/1 130.88.177.204 17:24 0.00s 0.01s 0.00s w
Output of free:
total used free shared buffers cached
Mem: 2048 320 1727 0 0 0
-/+ buffers/cache: 320 1727
Swap: 0 0 0
The beginning of top:
top - 17:26:46 up 6:25, 2 users, load average: 0.21, 0.29, 0.41
Tasks: 81 total, 1 running, 80 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 2097152k total, 328552k used, 1768600k free, 0k buffers
Swap: 0k total, 0k used, 0k free, 0k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1 root 18 0 2156 668 572 S 0.0 0.0 0:00.23 init
1350 mysql 15 0 125m 15m 4248 S 0.0 0.8 0:05.74 mysqld
1702 root 18 0 10008 2836 2292 S 0.0 0.1 0:00.02 sshd
1710 root 15 0 3844 1540 1248 S 0.0 0.1 0:00.02 bash
3580 root 18 0 3244 436 328 S 0.0 0.0 0:00.05 da-popb4smtp
3589 nobody 19 0 9136 1352 944 S 0.0 0.1 0:00.21 directadmin
Top while server is under reasonable load:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1350 mysql 15 0 126m 15m 4252 S 25.1 0.8 0:14.37 mysqld
31859 apache 15 0 50436 41m 1988 S 0.3 2.0 0:00.85 httpd
32146 apache 15 0 50464 41m 1972 S 0.3 2.0 0:00.75 httpd
1 root 18 0 2156 668 572 S 0.0 0.0 0:00.23 init
1702 root 18 0 10008 2836 2292 S 0.0 0.1 0:00.02 sshd
I get very strange load impact test results, could this be related?