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.

 

  

沒有留言:

張貼留言

IIS 網站無法下載中文檔名檔案因為取消高位元字元

 網址+中文檔案名稱方式下載檔案顯示 404 - 找不到檔案或目錄。 但英數字檔案名稱則可下載。 因為設定GCB IIS,其中1項 將高位元字元預設取消勾選了。 27 TWGCB-04-014-0028 要求篩選與其他限制模組 允許高位元字元 這項原則設定決定查詢...