Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Nov 2015 11:37:55 -0500
From:      Allan Jude <allanjude@freebsd.org>
To:        freebsd-current@freebsd.org
Subject:   Re: 11.0-CURRENT r290273: installer fails with "out of swap space" error
Message-ID:  <5640CBE3.60105@freebsd.org>
In-Reply-To: <56405E39.8090202@passap.ru>
References:  <CAHPqa-waK7i0vf-=CS8Ey-bU9QzE3Wz=BdxbraaHqxMdm21zRg@mail.gmail.com> <56405E39.8090202@passap.ru>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On 2015-11-09 03:50, Boris Samorodov wrote:
> 03.11.2015 23:50, Maxim Pugachev пишет:
> 
>> I tried to install r29273 into Parallels VM, but got an error on
>> "distextract" stage. Here is the last messages from bsdinstall_log:
>>
>> DEBUG: f_debug_init: ARGV=[distextract] GETOPTS_STDARGS=[dD:]
>> DEBUG: f_debug_init: debug=[1] debugFile=[/tmp/bsdinstall_log]
>> DEBUG: Running installation step: distextract
>> Killed
>>
>> Last message from /var/log/messages:
>>
>> Nov  3 20:02:9  kernel: pid 967 (distextract), uid 0, was killed: out
>> of swap space
>>
>> My VM has 2 gigs of memory, vmstat tells that I have ~537M free
>> (swapinfo tells nothing). I dunno is it a bug or I'm doing something
>> wrong.
> 
> I've also come across with this recently.
> 
> Don't remember all the details, something like this:
> . install CURRENT to bhyve using 1G memory, get out of swap error;
> . set 2G memory, got the same error, didn't try more memory (seemed
>   not sane to).
> 
> Took a look at the boot environment and found out that something was
> wrong (with the filesystem). Unfortunately, I do not recall now what
> was it. :-( Something like too small /tmp, no /tmp at all, something
> else...
> 
> But definitely the error message was misleading and not the case of
> the failure.
> 

/tmp is usually a tmpfs, which is memory backed, and it would seem that
writing something here is what would cause the out-of-memory errors.

-- 
Allan Jude


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)

iQIcBAEBAgAGBQJWQMvnAAoJEBmVNT4SmAt+ksQP/iSlGJIZ9vszB9hzWuJcN8cq
H7+EX6skGftA6g+2lQljl7kUxczflw7crXCj9EjK8vHKXMkAz+P5AVtnRsx1mRMg
rjRzDWAoKqdm8ir+KScVKb7hhTZ3F/jMisgcxe2Mwp1h76/vOFTWmzzyIzaswBtR
If5oPR2Oswjc4rKQRkyFN+8WiFi/sbupAj/ZofQBxkDL6D1w+wVbzJXbN+jvso3i
ojCyJFgPrUzoNnvoYaZ3FiSP64UXfeYgCrqX1wsQX1bNemBOyJDxaVu8EXrIZqAH
4po0jRSS6gKxpVrMSyggFVd+/sL1TpIkxxebVuKXRP6A6XTtVRXD7/BZsE9SnFUI
iJBXm+yiJ2RhRWARkVsKZjY/543bG/f+V4wc19Ll2mDmQexlOuBcx5e9m8Xs/m4f
JbRtNlRqSRZUHXiMKFjdwqtHXSEVs4w38OnerNkk1+/uqYYC3hgJqNKdpu8QSTJN
x9X9un+7fXnNqhi0HxgI02jw7Q1c18JiWym8Us/nyWOS/DxdRFPiK8FTF6zxaW8y
TPB2RRyfCsGlHLwPVzAZzD3SevXqR7kqEewH1SHxDNmwg/RlCWU2vQ9eavjtP02v
71AjnrpNyLYQJINwRSd8iG1bMYdc48o7M39wtaA0RwPWouOEy9iSeoWb4rcZN4Qz
qINwX+Q3+lWBKHue7peH
=oXmf
-----END PGP SIGNATURE-----
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5640CBE3.60105>