View Full Version : How do I fix timeout problem?
February 8th, 2006, 11:26 AM
I am using PP for videos and users are complaining that uploads will upload for about a minute and then return them to the upload page. I changed the max_execution_time to zero, but is there anything else?
Do I need to restart the server after changing max_execution_time?
I believe the file the user is testing with is about 17MB.
February 8th, 2006, 02:49 PM
Yes if you changed your php settings you need to restart the server
February 10th, 2006, 10:25 AM
Despite restarting the server, it still won't upload the file. What other settings affect this? It sits there like it's uploading the 17MB file and then after a while (maybe 10 minutes or so) I check it again and it's back on the upload page, but the field where I pointed to the video, is blank like the page refreshed or reloaded itself and it is just sitting there.
What else can I change to get these larger files to work?
February 10th, 2006, 10:41 AM
Well where is a link to your phpinfo?
Basically your php settings need to be correct to allow file sizes that size to upload and your photopost max multimedia size needs to be set.
February 13th, 2006, 03:07 PM
February 13th, 2006, 03:31 PM
Johnny nobody can see your admin panel thats not a valid phpinfo link
February 14th, 2006, 03:53 PM
OK, umm what's the php code again I need to put into a file so that it shows the info?
February 15th, 2006, 07:14 AM
To make a phpinfo file open notepad and put this and save the file as phpinfo.php
February 20th, 2006, 02:59 PM
Do you see anything wrong in there that would cause the timeout problem that I'm having?
February 20th, 2006, 05:39 PM
Well check to see if your host has the LimitBodyRequest variable set to a specific amount.
I dont see anything that would present it in the PHP setup
March 2nd, 2006, 07:28 PM
My host said:
root@server1 [~]# php -i | grep ^max_input_time
max_input_time => 60 => 60
Are the users on a slower link that would take longer than 60 seconds to upload these files?
I told them that it will take a good 15 to 20 minutes for the upload, they said they changed it, but I still have the same problem.
Do you have any other ideas on things I can ask them to check that would be the cause of this problem?
March 6th, 2006, 02:11 PM
bumpity bump bump
March 6th, 2006, 02:17 PM
Max input time has nothing to do things things here.
Well have you verified they changed the max execution time?
Basically you want to set these for larger uploads to my knowledge.
max execution time
max upload filesize
Other than this you need to see if they are limiting uploads elsewhere like a LimitBodyRequest as stated.
March 7th, 2006, 05:06 PM
OK here's what they said those settings were set to:
upload_max_filesize = 25M
max_execution_time = 64000 ; Maximum execution time of each script, in seconds
memory_limit = 256M ; Maximum amount of memory a script may consume
My max upload (or what I am trying to get to work) of 25MB is correct, but I don't know about the rest. Do they look fine to you and if so, any idea what else could cause the problem? I do not know how to verify that they changed the max execution time, other than that they said they did and restarted the server for me.
March 7th, 2006, 05:21 PM
I would just suggest you try different fileuploads start low and work your way up.
This type of thing is totally server dependent and not software related. As long as there timeout is not set to let the script timeout then its all a matter of is the server going to allow an upload that large.
March 8th, 2006, 09:25 AM
hmmm, ok one last question of what I think could be causing the problem. They said that my "MaxClients" in the "httpd.conf file" are set to 150. Could this be the problem? If 150 people are on the sites on my server and somebody is uploading, could it disconnect them because the 150 users has been reached?
1. I don't know enough of what a good setting is for this though. What do you suggestion for a dual 2.8 Ghz Xeon box with 2 GB of memory?
2. Do you think that this could be the problem too?
March 8th, 2006, 09:33 AM
Johnny I am not a server guru but if a person is the 151 user they could be dropped.
March 10th, 2006, 10:19 PM
hmmm... They set it to 300 reset mysql and http and it's still doing it. :( Can server firewalls prevent specific size of uploads?
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.