Re: Limiting Cpu usage
| From: | zini10 | Date: | Mon, 11 Apr 2005 10:09:16 +0000 |
| Subject: | Re: Limiting Cpu usage | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-212791@lists.php.net to get a copy of this message | ||
another thing i just noticed is that it is designed for nanoweb server , not
for apache....
but thanks anyway for your help.
"Greg Donald" <destiney@gmail.com> wrote in message
news:ea9da26c050410214064873770@mail.gmail.com...
> 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/