Problem with slow uploading

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
10/4/2011 2:52:54 AM
Gravatar
Total Posts 3

Problem with slow uploading

Webhosting: IIS 7.5, garanted RAM 128 MB, .NET Framework 4, Medium Trust, 2.3.6.4 MSSQL

Operating System Microsoft Windows NT 6.1.7600.0
ASP.NET Info v4.0.30319 Running in Partial Trust

I can't upload file bigger than about 2MB with slower internet connection. No matter on application Shared files or File manager. 
Uploading reaches 100% (sometimes fewer) and starts uploading again. Than is stopped by message Error 101 ERR_CONNECTION_RESET.

Related Admin/ServerLog.aspx:

2011-10-04 09:11:14,647 INFO mojoPortal.Web.Global - Application Started.
2011-10-04 09:12:14,835 INFO mojoPortal.Web.Global - Global.asax.cs Application_End
2011-10-04 09:12:31,913 INFO mojoPortal.Web.Global - Application Started.
2011-10-04 09:14:45,116 INFO mojoPortal.Web.Global - Application Started.
2011-10-04 09:17:23,131 INFO mojoPortal.Web.Global - Application Started.

Web.config:

<httpRuntime requestValidationMode="2.0" maxUrlLength="560" maxQueryStringLength="2048" executionTimeout="3600"
      maxRequestLength="2097151" useFullyQualifiedRedirectUrl="true" />

Thanks

10/4/2011 8:42:03 AM
Gravatar
Total Posts 18439

Re: Problem with slow uploading

Hi,

granted RAM 128 MB

Unfortunately that is not enough for a typical ASP.NET application, due to the way memory is managed by the runtime and garbage collection, that is not enough to give it the head room it needs. In a low memory environment like that the application pool will recycle too frequently because it will recycle whenever it reaches that memory limit even for a brief moment. So in this case it is probably recycling during the file upload and this causes the problem. Most good ASP.NET shared hosting providers such as Arvixe set the available RAM to 200MB and that generally seems sufficient to avoid too much application pool recycling in most ASP.NET applications.

Hope that helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.