 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
February 8th, 2006, 11:26 AM
|
#1 (permalink)
| | Senior Member Verified Customer
Join Date: Mar 2003
Posts: 877
| How do I fix timeout problem?
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.
Any ideas?
|
| |
February 8th, 2006, 02:49 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,676
|
Yes if you changed your php settings you need to restart the server
|
| |
February 10th, 2006, 10:25 AM
|
#3 (permalink)
| | Senior Member Verified Customer
Join Date: Mar 2003
Posts: 877
|
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
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,676
|
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
|
#5 (permalink)
| | Senior Member Verified Customer
Join Date: Mar 2003
Posts: 877
| |
| |
February 13th, 2006, 03:31 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,676
|
Johnny nobody can see your admin panel thats not a valid phpinfo link
|
| |
February 14th, 2006, 03:53 PM
|
#7 (permalink)
| | Senior Member Verified Customer
Join Date: Mar 2003
Posts: 877
|
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
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,676
|
To make a phpinfo file open notepad and put this and save the file as phpinfo.php
<?phpinfo();?>
|
| |
February 20th, 2006, 02:59 PM
|
#9 (permalink)
| | Senior Member Verified Customer
Join Date: Mar 2003
Posts: 877
| http://clipupload.com/phpinfo.php
Do you see anything wrong in there that would cause the timeout problem that I'm having?
|
| |
February 20th, 2006, 05:39 PM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,676
|
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
|
#11 (permalink)
| | Senior Member Verified Customer
Join Date: Mar 2003
Posts: 877
|
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
|
#12 (permalink)
| | Senior Member Verified Customer
Join Date: Mar 2003
Posts: 877
|
bumpity bump bump
|
| |
March 6th, 2006, 02:17 PM
|
#13 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,676
|
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
memory limit
Other than this you need to see if they are limiting uploads elsewhere like a LimitBodyRequest as stated.
|
| |
March 7th, 2006, 05:06 PM
|
#14 (permalink)
| | Senior Member Verified Customer
Join Date: Mar 2003
Posts: 877
|
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
|
#15 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,676
|
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
|
#16 (permalink)
| | Senior Member Verified Customer
Join Date: Mar 2003
Posts: 877
|
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
|
#17 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,676
|
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
|
#18 (permalink)
| | Senior Member Verified Customer
Join Date: Mar 2003
Posts: 877
|
hmmm... They set it to 300 reset mysql and http and it's still doing it.  Can server firewalls prevent specific size of uploads?
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 06:50 AM. | |