Re: Giving up on x buffers - losing files

From: Kalev Lember (kalev_at_colleduc.ee)
Date: 06/28/04

  • Next message: Julian Elischer: "Re: jail getfsstat patches."
    Date: Mon, 28 Jun 2004 09:36:54 +0300
    To: freebsd-current@freebsd.org
    
    

    Arjan van Leeuwen wrote:

    > <snip>
    >
    > Sometimes, particularly after doing a lot of file writes (i.e.
    > compiling a lot of ports, building world and mergemastering, etc), I
    > get the 'Giving up on x buffers' message on shutdown, and my
    > filesystems come up dirty when I restart.
    >
    > <snip>
    >
    > So, why does this happen? And how do I prevent it from happening?
    > This definitely does _not_ sound like something I want my servers to
    > do when 5.x goes -STABLE.

    Not sure if it is related, but if I have ext2 mounted on shutdown, the
    syncer also fails and gives up on a few buffers. It is reproducable. I
    can recall it was fixed about a year ago, but then broke again.

    -- 
    Kalev
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
    

  • Next message: Julian Elischer: "Re: jail getfsstat patches."

    Relevant Pages

    • Re: Giving up on x buffers - losing files
      ... >> compiling a lot of ports, building world and mergemastering, etc), I ... > Not sure if it is related, but if I have ext2 mounted on shutdown, the ... > syncer also fails and gives up on a few buffers. ...
      (freebsd-current)
    • Re: Syncer "giving up" on buffers
      ... > and don't wait long enough between mergemaster and shutdown. ... > dependencies have been resolved, ... > preventing some buffers from being written. ... > problem by giving the syncer time to clean things up. ...
      (freebsd-current)
    • Re: dangerous situation with shutdown process
      ... >>buffers count is not reducing between time intervals, ... number of vnodes that have dirty buffers. ... The reason that the monitors the number of dirty vnodes instead of just ... The syncer shutdown algorithm could definitely be improved to speed it ...
      (freebsd-stable)
    • Re: Giving up on x buffers - losing files
      ... >> compiling a lot of ports, building world and mergemastering, etc), I ... > Not sure if it is related, but if I have ext2 mounted on shutdown, the ... > syncer also fails and gives up on a few buffers. ... even affects read-only mounts of ext2 file systems. ...
      (freebsd-current)
    • Re: Work station control for users
      ... You can build it from ports, or install the package using pkg_add -r. ... You can allow your users to shutdown the system by adding them to the ...
      (comp.unix.bsd.freebsd.misc)