linux-test-project / ltp

Linux Test Project (mailing list: https://lists.linux.it/listinfo/ltp)
https://linux-test-project.readthedocs.io/
GNU General Public License v2.0
2.27k stars 1k forks source link

Remove fork12 test #1109

Closed acerv closed 7 months ago

acerv commented 7 months ago

The fork12 test is meant to be a fork bomb for Linux, but it's old and it probably made more sense long time ago. Nowadays this test is mostly killed by the OS, especially when it's running inside containers. Also, we found that setrlimit01 is doing a better job for the test scenario, setting a boundary to the maximum number of processes which can be spawned, then running fork() multiple times until EAGAIN is reached.

pevik commented 7 months ago

Added tags locally, rebased and merged. I'm sorry I forget to add metan's Suggested-by tag (https://lore.kernel.org/ltp/ZUEkhFYIJogalhpq@yuki/).