Maybe you have trying to open a new terminal window, or connect via ssh to another terminal and appears a prompt like the message below:
STDOUT: "fork failed: Resource temporarily unavailable"
Those messages can be found in logs folder, specifically at:
/var/log/secure
/var/log/messages