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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T01:04:04+00:00 2026-05-17T01:04:04+00:00

I have a web service written in C#. It behaves rather strange during pool

  • 0

I have a web service written in C#.
It behaves rather strange during pool recycling.

If I configure a pool with 5 worker processes which should recycle after say 100 requests (in production its actually 10000 but nevermind that). I get the proper response for the first 100 per process (i.e 500 requests), but after that some of the requests returns an improper result (i also get timeouts but that is okay as the process is recycling).

Since these improper results seems to happen AFTER the recycle, while the service is starting up it is kinda hard to just attach the debugger and see what happens (as the debugger is dettached when the recycle occurs).

So my question(s) is/are:
1. Do anybody know a good method for debugging this kind of thing

Edit: 2. Anbody who happens to have an idea on what might be wrong (the service has no state information between requests) – I found the error, by attaching the debugger and luckily seeing an exception (caught in a global exception handler – god i hate those): But the 1 question still stands. Is there an easier way than attaching the debugger and hope you make it in time to see the error.

  • 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-17T01:04:05+00:00Added an answer on May 17, 2026 at 1:04 am

    What I have ended up doing (for now), is to remove most of those “semi-global” try/catch/do-nothing handlers and then write a SoapExtension for handling “Unhandled Exceptions”, and dump out all the information I can come near.

    I got most the inspiration from Jeff Atwood’s article on CodeProject: http://www.codeproject.com/kb/aspnet/ASPNETExceptionHandling.aspx

    Its not really the same as attaching the debugger, but will have to do for now.

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

Sidebar

Related Questions

To be more specific: We have a web service (written in .Net) which utilizes
I have written a sample web service, which consist of certain .aspx pages. I
We have a customer that is trying to call our web service written in
I have a web service which has a generic function that returns a dataset
I have web service written that generates some data...can I call the web service
When I call, the service's method, I have Web Service Exception happening which I
I have a web-service written in Java, hosted on an Axis2 / Tomcat /
I have a web service written with Visual Studio 2005. My web.config file contains
I have a Web Service written in .NET that provides data for an iPhone
I have a web service in which I have created a custom exception. Let's

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.