User session questions

0
0

Hello!

Is it a possible to determine:

  • Number of active user sessions of an application
  • How match memory each session consume
  • You must to post comments
0
0

Find more information here:

Application.SessionCount – Number of active sessions.

HealthCheck.json – Make your Wisej app ready for load balancing (depending on usage of memory, cpu etc.)

Best regards
Frank

  • You must to post comments
0
0

Hi Stanislaw,

it´s not easy to find a generic answer for that. The memory for each session varies as components are created and disposed, properties are added etc.

You can use GC to calculate the total memory of the process for all sessions. Or use the .NET profiler API or a profiler tool.

Hope that helps.

Best regards
Frank

  • You must to post comments
0
0

Frank, thank you information, will study.

But what about for memory of each session? I need to prognosis for server memory, that will be used for one instance of application.

  • You must to post comments
0
0

Hi Stanislaw,

you can limit the number of sessions by setting the maxSessions parameter in Default.json
If you want to show a custom page when the number of sessions is reached and no new session can be accepted, you can modify the notAvailableUrl:

sessions

Best regards
Frank

Attachment
  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.