Memory management issue on RPi?
Michael Tuexen
tuexen at freebsd.org
Thu Nov 12 10:28:13 UTC 2015
Dear all,
I'm experiencing a behaviour I don't expect.
When running FreeBSD head on a RPI B+ without swap space
it shows the following behaviour on the console:
[bsd10:~] tuexen% dd if=/dev/zero of=large_file bs=1m count=1024
Nov 12 11:22:16 bsd10 kernel: pid 666 (sshd), uid 1002, was killed: out of swap space
Nov 12 11:22:19 bsd10 kernel: pid 606 (thttpd), uid 65534, was killed: out of swap space
Nov 12 11:22:24 bsd10 kernel: pid 316 (devd), uid 0, was killed: out of swap space
Killed
[bsd10:~] tuexen% Nov 12 11:22:27 bsd10 kernel: pid 676 (dd), uid 1002, was killed: out of swap space
[bsd10:~] tuexen% uname -a
FreeBSD bsd10.fh-muenster.de 11.0-CURRENT FreeBSD 11.0-CURRENT #10 r290676: Wed Nov 11 20:23:53 CET 2015 tuexen at bsd10.fh-muenster.de:/home/tuexen/head/sys/arm/compile/RPI-B arm
[bsd10:~] tuexen% ls -l large_file
-rw-r--r-- 1 tuexen tuexen 584056832 Nov 12 11:22 large_file
Shouldn't I be able to use dd to generate an almost arbitrary large file (limited
by the filesystem, not by the memory)?
Best regards
Michael
More information about the freebsd-arm
mailing list