c# - My spider service keeps stopping unexpectedly? -
I have a service that runs on our website to get lots of data, it estimates approximately 3 days (As an estimate, though it has not yet succeeded in running completely!) To get data on 5 different threads and put it into the database if the WebClient.DownloadData fails, the error logs in the database And it is ignored, but around 3 in the morning Sector evening was stopped after about 2,000 failed Web service requests. They returned Remote server 521 exceptions or Operation Timeout, I have an unexpected exception, but it does not get! I am trying to fix this error for a few weeks, but there is such a long process of error! Does anyone have any idea why this is happening?
You will need to give us more details, I think, and some code pieces,
I think, by your statement, you have two problems - one, web requests fail with 521 errors, and, two, your service stops.
A large number of web request failures, I look at some kind of resource exhaustion - are you running out of memory? Filehandles? Threads? anything else? What does your application do when web request fails?
Comments
Post a Comment