Hi,
I have a server running i386 FreeBSD 8.1 p0 RELEASE. It has only 2GB RAM, and I have tuned it for zfs with the following config in /boot/loader.conf
It has a single ZFS pool which is under no load other than every hour it has data replicated from another server, which is imported via a "zfs receive" command. Its been up for a couple of weeks but today it has crashed.
In the hurry to get it rebooted (its a production server) we didnt managed to get a screen grab of the console, however this is the last entries in the messages file just prior to the kernel panic:
All looks like it may be a problem with the siis eSATA controller, but I think its more likely to just be memory and ZFS related. Previously when I first put the ZFS data onto this server I had the loader.conf settings for kmem set to 512M and I could panic the server with similar errors every time I tried to import ZFS data via "zfs receive".
Anyone any comments on my config, things I could change? Or is my only quick and easy fix going to be sticking more memory in the server? Ive read that people can run ZFS without problems on a server with 1GB RAM or less, so I thought with 2GB and proper tuning I would be ok....
thanks for any comments, Andy.
I have a server running i386 FreeBSD 8.1 p0 RELEASE. It has only 2GB RAM, and I have tuned it for zfs with the following config in /boot/loader.conf
Code:
vm.kmem_size_max="330M"
vm.kmem_size="330M"
vfs.zfs.arc_max="40M"
vfs.zfs.vdev.cache.size="5M"
siis_load="YES"
It has a single ZFS pool which is under no load other than every hour it has data replicated from another server, which is imported via a "zfs receive" command. Its been up for a couple of weeks but today it has crashed.
In the hurry to get it rebooted (its a production server) we didnt managed to get a screen grab of the console, however this is the last entries in the messages file just prior to the kernel panic:
Code:
Sep 1 15:31:32 <kern.crit> nu kernel: siisch0: Timeout on slot 12
Sep 1 15:31:32 <kern.crit> nu kernel: siisch0: siis_timeout is 00040000 ss 7fffffff rs 7fffffff es 00000000 sts 80062000 serr 00000000
Sep 1 15:31:32 <kern.crit> nu kernel: siisch0: ... waiting for slots 7fffefff
Sep 1 15:31:32 <kern.crit> nu kernel: siisch0: Timeout on slot 20
Sep 1 15:31:32 <kern.crit> nu kernel: siisch0: siis_timeout is 00040000 ss 7efffffd rs 7efffffd es 00000000 sts 80062000 serr 00000000
Sep 1 15:31:32 <kern.crit> nu kernel: siisch0: ... waiting for slots 7eefeffd
All looks like it may be a problem with the siis eSATA controller, but I think its more likely to just be memory and ZFS related. Previously when I first put the ZFS data onto this server I had the loader.conf settings for kmem set to 512M and I could panic the server with similar errors every time I tried to import ZFS data via "zfs receive".
Anyone any comments on my config, things I could change? Or is my only quick and easy fix going to be sticking more memory in the server? Ive read that people can run ZFS without problems on a server with 1GB RAM or less, so I thought with 2GB and proper tuning I would be ok....
thanks for any comments, Andy.