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

Environment: Windows Server 2008 R2 IIS 7.5 .NET 4.0, Integrated Application Pool Oracle Client
I'm upgrading an ASP.NET 4.0 app from: Windows Server 2003 and IIS 6 to:
I have a small .NET app that I'm running under Windows 2008 Server via
I'm working under windows Server 2008 :S with restricted user not administrator. using Visual
I am working under localhost. In IIS Manager 7.5, windows server 2008. After adding
When attempting to run IE on Windows Server 2008 under different user accounts using
In Windows Server 2008 and Windows 7 there are new Events categorized under Applications
I have IIS running under Windows XP. I have .html files with classic ASP
I have next SVN repositories structure running Apache 2.2 under Windows Server 2008: http://example.com/svn/
I am using SQL Server 2008 Enterprise on Windows Server 2008 Enterprise. When I

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.