Re: eval: Pipe call failed: Cannot allocate memory
- In reply to: Konstantin Belousov : "Re: eval: Pipe call failed: Cannot allocate memory"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 20 Sep 2024 16:44:33 UTC
Konstantin Belousov <kostikbel@gmail.com> 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 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 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' sh: Pipe call failed: Cannot allocate memory I also have a bunch of these on the console: negative pipecnt for uid = 0 DES -- Dag-Erling Smørgrav - des@FreeBSD.org