Hi
This problem has been dogging me for some months now. So wondered if anyone else had come across it or had a solution to it.
Set up is as follows:
Windows Server 2003
IIS 6.0
PHP 5.2.6
PHP settings:
upload_max_filesize=21m
post_max_size=21m
FastCgi Settings:
QueueLength=1000
MaxInstances=10
ActivityTimeout=600
InstanceTimeout=600
InstanceMaxRequests=10000
EnvironmentVars=PHP_FCGI_MAX_REQUESTS:10000
I have a file upload system on a site for a client hosted as above. The problem I was having before increasing the timeout settings above from 300 to 600. Was any file over around 11mb was causing a FastCGI error (0x800703e3) error number 995 timeout error. Files smaller than this seemed to upload fine.
Once I increased the settings above everything worked as above except now after about 6-7 minutes I get an http server error 500 on files bigger than 11mb. As you can see the timeouts are set to 10 minutes so this should be ok. The file size variables in php are set to 21m and the largest file I have tried so far is 18.8m so should be no problem with file size.
The other problem is they are hosting on there own server and I have been liasing with their IT guy to try and resolve this his findings were as follows:
With the testing I did I proved the following It was the CGI timings causing large files to time out on the site giving us a error ( files over 10M ) The main problem I was seeing is a big difference between out side traffic and inside traffic Out side yourself or a customer always timed out 10M or so with an error
Inside timed out or froze with files 6M 8M etc usually without an error. So this indicates a timeout with AT&T gateway outwards we use which is very difficult to prove at present. My next step is to try and get simon to route directly to the box over the LAN which is causing concern as the server is sat on a DMZ.
Can anyone point me in the right direction on how to resolve this?
Many thanks