Hello, I have performance problem on one of my production server. I have it now 3 days, and can't solve or find where the problem is.
Hardware: HP ML350 G5, Smart Array E200i with 2 x 64SAS disk, 6GB RAM
System: FreeBSD hydra 9.0-STABLE FreeBSD 9.0-STABLE #1: Mon Apr 9 19:15:53 CEST 2012 cr4sh@hydra:/sys/amd64/compile/Hydra amd64
/boot/loader.conf
[cmd=]zfs list[/cmd]:
[cmd=]jls[/cmd]
Issue:
Sometimes I get server lagging so much I can't use it on console.. When i type [cmd=]w -n[/cmd] I need to wait about 20-30 sec. then I get logged users. I think fold was jail xp (nginx + php) but one or two time I get laggy without this jail.
[cmd=]vmstat[/cmd] show nothing, in [cmd=]dmesg[/cmd], messages are any errors. I try memtest memory, but it passes all tests.
I check [CMD=]dd if=/dev/zero of=/tmp/test bs=1m count=100[/cmd]
Sometimes I get this:
And sometimes this:
I don't have other ideas. I will be grateful for any help.
Best regards.
Hardware: HP ML350 G5, Smart Array E200i with 2 x 64SAS disk, 6GB RAM
System: FreeBSD hydra 9.0-STABLE FreeBSD 9.0-STABLE #1: Mon Apr 9 19:15:53 CEST 2012 cr4sh@hydra:/sys/amd64/compile/Hydra amd64
/boot/loader.conf
Code:
vfs.zfs.prefetch_disable=1
vfs.zfs.cache_flush_disable=1
[cmd=]zfs list[/cmd]:
Code:
hydra# zfs list
NAME USED AVAIL REFER MOUNTPOINT
zroot 58,6G 4,40G 976M legacy
zroot/jails 54,1G 4,40G 1,78G /usr/jails
zroot/jails/dns 416M 4,40G 691M /usr/jails/dns
zroot/jails/jailbase 317M 4,40G 314M /usr/jails/jailbase
zroot/jails/mta 32,7G 4,40G 32,4G /usr/jails/mta
zroot/jails/mysql55 897M 4,40G 851M /usr/jails/mysql55
zroot/jails/postgresql9 625M 4,40G 669M /usr/jails/postgresql9
zroot/jails/samba 3,04G 4,40G 3,25G /usr/jails/samba
zroot/jails/tomcat7 1,01G 4,40G 1,05G /usr/jails/tomcat7
zroot/jails/windowsXP 13,2G 4,40G 12,8G /usr/jails/windowsXP
zroot/tmp 107K 4,40G 73K /tmp
zroot/usr 3,33G 4,40G 2,27G /usr
zroot/usr/home 46K 4,40G 46K /usr/home
zroot/usr/ports 1,06G 4,40G 965M /usr/ports
zroot/usr/ports/distfiles 102M 4,40G 102M /usr/ports/distfiles
zroot/usr/ports/packages 14,0M 4,40G 14,0M /usr/ports/packages
zroot/var 226M 4,40G 75,1M /var
zroot/var/crash 31,5K 4,40G 31,5K /var/crash
zroot/var/db 136M 4,40G 135M /var/db
zroot/var/db/pkg 778K 4,40G 778K /var/db/pkg
zroot/var/empty 31K 4,40G 31K /var/empty
zroot/var/log 1,66M 4,40G 1,55M /var/log
zroot/var/mail 428K 4,40G 428K /var/mail
zroot/var/run 87K 4,40G 64K /var/run
zroot/var/tmp 32K 4,40G 32K /var/tmp
[cmd=]jls[/cmd]
Code:
hydra# jls
JID IP Address Hostname Path
1 192.168.34.10 mx /usr/jails/mta
2 192.168.34.16 dns /usr/jails/dns
3 192.168.34.8 tomcat7 /usr/jails/tomcat7
4 192.168.34.9 postgresql9 /usr/jails/postgresql9
5 192.168.34.12 mysql /usr/jails/mysql55
6 192.168.34.11 xp /usr/jails/windowsXP
7 192.168.34.15 samba /usr/jails/samba
Issue:
Sometimes I get server lagging so much I can't use it on console.. When i type [cmd=]w -n[/cmd] I need to wait about 20-30 sec. then I get logged users. I think fold was jail xp (nginx + php) but one or two time I get laggy without this jail.
[cmd=]vmstat[/cmd] show nothing, in [cmd=]dmesg[/cmd], messages are any errors. I try memtest memory, but it passes all tests.
I check [CMD=]dd if=/dev/zero of=/tmp/test bs=1m count=100[/cmd]
Sometimes I get this:
Code:
hydra# dd if=/dev/zero of=/tmp/test bs=1m count=100
100+0 records in
100+0 records out
104857600 bytes transferred in 0.599228 secs (174987776 bytes/sec)
Code:
hydra# dd if=/dev/zero of=/tmp/test bs=1m count=100
100+0 records in
100+0 records out
104857600 bytes transferred in 26.476963 secs (3960333 bytes/sec)
I don't have other ideas. I will be grateful for any help.
Best regards.