Page 1 of 1

readfile() on IIS (Windows 2003 Server) stalls after a while

Posted: Fri Oct 19, 2007 11:18 am
by timrkoop
Hi everyone.

I have a php file that acts like a .mov file. All it does is print the appropriate headers then calls readfile() to copy out the mov of choice.

It works, except that after a few minutes (like 20 minutes, or 30 MB or so) into a 60 minute mov file, it stalls and does nothing for a while. Then after a long time it keeps on going again. It might even stall out again after a while.

Does anybody have any idea why it would work this way? Is it some sort of setting somewhere?

Any and all ideas are welcome.

Thank you very much in advance.

--
Tim

Posted: Fri Oct 19, 2007 12:57 pm
by RobertGonzalez
Does it only happen when viewing through your PHP viewing app?

Posted: Fri Oct 19, 2007 1:00 pm
by timrkoop
Everah wrote:Does it only happen when viewing through your PHP viewing app?
That's right. When I view the mov file normally, straight from IIS, it all works fine.