9 lines
162 B
Python
9 lines
162 B
Python
# Fork bomb that ignores refused forks: the cgroup process limit must stop it.
|
|
import os
|
|
|
|
while True:
|
|
try:
|
|
os.fork()
|
|
except OSError:
|
|
pass
|