Want to break the system with many processes?

From: Pedro Giffuni <pfg_at_freebsd.org>
Date: Sun, 15 Jun 2025 06:46:49 UTC
Hello;
I was looking for something else and found some interesting tests within the dragonfly repo:
https://gitweb.dragonflybsd.org/?p=dragonfly.git;a=commit;h=b5daedd44b0cb06b9a9df40d3288467b31d0b5e1
basically it opens 900K processes to see what breaks. Dragonfly has changed a bunch of stuff but at least this change should apply to FreeBSD for around 400K processes:
https://gitweb.dragonflybsd.org/?p=dragonfly.git;a=commit;h=41ca9afb26bd2f0654acb8462f6abe441e329f80
The tests require more memory than my machine can accomodate though.
Pedro.