From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 81FC9716EC for ; Tue, 29 Jun 2021 10:33:02 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 6F99BB819 for ; Tue, 29 Jun 2021 10:32:32 +0200 (CEST) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [94.136.29.106]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id DA954B80E for ; Tue, 29 Jun 2021 10:32:31 +0200 (CEST) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id A51BC444A8; Tue, 29 Jun 2021 10:32:31 +0200 (CEST) Date: Tue, 29 Jun 2021 10:32:24 +0200 From: Fabian =?iso-8859-1?q?Gr=FCnbichler?= To: Proxmox VE user list , PVE User List References: <267f44a3-24e1-1a44-d222-837f144bdfdb@matrixscience.com> In-Reply-To: <267f44a3-24e1-1a44-d222-837f144bdfdb@matrixscience.com> MIME-Version: 1.0 User-Agent: astroid/0.15.0 (https://github.com/astroidmail/astroid) Message-Id: <1624955440.81gresm1m7.astroid@nora.none> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-SPAM-LEVEL: Spam detection results: 0 AWL 0.597 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: Re: [PVE-User] invoking ssh crashes container X-BeenThere: pve-user@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE user list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jun 2021 08:33:02 -0000 On June 28, 2021 5:09 pm, Adam Weremczuk wrote: > Hi all, >=20 > I run a minimalistic Debian 10.10 container on Proxmox 6.2-6 dual host=20 > stack. >=20 > It has 512 MB of memory assigned and most of the time uses about 10%. >=20 > Every time I try to ssh from it (using bash in web console) to a=20 > different host the container crashes (powers off). >=20 > Syslog records the following: >=20 > (...) > Jun 28 13:51:46 debian10 kernel: [26284286.210180] [=C2=A0 25629]=C2=A0 1= 006=20 > 25629=C2=A0=C2=A0=C2=A0=C2=A0 3205=C2=A0=C2=A0=C2=A0=C2=A0 1290=C2=A0=C2= =A0=C2=A0 61440=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0 ssh > Jun 28 13:51:46 debian10 kernel: [26284286.210188] [=C2=A0 25634]=C2=A0 1= 006=20 > 25634=C2=A0=C2=A0=C2=A0=C2=A0 3205=C2=A0=C2=A0=C2=A0=C2=A0 1289=C2=A0=C2= =A0=C2=A0 61440=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0 ssh > Jun 28 13:51:46 debian10 kernel: [26284286.210196] [=C2=A0 25640]=C2=A0 1= 006=20 > 25640=C2=A0=C2=A0=C2=A0=C2=A0 3205=C2=A0=C2=A0=C2=A0=C2=A0 1292=C2=A0=C2= =A0=C2=A0 65536=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0 ssh > Jun 28 13:51:46 debian10 kernel: [26284286.210207] [=C2=A0 23745]=C2=A0= =C2=A0=C2=A0=C2=A0 0=20 > 23745=C2=A0=C2=A0=C2=A0=C2=A0 4880=C2=A0=C2=A0=C2=A0=C2=A0 1753=C2=A0=C2= =A0=C2=A0 73728=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0 systemd-logind > Jun 28 13:51:46 debian10 kernel: [26284286.210218] [=C2=A0=C2=A0=C2=A0 81= 0] 0=C2=A0=C2=A0 810=C2=A0=C2=A0=C2=A0=C2=A0=20 > 3962=C2=A0=C2=A0=C2=A0=C2=A0 1576=C2=A0=C2=A0=C2=A0 65536=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 -1000 sshd > Jun 28 13:51:46 debian10 kernel: [26284286.213678] ssh invoked=20 > oom-killer: gfp_mask=3D0x100cca(GFP_HIGHUSER_MOVABLE), order=3D0,=20 > oom_score_adj=3D0 > Jun 28 13:51:46 debian10 kernel: [26284286.213729] dump_header+0x4f/0x1e1 > Jun 28 13:51:46 debian10 kernel: [26284286.213770]=20 > mem_cgroup_try_charge+0x71/0x190 > Jun 28 13:51:46 debian10 kernel: [26284286.213820] filemap_fault+0x86f/0x= a60 > Jun 28 13:51:46 debian10 kernel: [26284286.213971]=20 > __handle_mm_fault+0xeb0/0x12e0 > Jun 28 13:51:46 debian10 kernel: [26284286.214035] RIP: 0033:0x5619b5c489= 30 > Jun 28 13:51:46 debian10 kernel: [26284286.214286] [=C2=A0 24101]=C2=A0 1= 006=20 > 24101=C2=A0=C2=A0=C2=A0=C2=A0 3205=C2=A0=C2=A0=C2=A0=C2=A0 1088=C2=A0=C2= =A0=C2=A0 65536=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 172=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0 ssh > Jun 28 13:51:46 debian10 kernel: [26284286.214293] [=C2=A0 24105]=C2=A0 1= 006=20 > 24105=C2=A0=C2=A0=C2=A0=C2=A0 3205=C2=A0=C2=A0=C2=A0=C2=A0 1108=C2=A0=C2= =A0=C2=A0 65536=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 173=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0 ssh > Jun 28 13:51:46 debian10 kernel: [26284286.214299] [=C2=A0 24109]=C2=A0 1= 006=20 > 24109=C2=A0=C2=A0=C2=A0=C2=A0 3205=C2=A0=C2=A0=C2=A0=C2=A0 1103=C2=A0=C2= =A0=C2=A0 65536=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 173=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0 ssh > (...) > MANUAL POWER ON > Jun 28 13:58:49 debian10 systemd-sysctl[44]: Couldn't write '1' to=20 > 'fs/protected_hardlinks', ignoring: Read-only file system > Jun 28 13:58:49 debian10 systemd-sysctl[44]: Couldn't write '1' to=20 > 'fs/protected_symlinks', ignoring: Read-only file system > Jun 28 13:58:49 debian10 systemd[1]: Starting Flush Journal to=20 > Persistent Storage... > Jun 28 13:58:49 debian10 systemd[1]: Started Create System Users. > (...) >=20 > Any ideas? the log says it got OOM killed. did you enable persistent journal inside=20 the container? if not, that might be the culprit (tmpfs usage in the=20 container gets accounted towards the container's resource limits). `mkdir /var/log/journal && systemctl restart systemd-journald`