2021年12月8日 星期三

HTTP OLAP 503 Service Unavailable問題

 使用HTTP OLAP進行MDX 套表,在多人使用情況下會出現以下錯誤

 - System.Exception:  The connection either timed out or was lost.
 ---> Microsoft.AnalysisServices.AdomdClient.AdomdConnectionException: The connection either timed out or was lost.
 ---> System.Net.WebException: The remote server returned an error: (503) Service Unavailable. 


根據這篇文章 進行以下設定

1.調整msmdpump.ini ,加入

    <MinThreadPoolSize>0</MinThreadPoolSize>
    <MaxThreadPoolSize>0</MaxThreadPoolSize>
    <MaxThreadsPerClient>20</MaxThreadsPerClient>

<ConfigurationSettings>
    <ServerName>localhost</ServerName>
    <SessionTimeout>3600</SessionTimeout>
    <ConnectionPoolSize>100</ConnectionPoolSize>
    <MinThreadPoolSize>0</MinThreadPoolSize>
    <MaxThreadPoolSize>0</MaxThreadPoolSize>
    <MaxThreadsPerClient>20</MaxThreadsPerClient>
</ConfigurationSettings>

2.調整IIS HTTP OLAP所用的應用程式集區,調整佇列長度由原始的1000改為10000

    工作者處理序數上限由1改為10

 

重啟IIS生效 ,再觀察看看。

 it works.

 

  

沒有留言:

張貼留言

publish error allowDefinition='MachineToApplication'

一個老舊的aspx web form專案,調了一些功能建置成功,但進行部署時顯示以下錯誤。 在應用程式層級之外使用註冊為 allowDefinition='MachineToApplication' 的區段發生錯誤。錯誤的原因可能是虛擬目錄尚未在 IIS 中設定為...