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

  • SEARCH
  • Home
  • 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 9250285
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T10:24:39+00:00 2026-06-18T10:24:39+00:00

I have a Performance Problem with our ASP.NET web application and don’t know where

  • 0

I have a Performance Problem with our ASP.NET web application and don’t know where to investigate.
When I enable the WCF Client in our web application, the web performance decreases and incoming web request start being queued.

Situation:

ASP.NET application (IHttpAsyncHandler) as a notification channel: The handler keeps the client connection open for about 20 seconds (for direct push Messages). After 20 seconds, the HTTP request is completed and closed and the client will reconnect after a few seconds. –>This all runs well with about 500 concurrent clients. There are about 20 to 50 (re-)connects a second.

To do logging, we have a trace listener in the web application, which sends the log messages to a WCF Service, using TCP.NET binding. Each connect/disconnect in the IHttpAsyncHandler is sent to the trace listener.

Problem:

Without trace listener everything works well. When I enable the trace listener, the Performance of the web application decreases dramatically. The web requests start being queued. After a few seconds, the request queue grows to several hundred entries. The web starts rejecting web connections.

I wonder why the enabling of the Trace Listener/WCF Client causes so much performance impact.
I’m not sure if this is more a issue with Server/WCF throttling or it has to do with performance limitations. Could this some kind of connection pool limitation issue?
Which performance counters would help me to identify the cause of this issue?

I would appreciate any ideas.

Server A (Http Handler): Win 2003 R2 SP2, IIS 6
Server B (WCF Host): Win 2008 R2 SP1, IIS 7, WAS hosting


Edit: The WCF roxy is created and closed for every message received in the TraceListener.

Both bindings, WCF Client and Server have a maxConnetions=300 configured.

  • 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-06-18T10:24:41+00:00Added an answer on June 18, 2026 at 10:24 am

    It turned out that this is all related to the server performance. The Server is running close to CPU maximum. When enabling the trace listener, each call takes about 50 miliseconds more. Our webserver is then not capable to process all requests in time and starts queueing them.

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

Sidebar

Related Questions

I have an existing ASP.NET 2.0 web service serves several WinForms clients. In our
I have got a performance problem about TextField.htmlText +=msg .And I know that TextField.appendText(msg)
The problem: I have a WCF service that I'm trying to performance test with
We have a huge performance problem in our app, we collect data from different
We have a performance problem in production, we are trying to solve. During our
We are having a performance problem in our application - particularly when the browser
We have a performance problem which narrows down to our app-server. One possible suspect
We have some performance problems with one of our applications. I thought about using
I have a performance problem related to string comparison (in Java). I'm working on
I have a performance problem on a query. First table is a Customer table

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.