Why didn't the fork bomb destroy the android?

This is the simplest bomb plug

:() { :|: & }; : 

I executed it on many linux distributions and they all crashed.

But when I did this in the Android terminal, there was no effect even after granting Super User permissions.

Any explanation why he didn't crash the Android system?

+5
source share
1 answer

In a word: ulimit . The linux kernel allows you to limit the number of child processes, this can be configured using the ulimit () call or the ulimit built-in shell.

eg:

 ulimit -u 5 
+8
source

Source: https://habr.com/ru/post/1208986/


All Articles