inconsistent results with video uploads

I have 2 different sites on a dedicated having similar results.  Essentially both are suffering from video upload issues.  For example if I start out uploading a video file 20-30 megs more than likely its going to fail with the 404 error, however If I first upload a small 2-7 meg file this will work, and if I than upload a 10-15 meg file this will work, Next if I follow up with the 20-30 meg file that orginally failed this now works.  Now, if I wait a bit and start the whole process over and try the 20-30 meg file it is once again failing.  I have also tried the regular uploader and its the same results however instead of getting the 404 error on larger files you simply get the spinning stats symbol and it never makes it to the 2nd step where you can name the file and add tags.  I am not sure when this started however I do know I was not having this issue in the past.  Any guidance is appreciated.

Post_Max_Size 150M

upload_max_size 150M

Running on IIS

Quote · 5 Jun 2013

After further testing and setting up a new site with 7.1.3 I now have 3 sites all with this issue.  It seems like the Upload 404 error occurs mostly when dealing with files 25 megs or higher.  What is strange every once in a while a file over 30 megs works without the error.  Could this be a timing related setting?  Maybe something is timing out?  I would think since this is affecting all 3 sites using the same PHP this is related to my PHP configuration.

 

Smaller video files 24 megs and under have no problems, I have tested various formats and they process quite quickly and are ready for viewing.

 

From researching these forums about this problem I have made some changes as seen below however this does not seem to help.  

 

Maximum Post Size 150M

 

Upload Maximum File Size 125M

 

Maximum Execution Time 6000

 

Maximum Files to Upload 20

 

Maximum Input Time 3000

 

Memory Limit 512

Quote · 6 Jun 2013

it may be something with the IIS - are you using 6 or 7? I had issues with IIs a few years back, so started using apache and havent looked back.

caredesign.net
Quote · 6 Jun 2013

Professor that was a good idea as I was so fixated on PHP setting I forgot about the most obvious IIS.  It was a setting in the IIS webconfig Request Limits which by default only allows files under 28mb which seems to be what I was experincing.

To enable uploading files, larger than 28MB, you have to change a setting in IIS 7. By the way, actually the limit is approximately 28,6 MB, because the limit of “maxAllowedContent Length” is 30000000 bytes).

After making the change I tested a 50mb file and it went through no problem and the video processed.  However, files 80+ megs upload fine with no errors and indicate completed however it never goes to the 2nd step where you enter the tags, description, etc.  It just sits there so the video never gets processed, etc.  So now the new problem is  50mb and under are working fine however 60+meg it does not proceed to step2 of the process.

Quote · 7 Jun 2013

<httpRuntime maxRequestLength="1048576" executionTimeout="3600" />

<security>

    <requestFiltering>

        <requestLimits maxAllowedContentLength="1073741824" />

    </requestFiltering>

</security>

this will give you a 1 gig and a time out limit.   In IIS7 you have a 2 gig limit and maxrequest and maxallowed must be the same total limit along with php.ini max settings.  

I am sure you know when you make changes to web.con its a good idea to restart IIS. 

I run 2 gig limits on my IIS8 machine and have tested up to 1.8 gig video conversions. 

also in IIS8 you can set no max limit but you have to be running asp.net 4.5.

https://dolphin-techs.com - Skype: Dolphin Techs
Quote · 7 Jun 2013

 

 

Hey Jay,

 

I am familar with working with webconfig mainly when working with SharePoint and many of these tweaks are not necessary as they are done through SharePoint configuration from my experience. That said, I am comfortable making the changes and understanding the restart process, etc.  I made the changes you recommended below however same thing.  60 megs and smaller upload fine, goes to 2nd step, and process all good.  Larger files, not sure exactly the cutoff as I have not tried every size possible however it seems to start around 70-80 megs or larger, it uploads indicates complete, than the screen sits there for a bit and never goes to the 2nd step requiring the description, etc.  I have been watching the IIS logging however nothing is jumping out at me during the upload process.

 

Current settings are as follows,

 

Dolphin 7.1.2 and 7.1.3

 

PHP 5.4.16 VC9

 

Windows Server 2012, IIS8, URL Rewrite, PHP Manager

 

I have also been performing some testing with the following, Wincache, HTTP Response Headers Enable Keep alive and expire content after 7 days, Compression Static and Dynamic.  I have a dev site setup with all this off and running the default IIS settings however these do not seem to be the problem.

 

Webconfig

 

                <httpRuntime maxRequestLength="1048576" executionTimeout="3600" />

 

        <security>

 

            <requestFiltering>

 

                <requestLimits maxAllowedContentLength="1073741824" />

 

            </requestFiltering>

 

        </security>

 

PHP

 

Maximum Post Size 175M

 

Upload Maximum File Size 150M

 

Maximum Execution Time 6000

 

Maximum Files to Upload 20

 

Maximum Input Time 3000

 

Memory Limit 512

 

 

 

Quote · 7 Jun 2013

Turns out this dedicated box was also having random network drops resulting in the larger uploads failing.  This has now been fixed and the settings Jay recommended working and larger files are now uploading without issue.

Thanks

Quote · 11 Jun 2013

Thanks for reporting back. Good to see you got it all worked out.

https://dolphin-techs.com - Skype: Dolphin Techs
Quote · 23 Jun 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.