After one and a half year, I have tried the same case on FreeBSD 9.2 RC4 x64.
The result is as below. The mmap with bsdgrep option is eating memory/swap and 
it is killed due to out of swap.


[root@server2 /usr/local/share]# time grep --mmap -r -e '^Feb' *

real    0m14.200s
user    0m0.007s
sys     0m0.932s
[root@server2 /usr/local/share]# time bsdgrep --mmap -r -e '^Feb' *
Killed: 9

real    1m0.474s
user    0m11.218s
sys     0m22.911s

swap_pager_getswapspace(16): failed
swap_pager_getswapspace(16): failed
swap_pager_getswapspace(16): failed
pid 3539 (bsdgrep), uid 0, was killed: out of swap space
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to