Public bug reported:
I'm using Ubuntu 11.10 dev. I have changed my virtual memory settings
and they look so:
vm.dirty_background_bytes = 0
vm.dirty_bytes = 16777216
vm.dirty_expire_centisecs = 0
vm.dirty_writeback_centisecs = 0
vm.laptop_mode = 1
vm.swappiness = 0
If vm.dirty_bytes is reached all processes are blocked until the dirty
memory (shown in /proc/vmstat as nr_dirty) is flushed. The problem is
that currently all processes get blocked but nr_dirty is not flushed.
The system will hang in an I/O loop until nr_dirty is flushed. If a
process is trying in this time to write something it will hang. This
will make the system unuseable. A workaround is to use the command sync
in this case.
This can be easily reproduced with the command "dd if=/dev/zero of=hog".
After a second the dd command can't be killed anymore. It will only end
after a sync.
** Affects: ubuntu
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/811654
Title:
I/O deadlock if the dirty memory is full
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/811654/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs