Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

On my site there are some digital files which can be downloaded through a PHP script. The script works fine for small files but large files i.e. 115MB cannot be downloaded successfully. The connection dies after around 15 minutes but it's not consistent - sometimes longer sometimes shorter.

I don't think it's a problem with the script timing out because the download time isn't consistent. Equally it doesn't seem like a memory limit problem because the amount downloaded varies each time.

Does anyone know of any Apache or PHP related settings which could cause this kind of problem?

share|improve this question
1  
Is there anything in your apache or php (error) logs? –  brain99 Aug 29 '12 at 21:20
    
Could this be a firewall or proxy problem? –  mdpc Aug 29 '12 at 21:37
1  
Could also be a problem in the LAN/WAN accelerator that might be in line in the circuit. –  mdpc Aug 29 '12 at 21:47
1  
Are you using FastCGI at all? Timeout in the scripts?? –  JMeterX Aug 29 '12 at 22:13
    
I'm not sure if I'm using FastCGI. I'm using shared 1and1 linux hosting. I can contact them and ask. Could FastCGI cause this sort of problem? If so, what's the solution? –  Ben Smiley Aug 29 '12 at 23:01
show 1 more comment

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.