Quantcast
Channel: DOCU - Foren
Viewing all articles
Browse latest Browse all 6597

Administration - Installation - Core: Problem with a request : Crash System

$
0
0

Hello,

I have a big problem that crash our system...



  • Machine in DEBIAN 9

  • MariaDB in database


One of our services offers a test with about 50 users and the server falls.
The test is carried out in "Kiosk" mode

In addition, a test with 150 users is normally carried out with another service.


My user database has about 300,000 users. (SSO)

After analysis it is a problem with MySql.


The CPU is 100% consumed by MySql.


The request that crashes the system is:



  • $query = 'SELECT COUNT(DISTINCT(usr_id)) as num FROM rbac_ua '.



The public function getNumberOfAssignedUsers(Array $a_roles) that contain this request is in the class "class.ilRbacReview.php"



What do you think is the problem?

Thank you for your help

Laurent






Viewing all articles
Browse latest Browse all 6597

Trending Articles