You are here: Re: [PHP] Limiting Cpu usage « PHP « IT news, forums, messages
Re: [PHP] Limiting Cpu usage

Posted by Philip Hallstrom on 04/10/05 18:16

You might want to rethink your strategy. Consider the instance in which
only *one* person is hitting your server. That one person *will* get 100%
of your CPU since nothing else is going on at the time, so the system
might as well give them all the CPU to get their task done sooner.

You don't want to restrict them in that case do you?

Maybe look into bandwidth limiting, connection limiting, php per script
memory usage, and php timeout options...

Good luck!

On Sun, 10 Apr 2005, zini10 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?
>
> thanks.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация