Knowledgebase

Portal Home > Knowledgebase > Articles Database > How to use RLimite values in httpd.conf (cpanel)


How to use RLimite values in httpd.conf (cpanel)




Posted by akasharya, 12-20-2010, 04:27 AM
How and exactly where we can define the RLimit values in httpd.conf can you please show me an example?I have read in a post that it should be just before the NameVirtualHost section in httpd.conf. please help guys.

Posted by david510, 12-20-2010, 04:54 AM
You can place the RLimit value at the beginning of the httpd.conf file. Set Maximum 200 CPU second to be used by a process. Scripts running longer than 200 seconds will be stopped automatically. RLimitCPU 200 200 Set Maximum of 50 processes per connection. RLimitNPROC 50 50 Allow 30 MB per process. RLimitMEM 30000000 30000000

Posted by akasharya, 12-20-2010, 05:34 AM
Thanks for your great help I would try this and will let you know how it works. By the way this is the link which tell you to put that values before NameVirtualHost. http://www.cosmicscripts.com/servers/apacheconfig.html



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read


Language:

Contact us