Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Intraweb instantly 'crashes' when above 340 users
#4
Thank you for your replies!
 
For development I used Intraweb 14.2.9 with Delphi 10 Seattle (use also TMS and CGDevtools components).
The webapp is SA running as windows service.

Is the ISAPI a better approach than SA (in general for IW)?

Besides, I’m aware of newer versions, but is it possible for you to elaborate if there is any known problems regarding the sessions in older versions ?

In other words, will it help me to update or do I need to go deeper into my code? Currently I am already migrating to newer versions (Intraweb 15 and Delphi 11). I keep the older installations for backup and for small necessary adjustments in production.

What is strange for me, though, is that the issues occur after 340 sessions and 4 hours of working. If it’s indeed a thread safe error, wouldn't it be more logical for this issue to occur earlier?
Users do execute a lot of actions and retrieve a lot of data (which is handled instantly as long as we stay under 340 sessions).

-      I am using IWsession to make as much actions as possible, communicate with backed server, maintain cache datasets, load and get controls data.
-      I am not using global variables.
-      Access to server controller directly, is limited and accessed thru Critical section.
-      Communication with backed is done thru idHTTP, synchronously, inside the user session.

I pay attention to thread aware  and I do not using global variable, or if some parameters is accessed, they are treated in critical section.
Reply


Messages In This Thread
RE: Intraweb instantly 'crashes' when above 340 users - by AtozedJunky - 12-01-2021, 10:26 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)