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 9030007
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T07:23:03+00:00 2026-06-16T07:23:03+00:00

WCF Trace logs shows many The server has hit a PollingDuplex throttle, MaxSessionsPerAddress, and

  • 0

WCF Trace logs shows many "The server has hit a PollingDuplex throttle, MaxSessionsPerAddress, and cannot accept another session from this client. An http error was returned" errors.

Can’t find enough details about MaxSessionsPerAddress settings, just found this post which saying that MaxSessionsPerAddress always is 10 and cannot be changed.

Just thinking may be this issue related to a fault tolerance logic I’ve implemented for client proxy which together with some timeout results in such issue: In case of a channel failure WCF client proxy closes a channel (Close() then Aboort() in try/catch) and then tries to reconnect each 5 seconds, N retries. Perhaps a client was not able connect even after 10 retries what created 10 sessions on a service so all next retries were refused?

General information:

  • PollingDuplex connection
  • Cannot reproduce this issue since it was observed once in a live environment and then switched off to do not impact users
  • IIS HTTPERR log has multiple Connection_Abandoned, Connection_Dropped entries for a failed service

WCF Client:

  • Silverlight4
  • ClientPollTimeout=5min
  • InactivityTimeout=24h, SendTimeout=30min, CloseTimeout=3min
  • ReceiveTimeout=24h, OpenTimeout=3min

WCF Server:

  • IIS Hosted
  • InstanceContextMode = PerSession
  • ConcurrencyMode = Multiple
  • maxConcurrentCalls, maxConcurrentSessions, maxConcurrentInstances are set to 500
  • HttpBinding, httpTransport, PollingDuplexBindingElement, DuplexChannelFactory
  • sendTimeout=”00:30:00″, receiveTimeout=”24:00:00″, openTimeout=”00:10:00″, closeTimeout=”00:10:00″
  • maxOutputDelay=”00:00:01″, inactivityTimeout=”24:00:00″, serverPollTimeout=”00:02:00″
  • maxReceivedMessageSize=”1073741824″, maxBufferSize=”1073741824″, MaxBufferPoolSize=”2147483647″

Any help greatly appreciated!

  • 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-16T07:23:04+00:00Added an answer on June 16, 2026 at 7:23 am

    Main reason was that a client eventually has been failed which forces a client to reconnect too often (each 5 seconds), after reconnect a server/service receives a client’s request but client again has been fauiled, each reconnect created a new WCF service session which will terminate only in 2 minutes of client polling absence, so in 2 minutes one client created too many sessions on service side.

    Why a silverlight client eventually has been faulted and disconnecting? See following post which describes an actual issue and a solution: WCF Silverlight client getting 404 not found response for poll message

    Other issues and solution, which were applied, perhaps anybody found helpful:

    Client:

    Issue: Due to different reasons channel close operation can stuck for CloseTimeout="00:03:00" minutes what is too long

    Solution:

    • Set closeTimeout to 10 seconds so in case of any issue close operation will be forced in 10 seconds so client do cleanup quickly
    • Increased reconnect timeout from 5 seconds to 30 seconds to let everything releated to old channel connection to be released/cleaned up

    Service:

    Issue: Sometimes I saw that service is stuck while a client callback invocation (CallbackContract) for sendTimeout=30minutes because cannot complete operation due to disconnected/faulted client so service cleanup delayed for 30 minutes but should be as fast as possible released/cleaned up and disposed in case of faulted/disconnected client

    Solution:

    • Set sendTimeout to 30 seconds, this is more than enough for sending few kilobytes message over the network
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm unable to get trace log file for WCF service on server. The file
I am having problem with my WCF (which has client and server certificates) Exception:
Recently I came across this error in my WCF trace: There was an error
Do I need to learn the WCF Service trace viewer tool? I understand I
WCF has lots of limits imposed on it to protect against DoS attacks and
WCF service has one method ( Let's say TestMethod) in which I try to
WCF gurus, you probably already know the answer I cannot find ... let's say
Our WCF service has just one method: [ServiceContract(Name = Service, Namespace = http://myservice/)] [ServiceKnownType(GetServiceKnownTypes,
I am trying to configure a WCF server\client to work with SSL I get
I write WCF service and want to keep it's activity log: trace, warnings and

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.