|
Posted by Zini10 on 04/11/05 13:05
ok, that will do some of the trick , but still , a user can just write a
script which:
for($i=0;$i<99999999;$i++)
{
$x=$x+1;
}
or something and refresh it the whole time and really slow down everybody
else....
"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/
Navigation:
[Reply to this message]
|