Re: Re: Limiting Cpu usage
| From: | Richard Lynch | Date: | Mon, 11 Apr 2005 22:48:35 +0000 |
| Subject: | Re: Re: Limiting Cpu usage | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-212859@lists.php.net to get a copy of this message | ||
On Sun, April 10, 2005 10:55 am, zini10 said:
> Thought about that, but its a free host that will host many many users.ill
> prefer them to have low cpu usage limit also if the system is free of
> tasks
> as that will never happen.
> any user can come, prepare a script which will do a infinite loop and will
> make the server slow for all other users.
> thought about timeouts but the user can refresh and refresh the page for
> ever.
> the only idea other than limit cpu usage is to check for users which use
> to
> much cpu power for too long, and block them for running any script at all,
> but an "Evil" user can signup many many times.
Giving all and sundry un-trusted users access to PHP is akin to passing
out free loaded hand-guns to every gang-banger, convicted criminal, and
child under the age of 12.
Don't do that. :-|
Not everybody is as nice as you. Sorry.
--
Like Music?
http://l-i-e.com/artists.htm