olkie
24th May 2007, 00:28
Hi all! I recently bought a dedicated server for our forum.
Problem we're facing is a high load and slow performance of the forum.
As a test I migrated the server to a less powerful server were the load was way lower, and pages ran faster.
23:25:16 up 25 days, 7:29, 2 users, load average: 5.27, 4.34, 4.63
server specs/details:
Linux removed 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 i686 GNU/Linux
Version
removed:~# cat /etc/debian_version
3.1
CPU
removed:~# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Pentium(R) 4 CPU 2.66GHz
stepping : 9
cpu MHz : 2665.609
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe up cid xtpr
bogomips : 5335.15
Memory
removed:~# cat /proc/meminfo
MemTotal: 2068896 kB
MemFree: 301168 kB
Buffers: 170792 kB
Cached: 803312 kB
SwapCached: 0 kB
Active: 1313544 kB
Inactive: 361000 kB
HighTotal: 1171392 kB
HighFree: 25296 kB
LowTotal: 897504 kB
LowFree: 275872 kB
SwapTotal: 2706912 kB
SwapFree: 2706876 kB
Dirty: 11540 kB
Writeback: 0 kB
AnonPages: 575604 kB
Mapped: 19936 kB
Slab: 83156 kB
PageTables: 3332 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
CommitLimit: 3741360 kB
Committed_AS: 929176 kB
VmallocTotal: 114680 kB
VmallocUsed: 4084 kB
VmallocChunk: 110520 kB
MySQL version:
MySQL on localhost (5.0.32-Debian_7etch1-log)
removed:~# mysql -V
mysql Ver 14.12 Distrib 5.0.32, for pc-linux-gnu (i486) using readline 5.2
PHP version
PHP Version 4.4.4-8+etch1
Apache version
removed:~# apache2 -v
Server version: Apache/2.2.3
Server built: Mar 27 2007 15:06:55
The server it used to run on had MySQL 4, so did the other server I tried the forum on. We have an avarage of +90 users online.
MySQl seems to be the trouble maker as far as I can tell, when I stop MySQL the load goes down very fast.
I did ran slow queries and stuff, and disabled plugins the forum was using.. but they ran fine on the other hardware so im not too sure about this.
I suspect the problem has to do with my MySQL version, or some sort of conflict with it. Is there any way to downgrade MySQL, and is it wise to do this?
Any information would be much appreciated!
Thanks in advance
Problem we're facing is a high load and slow performance of the forum.
As a test I migrated the server to a less powerful server were the load was way lower, and pages ran faster.
23:25:16 up 25 days, 7:29, 2 users, load average: 5.27, 4.34, 4.63
server specs/details:
Linux removed 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 i686 GNU/Linux
Version
removed:~# cat /etc/debian_version
3.1
CPU
removed:~# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Pentium(R) 4 CPU 2.66GHz
stepping : 9
cpu MHz : 2665.609
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe up cid xtpr
bogomips : 5335.15
Memory
removed:~# cat /proc/meminfo
MemTotal: 2068896 kB
MemFree: 301168 kB
Buffers: 170792 kB
Cached: 803312 kB
SwapCached: 0 kB
Active: 1313544 kB
Inactive: 361000 kB
HighTotal: 1171392 kB
HighFree: 25296 kB
LowTotal: 897504 kB
LowFree: 275872 kB
SwapTotal: 2706912 kB
SwapFree: 2706876 kB
Dirty: 11540 kB
Writeback: 0 kB
AnonPages: 575604 kB
Mapped: 19936 kB
Slab: 83156 kB
PageTables: 3332 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
CommitLimit: 3741360 kB
Committed_AS: 929176 kB
VmallocTotal: 114680 kB
VmallocUsed: 4084 kB
VmallocChunk: 110520 kB
MySQL version:
MySQL on localhost (5.0.32-Debian_7etch1-log)
removed:~# mysql -V
mysql Ver 14.12 Distrib 5.0.32, for pc-linux-gnu (i486) using readline 5.2
PHP version
PHP Version 4.4.4-8+etch1
Apache version
removed:~# apache2 -v
Server version: Apache/2.2.3
Server built: Mar 27 2007 15:06:55
The server it used to run on had MySQL 4, so did the other server I tried the forum on. We have an avarage of +90 users online.
MySQl seems to be the trouble maker as far as I can tell, when I stop MySQL the load goes down very fast.
I did ran slow queries and stuff, and disabled plugins the forum was using.. but they ran fine on the other hardware so im not too sure about this.
I suspect the problem has to do with my MySQL version, or some sort of conflict with it. Is there any way to downgrade MySQL, and is it wise to do this?
Any information would be much appreciated!
Thanks in advance