Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
File Uploader - on large upload (300MB file), progress bar restarts and upload ultimately fails
Avatar
Les Smith
Member
Offline
May 3, 2018 - 1:10 pm

Client is trying to upload about a 300MB video with the file uploader plugin. It goes for a while, hits about 40%, and then the progress bar starts over. Then it eventually gets a really vague error message (HTTP error: Upload URL might be wrong or doesn't exist.) and fails. Nothing is written to WordPress's debug.log.

I noticed the scripts explicitly sets a 5 minute limit. I bumped this to 15 but it doesn't seem to have affected anything.

Thoughts? Ever seen this?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
Offline
May 3, 2018 - 11:19 pm

what do you have set on the server for max upload size?  and max post size?

Avatar
Les Smith
Member
Offline
May 3, 2018 - 11:57 pm

512MB but 128MB for max_post_size. I thought I had updated that but clearly not. Let me get in touch with the host (this shared host instance seems capped at 128 w/o some other help) and update this issue if it's still a problem.

Avatar
Les Smith
Member
Offline
May 4, 2018 - 3:46 pm

I had updated it, just not where I thought I had. A phpinfo within the upload script shows upload_max_filesize 512M and post_max_size 550M

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
Offline
May 4, 2018 - 4:30 pm

And what about the allocated php memory and cpu time settings?  With such a large file, either could be exhausted too... 

Have you checked.the server error log for any more info? 

Avatar
Les Smith
Member
Offline
May 4, 2018 - 4:54 pm

Memory limit 512MB. I'm not familiar with cpu timeout (or at least worded that way), but the upload scripts explicitly puts 5 minutes, and in timing the whole process I haven't found things to fall consistently.

It's a shared hosting instance so I don't have direct access to server error logs, but the GoDaddy folks seem to think things look fine. They did send over an apache log, but I have a feeling it was for the wrong domain...I can give that another try if this isn't an issue you're familiar with.

I will say that was my original concern, considering it's a 500 error and nothing is being written to WordPress's debug.log.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
Offline
May 4, 2018 - 10:42 pm

I would think 512MB is enough... checked on cpu time because most php installs default to 30 sec...

some 500 errors do get logged in the php error log vice the wp debug log...  apache log wont be much good...  and usually not in our log either on forum - toolbox - error log, but might be worth checking...

Avatar
Les Smith
Member
Offline
May 7, 2018 - 2:55 pm

Nothing in the SimplePress error log. Did find this in environment re: my PHP settings:

Version: 7.1.14
Memory: 512M
Max Upload: 1G
Timeout: 800

So that all seems square, and I've tinkered with the timeout to give it longer. I guess I can get on with GoDaddy again to review error logs.

Avatar
Yellow Swordfish
Glinton, England
SP Master
Offline
May 7, 2018 - 3:53 pm

The server php error log seems like the place to look.
You might want to check out your php /tmp folder as well and make sure there are no restrictions there as commonly plupload will copy the image to the ./tmp folder and then move it to the desired location.

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625