webservices and threads

M

Marek G.

Hi all,
I have questation about webservices and iis 7,5 on the 2008 R2 server . I
have webservice which called from apl.Apl have 100 threads , but the iis
w3wp process have only 30 threads . Where is trouble ?
thanx
 
P

Patrice

Not sure what is "apl.Apl" but if you mean that you are simulating 100
clients calling the web service at the same time, this is perhaps not a
problem. The idea is that ASP.NET allocates a number of threads and if one
request ends quickly then the same thread is available and can be reused for
the next request so it doesn't need 100 threads...

Else clarify a bit as it is not clear where you see you have 100 threads...
 
M

Marek G.

Yes , the apl generate 200 threads ... And no quickly ending. Thread live is
cca 60-120 sec
:-(
 
M

Marek G.

exist limitation for call webservice from winform apl ???? Or exist
limitation for webservice ???
thanx
 
P

Patrice

Ok so see the article above.

My understanding is that you have a client application that calls a service
on multiple (too much ?) threads. Server side it is processed by a number of
threads that is not necessarily related to the number of requests (requests
could be queued) to avoid overflowing the server (12 requests per CPU by
default under IIS7 according the the article). As shown in the article you
have some settings to change this but keep in mind that at some point it
could be counter-productive.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

IIS 7 , 2008 R2 and SQL 2008 2
Trouble with webservices 1
Concurrent Ruby webservices from wsdl2ruby 5
WebClient 0
WebServices not working 3
trouble with webservice 2
profile and webservices 0
Webservices 1

Members online

Forum statistics

Threads
473,982
Messages
2,570,186
Members
46,742
Latest member
AshliMayer

Latest Threads

Top