Archive

Archive for April 4th, 2009

“Resource temporarily unavailable” on the whm host

April 4th, 2009

Today, following a document to tune the security of our whm hosting, I enabled “Shell fork bomb protection” in “Security Center”. But I’m 100% sure what I did. Then when I try to run the apache process of the user, the exception “bash: fork Resource temporarily unavailable” raised. It took me a lot of time to find why this happen. Finally I got this document: http://www.eddieoneverything.com/linux/linux-whm-cpanel-resource-temporarily-unavailable.php

It’s because “Shell fork bomb protection” will enable the limitation for each user, the limitation is defined with ulimit command. The default limitation is 100 open files with 20 processes.

Linux

FireStats icon Powered by FireStats