Re: Disc lock up on 8.0-STABLE



On 12/22/09 1:16 PM, Pete French wrote:
I've been gradually testing 8.0 on several machines propr to deploying it
live, but I currently have a machine which appears to lock-up at 3am
every day. The symptoms are that the machine is still pingable, but doing
anything which requires access to the disc just freezes (so you cant login for
example). I've seen simiilar behaviour behore on machines when the disc
syste has locked up for some reason, so am ttentatively guessing that
this is the cause.

The machine is an HP DL360 G5 with a ciss0 controller for the drives.
I have upgraded to the latest STABLE but the freeze still happens.
Am including a dmesg below, and will compile it with KDB, DDB to
see what happens.

The machine is booting from a UFS partition, but is using ZFS for everything
else. The fcat it deadlocks at 3am makes me thing this is something to
do with scheduled jobs maybe ? Then again, I have an almost identical DL360
which is running 8.0 and is rock solid.


Hi Pete,

i'm trying to track down the same problem. The box in question has
everything on UFS (mirrored ataraid) and a backup disk with ZFS on it
attached to USB.

The freeze happens at 3am too, i have these log messages:
Dec 20 03:00:00 XXX newsyslog[2810]: logfile turned over due to size>100K
Dec 20 03:03:21 XXX kernel: Approaching the limit on PV entries,
consider increasing either the vm.pmap.shpgperproc or the
vm.pmap.pv_entry_max sysctl.
Dec 20 03:03:22 XXX kernel: maxproc limit exceeded by uid 0, please see
tuning(7) and login.conf(5).
Dec 20 03:03:53 XXX last message repeated 31 times

I had increased vm.pmap.pv_entry_max and vm.pmap.shpgperproc then only
the maxproc limit exceeded message remained.

As the box is remote with only ssh access, it's a little difficult to
debug this. During the weekend i waited till 3 o'clock with a top
running, and saw that hundreds/thousands of /bin/sh processes were
started. After that i commented out periodic daily in /etc/crontab, that
"solved" the problem for me.

I was not able to debug this any further yet, i have one other box with
all UFS and a ZFS backup disc also running latest 8-STABLE but it does
not exhibit the problem.

Cheers,
Florian
_______________________________________________
freebsd-stable@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Anyone using freebsd ZFS for large storage servers?
    ... We've got significant experience with both UFS and ZFS (as delivered ... ZFS support. ... done UFS config on such config ... As of memory you may limit it's memory usage by adding proper statements ...
    (freebsd-questions)
  • Re: New user - small file server questions and quick GUI question
    ... If you're concerned about system resources, at least from a minimalist perspective, then ZFS is not for you. ... UFS is still the standard, and the only filesystem supported by the installer without resorting to tricks. ... I run Solaris 10 on an ancient Sun Netra T105 server with 360MB of RAM which uses ZFS file system and apart being a reverse proxy it won't handle anything else easily. ...
    (freebsd-questions)
  • Re: Anyone using freebsd ZFS for large storage servers?
    ... you idea of using disks in JBOD style is good, but of using ZFS is bad. ... i would recommend you to do some real performance testing of ZFS on any config under real load and compare it to PROPERLY done UFS config on such config ... In the other hand i never ever heard of UFS failsystem failure that was not a result of physical disk failure and resulted in bad damage. ... As of memory you may limit it's memory usage by adding proper statements to loader.conf but still it uses enormous amount of it. ...
    (freebsd-questions)
  • SUMMARY: Quota at directory level
    ... I should've noted that I did push for using zfs & creating FS per domain ... You can't do it via ufs quotas, those are done on the partition level.. ... implemented anywhere & don't think its feasible based on ufs or vxfs ...
    (SunManagers)
  • Re: whats best pracfive for ZFS on a whole disc these days ?
    ... what the recommended way to dedicate a whole disc to ZFS is ... hence considering the GPT route :-) ... Unfortunately it appears ZFS doesn't search for GPT partitions so if you ...
    (freebsd-stable)