Hi, It really depends on the hardware you are hosted on. If you are on an over sold server or nearing it's practical limits, yes it might use more than you share of resources. A delay would help as it should allow other processes to make use of CPU time. However I don't think it would help if if your script is a memory hog. If you do not need it in real time and could spread out your interrogations over a time span it would be better. Like have the script search in blocks of 100 files per minute or something. Your Host might even work with you for testing to avoid server issues.
Sincerely, Mike -- Mike Brandonisio * Web Hosting Tech One Illustration * Internet Marketing tel (630) 759-9283 * e-Commerce [EMAIL PROTECTED] * http://www.jikometrix.net JIKOmetrix - Reliable web hosting On Mar 5, 2006, at 1:33 PM, Bob wrote: > This is probably a question for anyone hosting sites. > > If I run a recursive search of maybe a 1000 or more files > interrogating each file for a string (on a shared server), will > this hog resources too much and get me thrown off. > > If it is, would putting a delay or sleep between each interrogation > be ok. > Thanks, Bob. > > > > > Community email addresses: > Post message: [email protected] > Subscribe: [EMAIL PROTECTED] > Unsubscribe: [EMAIL PROTECTED] > List owner: [EMAIL PROTECTED] > > Shortcut URL to this page: > http://groups.yahoo.com/group/php-list > Yahoo! Groups Links > > > > > > > > Community email addresses: Post message: [email protected] Subscribe: [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] List owner: [EMAIL PROTECTED] Shortcut URL to this page: http://groups.yahoo.com/group/php-list Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-list/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
