使用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.
沒有留言:
張貼留言