techjunkie Posted November 14, 2016 Posted November 14, 2016 Hello All, I purchased & installed the IPS Download Add-On Successfully. I have added other file smaller than 2GB file with no problem. But when I upload a 2GB+ file I keep getting this "error -200 there was a problem with processing the uploaded file" I double checked my php config. I seem to have all of the settings correct. I just can't find whats making it fail. I keeps failing at 89%... Super Frustrating! Looked in error logs and didn't see anything. I have attached screen shots. Any Suggestions? This is what I have....Upload File Size of ZIP 2.6GBI am running a VPS... CENTOS 6.8 x86_64 virtuozzo – srv WHM 60.0 (build 17) PHP.INI Config File Settings... max_execution_time 90 max_input_time 1200 upload_max_filesize 6000012390 post_max_size 6000012390 memory_limit -1
Flitterkill Posted November 14, 2016 Posted November 14, 2016 Bump execution time up. A bunch. 320. Restart apache/nginx/whatever. Try again. If it fails in the same spot you've probably removed this ini setting as the choke point but pushing it to 640 and restarting/trying again to make sure wouldn't hurt.
techjunkie Posted November 14, 2016 Author Posted November 14, 2016 Thanks @Flitterkill I will try bumping up to 320 Now and see what happens.
techjunkie Posted November 14, 2016 Author Posted November 14, 2016 @Flitterkill I tried upping the execution time...still fails. :-(
Flitterkill Posted November 14, 2016 Posted November 14, 2016 Couple guesses. How much memory do you have on the server? Even though you have no memory limit set for PHP you still have the physical server memory to deal with (specifically how much is not in use and available to use for this process) Create a smaller zip file size of something or other. 2.4 gig, 2.2 gig, 2.0 gig. And then see where it fails. The 200 error thing is a little strange but signs point to this being a server problem at frst glance. Otherwise I(others) will need to look at the code and see if there is a limit somewhere. I'll see if I have a giant file around I can test locally with.
techjunkie Posted November 14, 2016 Author Posted November 14, 2016 @Flitterkill I am on a VPS... My VPS is allotted 30 GB of Memory which 2GB of it is actually being used...Screen shot from my server monitor.
Flitterkill Posted November 14, 2016 Posted November 14, 2016 Well, on my notebook WAMP install, 3.7 GB zip file. All good. So something is timing out on your server somewhere... Care to go to your ACP, Support tab, and bring up phpinfo? PM me the results or save them to a txt file and attach into this thread.
TDBF Posted November 14, 2016 Posted November 14, 2016 2 hours ago, techjunkie said: Hello All, I purchased & installed the IPS Download Add-On Successfully. I have added other file smaller than 2GB file with no problem. But when I upload a 2GB+ file I keep getting this "error -200 there was a problem with processing the uploaded file" I double checked my php config. I seem to have all of the settings correct. I just can't find whats making it fail. I keeps failing at 89%... Super Frustrating! Looked in error logs and didn't see anything. I have attached screen shots. Any Suggestions? This is what I have....Upload File Size of ZIP 2.6GBI am running a VPS... CENTOS 6.8 x86_64 virtuozzo – srv WHM 60.0 (build 17) PHP.INI Config File Settings... max_execution_time 90 max_input_time 1200 upload_max_filesize 6000012390 post_max_size 6000012390 memory_limit -1 Apache? What is your LimitRequestBody set at?
Rhett Posted November 14, 2016 Posted November 14, 2016 What version of apache you are running? and can you clarify if the OS is 32 bit or 64?
Flitterkill Posted November 14, 2016 Posted November 14, 2016 @Rhett it's 64bit 17 minutes ago, TDBF said: CENTOS 6.8 x86_64 virtuozzo – srv
techjunkie Posted November 15, 2016 Author Posted November 15, 2016 @Flitterkill @Rhett I saved my phpinfo in a HTML file and zipped it... techjunkie_phpinfo.zip
Flitterkill Posted November 15, 2016 Posted November 15, 2016 For fun, disable Suhosin, then give it a try. There *might* be a few possible vars there crashing it out. Easier to disable and test than to alter the settings one by one. If it works with Suhosin disabled you've got the thing and just need to tweak as needed.
techjunkie Posted November 15, 2016 Author Posted November 15, 2016 16 minutes ago, Rhett said: What version of apache? My Version: Apache/2.4.18
techjunkie Posted November 15, 2016 Author Posted November 15, 2016 8 minutes ago, Flitterkill said: For fun, disable Suhosin, then give it a try. There *might* be a few possible vars there crashing it out. Easier to disable and test than to alter the settings one by one. If it works with Suhosin disabled you've got the thing and just need to tweak as needed. How would I disable Suhosin in WHM/Cpanel? Would I have to remove via Easy Apache 3
Flitterkill Posted November 15, 2016 Posted November 15, 2016 http://cpanelplesk.com/disable-suhosin/ For the record, some of your Suhosin settings are way way low but let's just disable Suhosin for now and see if it flies; like I said, much easier doing this than hitting s the vars one by one.
techjunkie Posted November 15, 2016 Author Posted November 15, 2016 20 minutes ago, Flitterkill said: http://cpanelplesk.com/disable-suhosin/ For the record, some of your Suhosin settings are way way low but let's just disable Suhosin for now and see if it flies; like I said, much easier doing this than hitting s the vars one by one. I added the following in the php.ini file... Saved... & Restarted Apache... Now Trying Upload again. [suhosin] ; Misc Options suhosin.simulation = On [On indicates disabled, Off indicates enabled]
techjunkie Posted November 15, 2016 Author Posted November 15, 2016 @Flitterkill After being disabled....Still getting the -200 Error
Flitterkill Posted November 15, 2016 Posted November 15, 2016 Sorry, looks like this one is going to be tougher. If you havent already, submit a support request - you're paying for it! Are you saving the files locally or do you havethem going elsewhere (Amazon S3, etc...)? Also, edit the Downloads file category you have these going into and check under the Submissions tab. Make sure you don't have a file size limit set there.
techjunkie Posted November 15, 2016 Author Posted November 15, 2016 @Flitterkill Yeah I tried everything including your help, I will open a support ticket. I am saving them locally. Is there an option for the IPS Download app to point to a link hosted elsewhere and keep track of the downloads? Example... if I host the file on my google drive, but put the download link to that file in the Downloads section to keep track of how many people are downloading?
TDBF Posted November 15, 2016 Posted November 15, 2016 51 minutes ago, techjunkie said: My Version: Apache/2.4.18 What is your LimitRequestBody in Apache set at? This setting could be causing you to hit the 2gig limit. I would check its value first before submitting a support ticket.
techjunkie Posted November 15, 2016 Author Posted November 15, 2016 8 minutes ago, TDBF said: What is your LimitRequestBody in Apache set at? This setting could be causing you to hit the 2gig limit. I would check its value first before submitting a support ticket. I searched httpd.conf file located /usr/local/apache/conf in cpanel, but did not see a setting under "LimitRequestBody" Would there be a reason why it's not in there?
Flitterkill Posted November 15, 2016 Posted November 15, 2016 Another possibility is mod security or firewall stuff that has similar file size limits set mod security has something like this SecRequestBodyLimit
TDBF Posted November 15, 2016 Posted November 15, 2016 8 minutes ago, techjunkie said: I searched httpd.conf file located /usr/local/apache/conf in cpanel, but did not see a setting under "LimitRequestBody" Would there be a reason why it's not in there? If LimitRequestBody isn't there then it will default to 0, which means unlimited but, there is actually a 2gig upload limit there. I'm not sure why you are trying to upload this via http when ftp would be a better solution here. Just upload it via FTP and do some jiggery pokery via the IP Downloads database to get the upload file to match.
Rhett Posted November 15, 2016 Posted November 15, 2016 Time the upload to the point it fails, it's likely hitting a timeout limit in apache, php or even mysql in this case as it's a large upload and likeky taking a while.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.