We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

WCF Olap Client Service times out after 24hrs

Thread ID:

Created:

Updated:

Platform:

Replies:

118294 Feb 20,2015 02:05 PM Feb 23,2015 07:53 AM ASP.NET MVC 1
loading
Tags: PivotClient
Eduardo Echeverria
Asked On February 20, 2015 02:05 PM

We have added the Olap Client to one of our web applications.  While developing we noticed that the WCF service handling the transactions with the component would go into hibernation after 15 minutes of not being used.  Depending on the machine it would take up to 5 minutes to bring it back up.  After doing some reading we added the 'receiveTimeout=0' attribute to our config file.  This fixed the issue on our local environments.

<webHttpBinding>
  <binding name="http" maxReceivedMessageSize="2147483647" maxBufferSize="2147483647" transferMode="Streamed" receiveTimeout="0">
     <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
     <security mode="None" />
  </binding>
</webHttpBinding>


We are still having issues in our production environment.  The service goes into hibernation approximately 24 hrs. after its last interaction.  In production it takes up to 10 minutes to bring it back and it consumes the entire processor.  This means that for 10 minutes none of our users can access our application.  Even worse, the services takes longer on every consecutive time it is brought back from hibernation which is forcing us to re-start the server twice a week.

Is there a way to prevent the WCF service from going to sleep or is there any suggestion or work around to avoid this issue?  We are intrigued on why the receiveTimeout attribute just delays the service going into hibernation but did not prevent it completely.



Prabu S [Syncfusion]
Replied On February 23, 2015 07:53 AM

Hi Eduardo,

This problem commonly occurs while hosting WCF service in IIS and we suggest you to check following forum to resolve the problem.

https://social.msdn.microsoft.com/Forums/en-US/8b3258e7-261c-49a0-888c-0b3e68b2af13/preventing-iis-from-falling-into-sleep?forum=wcf

Please let us know if you want any further assistance.

Regards,

Prabu S.



CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;