Oct 16 2024
rebasing with minor additional changes before I begin the work to split this up
Oct 13 2024
Interim PR changes while I work on splitting this up to different sub PRs. Don't want my work lost
Oct 12 2024
Oct 7 2024
I think the cycle detection patch is fine and should be committed on its own. If you send me (markj@freebsd.org) a patch with that piece of the change, I'll commit it.
Oct 6 2024
Sep 21 2024
Possible to get some eyes on this and see if we can get this across?
With many apologies for the delay, this is now sent.
Sep 10 2024
This undoes the fix done in c6d3d601c96f5836df76847, which hurts real users.
Sep 9 2024
Sep 8 2024
Sep 7 2024
Undo damage done in c6d3d601c96f, which shifted failure to allocate large buffer to pipe_create() from pipe_write().
Sep 6 2024
Sep 3 2024
Make harmless.
P.S. I think this whole new "behaviour" is the (unintended?) consequence of the c6d3d601c, which shifted the failure to allocate buffer from the write() call into the popen() call. Which added the whole new failure mode into fork()->exec() mechanism that can be easily triggered by anybody. So no new process can be created even if the new process and/or its parent would never want to write or read to the pipe in a normal conditions.
Aug 30 2024
@kib thanks for the input. Beefed up telemetry, as suggested, removed the reference to tuning. Added option to kill the repeated offender (or an innocent bystander ;-)
Added option to kill Pipe KVA (ab)users.
Aug 29 2024
Aug 26 2024
Aug 24 2024
How should I submit this to you for the path; I have never used git format-patch before; I tried doing git format-patch main and it generated 21 files (since I have 21 commits). Manpage suggests I email this to you? But it seems rude to just blast you with 21 patches; and I don't know your email.
Updated with last PR fixes
Aug 22 2024
This broadly looks good to me. I verified that the existing ggate regression tests pass with this change.
Aug 15 2024
Rebase and remove unnecessary () in an if check (per review comment)
Jul 13 2024
Previous version did have one compile error (missing ;) in the file I warned I had not tested; also updated usage to match man pages
May 30 2024
Any update on getting this committed? Might this make it in for 15-release?
May 10 2024
Updated diff -U99999
May 9 2024
Updated with PR comments
May 2 2024
Updated for -U99999 as requested.
Can you please regenerate a full patch using -U99999?