From nobody Fri Sep 20 16:44:33 2024 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4X9JBq0ljWz5W5sn for ; Fri, 20 Sep 2024 16:44:35 +0000 (UTC) (envelope-from des@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X9JBp6sCnz4nf7; Fri, 20 Sep 2024 16:44:34 +0000 (UTC) (envelope-from des@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726850675; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hyFy9MkGuyGjiBBKQLenPqIqqFudnLw3oRFqEXmfX6E=; b=Wn70PHW1KQ8HkOi/uAW2kBKkDOLU0na5eN8sBLGrX9qPAXOCNU1dVKqZEdZKUKovlmIvKP 3TvKm3D8fQQ9Y6oxGYbkIIzn7srDW7Am0OFahmHAFzr5oswR9w3ObNS5/dGfvzNZEe53ub d8mrxn1oyxVTyf7yn8/2tf1M6J588UG4rE9cmlRgcP5d8GgBnY1xUVt13+DMPsy99BLbTO 3POz3vROpKgvN9y6QnVlZP1GHhlSlwV/m85esFrztj3UoVd+O8Zlbi74/Bc/rjDl6fdPQ+ x2qC6o4XhRCIzypEjks3dv52Nsq6jWVUGuXPRXoISUk7v1ZE1Hn+XVTD+6q0dg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726850675; a=rsa-sha256; cv=none; b=KZgpzVn7uecP4toliRkaqnmMLLCPP8IxTe7R0SVWRteqPurVld4+V62NKoLC7sk3PIYORb gjHmu1rYzeCBj/dDA0WdLyP9neSrsobGoDRClaIM5mVpUBnTWfu6fKS2GNcCwEO2+6VnVL CQZPN7OAn5JcKO0lgEJYP2EHUWpoKq/AaRODrhBg+a13eY4CgHHfqS9vBVJUuj5qVGIgfN aEGdApPCYAQYO/V1ZObHpXEyqrU2EKBxaLnw+DvOQ48Xi6J4ZpeM8wFr8do3oFDMjj1sxw DWD6KAV7VQB3QZP4igaSXtGnIe1stE/dPzSpCMZRdzjx7pcvoOOZtOIKu/K9iw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726850675; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hyFy9MkGuyGjiBBKQLenPqIqqFudnLw3oRFqEXmfX6E=; b=X+ItN+o19UsUf/GwH91Pk+oi93LRr4opc7h2rX+Dkaotaz3uTkkJaxuDflLpBzeG3lmgz3 i+PRvyIg6H1MWXxLJgrHUrk3fg1VGb6tLnJDNTQLjH0tuk3t22hOe3Fj0cTLPej72vezWW E+VHMfTN6vig4H/Z7qKaRc3zRHj12r1jsmGUm1ljpxHpHuYQsXQgaJCN8nhKj88psIj25u Bw3afqTANKguLFx79JhX9i8nnXsZeWLqfK8x1ggEeZOKiEpIz3UszGERfPDKU6UgHxWk3h QshhEXLzrDmfzmnifVNlzKCdJtvAypobsohRu9Lnf7ki8CgjUL9aJU4v1kSreg== Received: from ltc.des.dev (unknown [IPv6:2a01:e0a:386:9c20:922e:16ff:fef1:acef]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: des) by smtp.freebsd.org (Postfix) with ESMTPSA id 4X9JBp5lrqzKcQ; Fri, 20 Sep 2024 16:44:34 +0000 (UTC) (envelope-from des@freebsd.org) Received: by ltc.des.dev (Postfix, from userid 1001) id 55F73BF3A9; Fri, 20 Sep 2024 18:44:33 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Konstantin Belousov Cc: Yasuhiro Kimura , freebsd-current@freebsd.org Subject: Re: eval: Pipe call failed: Cannot allocate memory In-Reply-To: (Konstantin Belousov's message of "Fri, 20 Sep 2024 14:37:09 +0300") References: <20240920.185920.1538575456943179013.yasu@FreeBSD.org> User-Agent: Gnus/5.13 (Gnus v5.13) Date: Fri, 20 Sep 2024 18:44:33 +0200 Message-ID: <86bk0iz34e.fsf@ltc.des.dev> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Konstantin Belousov writes: > Did the poudriere run itself finished successfully? > > Can you show the output from 'sysctl kern.ipc | grep pipe' before and > after the poudriere run? I have the same problem. The build did not finish successfully; it didn't even start. Simply running `poudriere ports -u` (basically a wrapper for `git pull --rebase`) was enough to render the system unusable. Apparently every pipe(2) call by a privileged process returns ENOMEM, which means no shell script more complex than hello world can run, and you can't ssh in because sshd fails to set up the pipe it uses to talk to the privsep child. % uname -a=20 FreeBSD pkg.des.dev 15.0-CURRENT FreeBSD 15.0-CURRENT #34 main-87fbd9fc7f: = Fri Sep 20 11:18:29 UTC 2024 root@pkg.des.dev:/usr/obj/poudriere/jails/= 15amd64/usr/src/amd64.amd64/sys/GENERIC-NODEBUG amd64 % sysctl kern.ipc | grep pipe=20 kern.ipc.pipe_mindirect: 8192 kern.ipc.pipebuf_reserv: 2 kern.ipc.piperesizeallowed: 1 kern.ipc.piperesizefail: 0 kern.ipc.pipeallocfail: 0 kern.ipc.pipefragretry: 0 kern.ipc.pipekva: 40960 kern.ipc.maxpipekva: 3220561920 % sudo sh -c 'sysctl kern.ipc | grep pipe'=20 sh: Pipe call failed: Cannot allocate memory I also have a bunch of these on the console: negative pipecnt for uid =3D 0 DES --=20 Dag-Erling Sm=C3=B8rgrav - des@FreeBSD.org