forkbomb is tool for stress testing. It can create many processes using fork(), eats all available memory using realloc() and accesses this memory. It has different switches for fine-tuning operation. While classic fork() bomb is good only for fun, running multiple memory-eaters can be useful for determining maximum memory which can be given to servers (bind or squid) without taking machine down. You can test different operation systems with this tool and see how they are handling the load.
forkbomb is tool for stress testing. It can create many processes using fork(), eats all available memory using realloc() and accesses this memory. It has different switches for fine-tuning operation. While classic fork() bomb is good only for fun, running multiple memory-eaters can be useful for determining maximum memory which can be given to servers (bind or squid) without taking machine down. You can test different operation systems with this tool and see how they are handling the load.
To install forkbomb, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install forkbomb
To see what files were installed by forkbomb, run:
port contents forkbomb
To later upgrade forkbomb, run:
sudo port selfupdate && sudo port upgrade forkbomb
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.