You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On a backup server receiving and storing lots of snapshots, I found it useful to increase zfs_free_max_blocks to speed up the receive.
Yesterday I upgraded this server to newest kernel/zfs versions and rebooted.
After that I simply set zfs_free_max_blocks=0, thinking this will just remove any limit.
Today after arriving at work, all the drives were doing lots of writes, like so:
the process doing this IO was "txg_sync"
There was also 25GiB "freeing" in the pool that did not decrease.
After setting zfs_free_max_blocks=1000000 the problem disappeared immediately and the space freed.
There are no errors anywhere (apart from some hung_tasks from yesterday, this pool is overloaded until caches get filled)
I'm not sure what the behaviour of setting zfs_free_max_blocks=0 should be, this https://github.com/zfsonlinux/zfs/issues/2581#issuecomment-55069014 led me to believe that it would just remove the limit. If it truly does set a limit at "0" causing this sort of behaviour, then it should come with a big fat warning, and if it's a wanted behaviour it should not cause constant IO.
The text was updated successfully, but these errors were encountered:
System information
On a backup server receiving and storing lots of snapshots, I found it useful to increase zfs_free_max_blocks to speed up the receive.
Yesterday I upgraded this server to newest kernel/zfs versions and rebooted.
After that I simply set zfs_free_max_blocks=0, thinking this will just remove any limit.
Today after arriving at work, all the drives were doing lots of writes, like so:
the process doing this IO was "txg_sync"
There was also 25GiB "freeing" in the pool that did not decrease.
After setting zfs_free_max_blocks=1000000 the problem disappeared immediately and the space freed.
There are no errors anywhere (apart from some hung_tasks from yesterday, this pool is overloaded until caches get filled)
I'm not sure what the behaviour of setting zfs_free_max_blocks=0 should be, this https://github.com/zfsonlinux/zfs/issues/2581#issuecomment-55069014 led me to believe that it would just remove the limit. If it truly does set a limit at "0" causing this sort of behaviour, then it should come with a big fat warning, and if it's a wanted behaviour it should not cause constant IO.
The text was updated successfully, but these errors were encountered: