Webapp access error: all available session are in use
古いコメントを表示

I encountered the error message mentioned above when I initially opened a webapp, and even after reopening it, the message persisted for over 60 minutes. I'm curious about how we can enable multiple users to access the webapp applications simultaneously and why this error is persisting, considering all applications were closed an hour ago.
回答 (1 件)
Arun
2023 年 10 月 31 日
0 投票
Hey Junho,
I understand that you encounter an issue when multiple users access the webapp application simultaneously, resulting in the error message, “All available session are in use.”.
This error is likely due to settings in the “webapps.config” file.
There are 2 important config parameters to consider:
- “MaxWorkers”
- “MaxPrewarmedWorkers”
This error could be because “MaxWorkers” or “MaxPrewarmedWorkers” is not set to a high enough value.
By default, “MaxWorkers” is equal to the amount of GB of physical memory available to your system. When “MaxPrewarmedWorkers” is not set, it defaults to 1/3 of “MaxWorkers”.
One possible solution is to set an increased value for these two parameters. Following are the steps to do so:
- Access the file “webapps.config” at this directory: "C:\ProgramData\MathWorks\webapps\R20XXx\config\webapps.config" (replace XXx with the relevant release number)
- Set an increased value for “MaxWorkers” and “MaxPrewarmedWorkers” (ideally less than “MaxWorkers”).
- Restart the “MATLAB Web Apps R20XXx” service.
This would help you to resolve the session error, I hope the shared information proves helpful.
カテゴリ
ヘルプ センター および File Exchange で MATLAB Web App Server についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!