Results 1 to 5 of 5

Thread: Auto Repeat Service Call on 404

  1. #1

    Thread Starter
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,109

    Auto Repeat Service Call on 404

    I have an application that calls a service to check the status on a series of items. There could be one or two, there could be one or two dozen, or there could be a few hundred. In all cases, there is a call and it gets a good result or a bad result. I barely care which (though I have realized that there is a case where I SHOULD care) and just go on to the next one whatever the response is.

    I recently heard from the service that they were getting SPAMMED by one of the computers running this application. They were getting several hundred calls for each of these items. They were getting so many that they turned off the service, so all the call gets back is a 404.

    The user of the program said that the program ran for hours, which makes sense since it was making somewhere in the vicinity of 360000 calls to a web service.

    What I'm trying to figure out is why it did that. I have confirmed that the program, with the data in question, should have resulted in just over 900 calls. I have also confirmed that it is doing just that number on my computer (where I can watch it more closely). And yet, on the one computer in question, the service wasn't called once per item, but over 400 times per item.

    I've run out of things to look at regarding this. The code does what I expect it to do: One call per item. The method that does that one call per item is in a button click, so it's not likely that somebody would be clicking the button 400 times.

    I've also confirmed that there are about 900 items, and on my test machine, there are about 900 calls being made.

    Does anybody have any suggestion as to how that call could have ended up being replicated 400 times? For example, is there any scenario where a 404 return would cause an HTTPWebRequest to automatically repeat the call....a few hundred times?
    My usual boring signature: Nothing

  2. #2
    PowerPoster jdc2000's Avatar
    Join Date
    Oct 2001
    Location
    Idaho Falls, Idaho USA
    Posts
    2,526

    Re: Auto Repeat Service Call on 404

    Two possibilities occur to me:

    1. Malware on the computer in question.
    2. A network adapter issue where bad packets are getting sent out, resulting in retransmissions.

  3. #3

    Thread Starter
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,109

    Re: Auto Repeat Service Call on 404

    That second one is particularly interesting. There have been a whole lot of network changes that the computer was connected to. I don't know how much this impacted them, but it does seem like the right kind of glitch might cause a bunch of packets to stack up, then all get sent at once. I'm not sure if that's even possible (where do packets stack? I know where pancakes stack, but not packets), but it's what I'm leaning towards...by some means.
    My usual boring signature: Nothing

  4. #4
    PowerPoster jdc2000's Avatar
    Join Date
    Oct 2001
    Location
    Idaho Falls, Idaho USA
    Posts
    2,526

    Re: Auto Repeat Service Call on 404

    You could try a ping test to see what the results might be:

    Code:
    ping {IP Address or site name here} -n 50
    See what results you get.

  5. #5

    Thread Starter
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,109

    Re: Auto Repeat Service Call on 404

    It's fine on my computer from my house. I'll have to try it from the office. There's been some painful hardware changes over the last week or so with lots of things breaking. Testing from my house may not mean a thing.
    My usual boring signature: Nothing

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width