Re: Limiting Cpu usage
| From: | Greg Donald | Date: | Mon, 11 Apr 2005 04:40:17 +0000 |
| Subject: | Re: Limiting Cpu usage | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-212781@lists.php.net to get a copy of this message | ||
On Apr 10, 2005 9:27 AM, zini10 <zini10@012.net.il> wrote:
> hello, how can i limit cpu usage for shared hosting enviroment?
> i mean , im hosting serveal sites and wish for all php scripts to have (for
> example) no more than 5% of cpu usage so no one can bomb my server.
> im currently using php as a module , i know i can do it if ill use php as a
> cgi and limit apache with cpu usage , but wont it decrease dramtically my
> preformance?
You might want to look at mod_dosevasive.
http://nanoweb.si.kz/manual/mod_dosevasive.html
--
Greg Donald
Zend Certified Engineer
http://destiney.com/