Swapfile on ZFS & Deadlock

Ali Mashtizadeh mashtizadeh at gmail.com
Fri Jun 15 15:14:10 UTC 2007


I've had a similar thing when I'm using a lot of swap on ZFS then sometimes
the strain on memory resources brings my system to a crawl I can't get out
of :(. But it only happends on systems with less than 1 GB of memory. It's
not actually crashed

-- 
Ali Mashtizadeh
علی مشتی زاده

On 6/15/07, Claus Guttesen <kometen at gmail.com> wrote:
>
> >     Whilst running out of memory compiling Xorg (scanPCI is a killer) I
> > discovered a quick way to deadlock the system:
> >
> > dd if=/dev/zero of=somefileonzfs bs=something count=something
> > mdconfig -a -f something
> > swapon /dev/md0
> >
> > Then do something that needs swap.. instant deadlock. The system is
> > still responsive but all disk access become hung.
> >
> > Known issue? If so is there a way we can warn users/prevent users from
> > doing it?
>
> How much swap have you allocated?
>
> --
> regards
> Claus
>
> When lenity and cruelty play for a kingdom,
> the gentlest gamester is the soonest winner.
>
> Shakespeare
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
>


More information about the freebsd-current mailing list