Timeout when calling a webservice
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server General > Timeout when calling a webservice




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Timeout when calling a webservice  
krishna Pothini


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-23-05 10:58 PM

We were getting a huge number of Time outs when BizTalk is calling one
of our internal webservice.
"
The operation has timed-out.
The operation has timed-out.
The underlying connection was closed: The request was canceled.
The underlying connection was closed: The request was canceled.
The request failed with HTTP status 503: Service Unavailable.
The request failed with HTTP status 503: Service Unavailable.
There were not enough free threads in the ThreadPool object to complete
the operation.
There were not enough free threads in the ThreadPool object to complete
the operation.
"
These are various kinds of error we are getting.
We don't see BizTalk calling the webservice at all for all this error
messages.After some googling we found that changing the low watermark
and high watermark in the BIztalk using "SvcClassSettings.exe" tool we
could avoid this problem.

Is this problem with the BizTalk soap adapter.I am looking for a better
solution rather than changing the low and high watermark because the
default values are 100&200 we have to make it 6&12 to avoid this
problem,in a way we are limiting the capabilty of BizTalk so much.

Thanks in advance....
Krishna Mohan Pothini.






[ Post a follow-up to this message ]



    Re: Timeout when calling a webservice  
Bill Ticehurst


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-23-05 10:58 PM

Hi Krishna,

You may want to ensure the receiving SOAP adapter is processing the messages
fast enough.  See
http://support.microsoft.com/defaul...kb;en-us;886966 .

Unfortunately if the receiving end is slow then the thread pool responsible
for sending can get entirely consumed, as would appear is happening by your
"There were not enough free threads in the ThreadPool object to complete the
operation" message.  I believe the problem is similar in cause to that
outlined in http://support.microsoft.com/defaul...kb;en-us;815637
and http://support.microsoft.com/defaul...kb;en-us;821268 .

Unfortunately there is no simple solution.  If the receiving end isn't
processing messages quicker than you're sending them, then it's not
practicle or sustainable to keep continuously spinning up more threads.

Hopefully you can find something in the above articles to point to a
satisfactory resolution in your environment.

Regards,

- Bill Ticehurst [MSFT]

This posting is provided "AS IS" with no warranties, and confers no rights



"krishna Pothini" <pothini@gmail.com> wrote in message
news:1109175846.700348.97110@g14g2000cwa.googlegroups.com...
> We were getting a huge number of Time outs when BizTalk is calling one
> of our internal webservice.
> "
> The operation has timed-out.
> The operation has timed-out.
> The underlying connection was closed: The request was canceled.
> The underlying connection was closed: The request was canceled.
> The request failed with HTTP status 503: Service Unavailable.
> The request failed with HTTP status 503: Service Unavailable.
> There were not enough free threads in the ThreadPool object to complete
> the operation.
> There were not enough free threads in the ThreadPool object to complete
> the operation.
> "
> These are various kinds of error we are getting.
> We don't see BizTalk calling the webservice at all for all this error
> messages.After some googling we found that changing the low watermark
> and high watermark in the BIztalk using "SvcClassSettings.exe" tool we
> could avoid this problem.
>
> Is this problem with the BizTalk soap adapter.I am looking for a better
> solution rather than changing the low and high watermark because the
> default values are 100&200 we have to make it 6&12 to avoid this
> problem,in a way we are limiting the capabilty of BizTalk so much.
>
> Thanks in advance....
> Krishna Mohan Pothini.
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 04:45 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register