Reply to Re: can php program clog the rental web server?

Your name:

Reply:


Posted by Jerry Stuckle on 08/22/06 11:00

mich dobelman wrote:
> I am developing a web crawler which collects info from more than 50,0000
> pages.
> but i am afraid this is going to clog the rental web server if I run it
> every single day.
>
> Is it possible to stop the web hosting server because of my program?
>
> MD
>
>
>
>

Of course you can. Anyone on the server can, with a poorly written
script. For instance,

<?php
for ($i = 0; $i < 10; $i--) {
// Do something here not requiring I/O
}

Will tie up the server for a while (I know from experience :-) ).

Because of this, most shared hosts keep the max execution time of PHP
scripts rather short, like 30 seconds. That way a single script can't
screw things up for too long.


--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[Back to original 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

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