Question

I've got a very simple Windows Form app that hits an IIS 7 site about 2000 times in the space of a few seconds (using threads).

When I run that app on the server itself, using either localhost or the ip address, everything is totally fine.

However, when I run the app on my dev box, using the ip address, I get an error from the "GetResponse" method:

The operation has timed out

The App can definitely connect to the site, because it consistently either starts throwing the timeout error after 10 or so hits (no more than 11), or it throws the timeout error immediately.

What's going on?

It's hitting IIS 7 on a Windows Server 2008 VM (external box), Windows Firewall is OFF.

My App is running locally on my dev box as the admin.

cheers

Was it helpful?

Solution

I believe the default thread pool size for IIS is about 10 threads. You're overloading that single server.

Are you doing performance testing? Do you expect that many requests, that fast, in production?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top