|
|
|
|
Re: Scout Application very Slow when 10+ Users are logged in [message #1829133 is a reply to message #1829131] |
Thu, 25 June 2020 15:31 |
Luis Nothvogel Messages: 56 Registered: October 2019 |
Member |
|
|
So i can only check the Thread count for the backend Server. Because i dont have direct acces to the Frontend server. But on the Backend i noticed that it starts with 10 Threads that are ready. As soon as I log in with a User 1 Thread is taken by 1 User. But as soon as i get to the starting number (10) it wont create anymore Threads. So maybe that is the problem? So as soon as 10+ Users are logged in all Threads are taken and it wont create more that these 10.
Do you know if that is the problem?
I only deploy the Frontend to through the Tomcat deployer and yes as you said without restarting. On the backend I stop the Tomcat then delete the old war file and insert the new one. Then i restart it
[Updated on: Thu, 25 June 2020 15:32] Report message to a moderator
|
|
|
Re: Scout Application very Slow when 10+ Users are logged in [message #1829134 is a reply to message #1829133] |
Thu, 25 June 2020 16:14 |
|
Is it slow after a fresh restart of the Frontend server or does it get slow over time (after some deployments)? I don't think the backend server is the problem, there should not be a lot of concurrent threads running.
On the Frontend server, each active user creates a thread due to the long polling mechanism. So when more users log in more threads should be created. If that is not the case then this is likely your problem. Because now, a connection can only be processed as soon as one long polling connection is released (after 1 minute) because no more threads are created.
We experienced the same behavior with our demo applications (https://scout.bsiag.com/widgets, etc.). After about 1 week the apps got very slow and the currentThreadCount stopped increasing at about 10 threads. We deployed the demo apps nightly using the Tomcat deployer. About 2 weeks ago we temporarily deactivated the deployments and the apps are still running fine. For our real apps (not demo apps) we never use the tomcat deployer, that is probably why they are running fine...
Unfortunately we still don't know what the problem is, whether it is because of Tomcat 9, JDK 11 or Scout 10. It worked well with Tomcat 8, JDK 8 and Scout 9...
What JDK do you use?
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04625 seconds