Out of swap - NOT

Karl Denninger karl at denninger.net
Mon Feb 13 21:48:48 UTC 2017


On 2/13/2017 15:46, Brett Wynkoop wrote:
> On Mon, 13 Feb 2017 15:55:11 -0500
> Joe Nosay <superbisquit at gmail.com> wrote:
>
>> Is it possible to place the swap on a separate disk such as a usb?
> Yes, but I am not sure what difference that will make.  I would think a
> swapfile is a swapfile.  Yes I am swapping on a file because the image
> autogrew the filesystem on first boot, so no chance to set up a
> partition.
>
> It should be noted that by getting rid of the tmpfs /tmp I was able to
> complete a kernel build. At no time did my monitored use of swap exceed
> 10%.
>
> -Brett
Well, you didn't really run out of "swap" -- you ran out of tmpfs, but
the symptomology is that you get that result.  As I noted I've seen that
before; you do not want to run /tmp on the SD card though as the wear
pattern is very bad for it and in addition it's also very slow.

-- 
Karl Denninger
karl at denninger.net <mailto:karl at denninger.net>
/The Market Ticker/
/[S/MIME encrypted email preferred]/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2993 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.freebsd.org/pipermail/freebsd-arm/attachments/20170213/9beaef46/attachment.bin>


More information about the freebsd-arm mailing list