Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...File Manager - uploading large filesFile Manager - uploading large files
Previous
 
Next
New Post
7/25/2007 6:05 PM
 

/>

Hi all. I notice that large file downloads were handled a few revisions ago -- basically, getting away from the in-memory ASP.NET method provided by MS, to a chunked method. This works great, but there is still a problem uploading. I've tried a variety of settings in httpRuntime for maxRequestLength, executionTimeout and requestLengthDiskThreshold. Right now, settins should allow 500MB maximum size, storing to disk after 256K is buffered, with 2.5 hours before execution timeout.

In web.config:

<

httpRuntime useFullyQualifiedRedirectUrl="true" maxRequestLength="500000" requestLengthDiskThreshold="256" executionTimeout="9000" />

No matter how large I make all this, it fails somewhere in the 30MB to 40MB range -- at that point, you just get the symptoms of a request timeout, even though it is only about 10 minutes. You get the "page unavailalbe" error (even though it progressed through the upload for 10 or 15 minutes). Since this is right around the range where upload fails for many applications on the same server (due to memory limits), it would appear that this is a memory problem -- the stream is being read into memory, and is not being buffered.

The requestLengthDiskThreshold is a .NET 2.0 addition - not in 1.1 -- is it possible the file manager is not .NET 2.0? Or some other reason it would be ignoring this setting in web.config? Or is there some other problem that causes this kind of failure?

 

 
New Post
7/26/2007 11:08 AM
 

I am not 100% sure, however do you have any entries in the log, or do you notice that the application shuts down just after (Possibly memory recycling of the worker process)


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
7/26/2007 12:33 PM
 

I don't have the logs, but that is what I suspect -- that as the file uploads, it is being placed entirely in RAM, despite the settings in web.config.

 
New Post
7/27/2007 2:13 PM
 

So... why would DNN ignore the web.config settings and load the file into memory anyway? Or is there some IIS, or other setting that could override the web.config upload settings.?

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...File Manager - uploading large filesFile Manager - uploading large files


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out