zfs trauma from locate?
bcook at poughkeepsieschools.org
Mon Feb 9 06:38:51 PST 2009
So I've been having much trauma with zfs and i386; but it seems it's
been narrowed down to the 'weekend'.
We leave friday and come back monday, and monday this box is not working
properly. Nothing has crashed, it's just slow.. but there is no load on
the box; just deathly slow.. 2+ minutes to log in at console for example.
A reboot fixes it and it's good for another week..
I think I have narrowed it down to the weekly locate job.
So tonight I'll run it by hand and see if the box dogs again.. but
assuming that is it..
what can I do about *that*?
cat -n /boot/loader.conf
CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2800.11-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0xf41 Stepping = 1
Logical CPUs per core: 2
real memory = 3212574720 (3063 MB)
avail memory = 3140112384 (2994 MB)
ACPI APIC Table: <DELL PE800 >
Filesystem Size Used Avail Capacity Mounted on
tank/root 104G 23M 104G 0% /
devfs 1.0K 1.0K 0B 100% /dev
/dev/ad4s1a 989M 196M 714M 22% /bootdir
/dev/ad5s1a 989M 257M 653M 28% /mnt/bootdir
procfs 4.0K 4.0K 0B 100% /proc
tank/exports 130G 26G 104G 20% /exports
tank/exports/squid 106G 1.8G 104G 2% /exports/squid
tank2/home 147G 55G 91G 38% /home
tank/tmp 104G 256K 104G 0% /tmp
tank/usr 110G 5.9G 104G 5% /usr
tank/usr/obj 104G 640M 104G 1% /usr/obj
tank/usr/ports 104G 143M 104G 0% /usr/ports
tank/usr/ports/distfiles 104G 189M 104G 0%
tank/usr/src 104G 156M 104G 0% /usr/src
tank/var 107G 2.9G 104G 3% /var
/exports/squid is where the squid cache is, (aufs fwiw), and /home has
over 3k user accounts for samba.
wc -l /etc/passwd
the kernel is a simple one:
# I commented out i486 and i586 in GENERIC
# and debugging
options ALTQ_CBQ # Class Bases Queuing (CBQ)
options ALTQ_RED # Random Early Detection (RED)
options ALTQ_RIO # RED In/Out
options ALTQ_HFSC # Hierarchical Packet Scheduler (HFSC)
options ALTQ_PRIQ # Priority Queuing (PRIQ)
options ALTQ_NOPCC # Required for SMP build
I have a simple pf.conf with some scrub and altq settings if anyone
thinks it might help.
but like I said I'm pretty sure it's locate now..
clues or questions appreciated.
More information about the freebsd-questions