S
Steve B.
Hi,
We have built an asp.net application that uses some web services (actually
WSS web services). Because of high number of users and theirs simultaneous
requests, web services are very frequently requested.
Using standard Visual Studio web references, we cannot control the http
connections to the web services. The framework seems to keep HTTP connection
opened until the 4 minutes (by default) timeout occurs. Each time the proxy
to the web service is called, a new http connection is made.
This cause the asp.net web application to crash after some minutes. Deep
investigations show that the server reach its 5000 simultaneous connexions.
I have no control over the behavior of the server side (Sharepoint), so I
need to find to a way to reduce HttpConnections... The code has been
reviewed to reduce the number of calls to its minimum but the problem still
occurs. Is there any way to ask the framework to reuse http connections ?
Moreover, the web service is requested always with the same credentials (the
asp.net app pool identity) and we are calling only 3 asmx services (3
proxies shared along the whole request execution).
Note that we worked around the problem by activating caches (business cache,
and asp.net cache) but that cause the displayed data to be not accurracy.
Thanks in advance,
Steve
We have built an asp.net application that uses some web services (actually
WSS web services). Because of high number of users and theirs simultaneous
requests, web services are very frequently requested.
Using standard Visual Studio web references, we cannot control the http
connections to the web services. The framework seems to keep HTTP connection
opened until the 4 minutes (by default) timeout occurs. Each time the proxy
to the web service is called, a new http connection is made.
This cause the asp.net web application to crash after some minutes. Deep
investigations show that the server reach its 5000 simultaneous connexions.
I have no control over the behavior of the server side (Sharepoint), so I
need to find to a way to reduce HttpConnections... The code has been
reviewed to reduce the number of calls to its minimum but the problem still
occurs. Is there any way to ask the framework to reuse http connections ?
Moreover, the web service is requested always with the same credentials (the
asp.net app pool identity) and we are calling only 3 asmx services (3
proxies shared along the whole request execution).
Note that we worked around the problem by activating caches (business cache,
and asp.net cache) but that cause the displayed data to be not accurracy.
Thanks in advance,
Steve