Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3349544
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T01:40:39+00:00 2026-05-18T01:40:39+00:00

Under windows server 2008 64bit, IIS 7.0 and .NET 4.0 if an ASP.NET application

  • 0

Under windows server 2008 64bit, IIS 7.0 and .NET 4.0 if an ASP.NET application (using ASP.NET thread pool, synchronous request processing) is long running (> 30 minutes). Web application has no page and main purpose is reading huge files ( > 1 GB) in chunks (~5 MB) and transfer them to the clients. Code:

while (reading)
{
    Response.OutputStream.Write(buffer, 0, buffer.Length);
    Response.Flush();
}

Single producer – single consumer pattern implemented so for each request there are two threads. I don’t use task library here but please let me know if it has advantage over traditional thread creation in this scenario. HTTP Handler (.ashx) is used instead of a (.aspx) page. Under stress test CPU utilization is not a problem but with a single worker process, after 210 concurrent clients, new connections encounter time-out. This is solved by web gardening since I don’t use session state. I’m not sure if there’s any big issue I’ve missed but please let me know what other considerations should be taken in your opinion ?

for example maybe IIS closes long running TCP connections due to a “connection timeout” since normal ASP.NET pages are processed in less than 5 minutes, so I should increase the value.

I appreciate your Ideas.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T01:40:39+00:00Added an answer on May 18, 2026 at 1:40 am

    Use Web-Gardening for more stability of your application.

    Turn-off caching since you don’t have aspx pages

    It’s hard to advise more without performance analysis. You the VS built-in and find the bottlenecks.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When an ASP.NET application is running under IIS6.0 in Windows 2003 Server with impersonation,
Under Windows Vista (2008 and Seven), an application cannot write in Program Files Folder.
As I understand IOCP under Windows Server 2003/2008 and C++ programming, they are more-or-less
I'm building a small web application with ASP.NET MVC 2, using db4o as a
I have configured PHP to run under FastCgi on IIS7 on Windows Server 2008
We have a database server running SQL Server 2008 and we connect using Windows
Under Windows Server 2003, Enterprise Edition, SP2 (/3GB switch not enabled) As I understand
Under Windows XP WPF true 3D content (which is usually displayed using the Viewport3D
When obtaining the DPI for the screen under Windows (by using ::GetDeviceCaps) will the
Parts of my application are in C++ under windows. I need the process id

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.