Forum Moderators: coopster

Message Too Old, No Replies

limit resource with php.ini

limite resource with php.ini

         

sharingamak

9:16 pm on Dec 28, 2010 (gmt 0)

10+ Year Member



Hello

I want to know if there is a solution to limit resource with php.ini
TOS off my hosting
While our shared services are suitable for the bulk of our customers, there comes a time for some websites when they are better suited for a larger plan, which allows for more dedicated CPU and memory resources. We reserve the right, in our sole discretion, to discontinue service to any customer with a website or other hosted data that takes up more than 10% of the server resources and/or 10% of the server's CPU. This means that if your website is found to be utilizing more than 10% of the CPU and memory of the service, we reserve the right to take your site offline


I want to avoid this problem and limit the use of resources by a code in php.ini

Thank You

rocknbil

5:14 pm on Dec 29, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I think the only control you have is memory limit, not CPU. If your scripts are using more than 10% CPU, you may need to rethink the program logic. (?)