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.

 

  

沒有留言:

張貼留言

pdf.js 無法顯示部份字

有個檔案在pdf viewer套件中無法顯示內容,但下載檔案後使用工具又可以正常顯示。 本來以為是套件版本太舊的原因,於是去下載pdf viewer套件 https://github.com/mozilla/pdf.js 更新後還是一樣。 覺得應是字型缺漏的問題,於是用PDF-X...