I tried this experiment on my Linux desktop:
int main()
{
while(1)
fork();
return 0;
}
I ran this program as normal user(not root), i was surprised to find that it brought down my system, it has become unresponsive. I had hoped that due to resource limit exhaustion my process would have been killed,but apparently this is not the case. Any ideas why?
thanks, Sid.
PS: this was my office Linux box on which i was experimenting from home, i hope everything will be okay when i restart it tomorrow ....