Borrar filtros
Borrar filtros

Webapp access error: all available session are in use

16 visualizaciones (últimos 30 días)
Junho Chun
Junho Chun el 23 de Oct. de 2023
Respondida: Arun el 31 de Oct. de 2023
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.

Respuestas (1)

Arun
Arun el 31 de Oct. de 2023
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:
  1. “MaxWorkers”
  2. “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:
  1. Access the file “webapps.config” at this directory: "C:\ProgramData\MathWorks\webapps\R20XXx\config\webapps.config" (replace XXx with the relevant release number)
  2. Set an increased value for “MaxWorkers” and “MaxPrewarmedWorkers” (ideally less than “MaxWorkers”).
  3. Restart the “MATLAB Web Apps R20XXx” service.
This would help you to resolve the session error, I hope the shared information proves helpful.

Categorías

Más información sobre MATLAB Web App Server en Help Center y File Exchange.

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by