pagedaemon + rtorrent = fail

rozhuk.im at gmail.com rozhuk.im at gmail.com
Mon Nov 3 03:41:03 UTC 2014


Problem described here:
https://forums.freebsd.org/threads/heavy-use-rtorrent-ufs-issues.14503/
http://www.bsdportal.ru/viewtopic.php?f=9&t=25194
http://forum.lissyara.su/viewtopic.php?f=53&t=39944

Swap is off: vm.swap_enabled=0
and no swap devices.

I wrote a small program to demonstrate the problem. 
The program creates a file size of 2*"RAM size", map() block size specified,
records in each page by byte, unmap(), map() next block... 
Once a file is written to more "RAM size" OOM kills the program and random
demons. 
In the TOP program does not consume more than the write_block size (32 mb)
for recording.
Check the parameters before the test run.





-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: testvm.c
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20141103/0d82a716/attachment.c>


More information about the freebsd-hackers mailing list