Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-17321

Slow dashboard for commom users

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Won't fix
    • Icon: Trivial Trivial
    • None
    • 4.4.5
    • Frontend (F)
    • None
    • Front Server
      vCPU 8
      Memory 15GB
      PHP 7.2
      Apache 2.4.6
      Operating System CentOS 7.7

      When user logged by non-superadmin the dashboard loading very very slow. I see many slow queries like above this.

      SELECT h.hostid FROM hosts h,hosts_groups hg WHERE h.flags IN (0,4) AND EXISTS (SELECT NULL FROM hosts_groups hgg JOIN rights r ON r.id=hgg.groupid AND r.groupid=38 WHERE h.hostid=hgg.hostid GROUP BY hgg.hostid HAVING MIN(r.permission)>0 AND MAX(r.permission)>='2') AND hg.groupid IN (2,4,6,16,17,21,22,24,25,26,27,30,38,39,40,41,42,43,44,45,46,48,50,52,53,55,56,58,60,61,62,65,66,68,69,70,72,80,82,84,85,86,87,88,89,90,91,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,118,119,120,121,122,124,125,126,127,128,129,130,131,132,133,134,135,138,140,141,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,168,169,174,176,178,179,183,184,185,186,187,188,189,190,192,193,194,195,196,201,202,203,204,205,206,207,208,209,211,214,215,216,220,221,222,224,228,229,230,231,232,233,234,235,236,238,242,243,244,248,249,250,253,254,255,256,257,258,259,260,261,262,265,266,268,270,272,273,274,276,277,278,280,283,291,292,294,295,296,297,299,302,304,305,310,311,312,313,316,317,318,319,320,322,325,326,327,329,330,331,332,334,336,339,340,341,344,345,346,348,349,350,353,354,356,357,359,360,362,363,364,366,367,368,369,370,371,372,373,374,376,377,379,382,383,384,385,388,389,390,391,392,393,394,395,397,398,399,400,401,403,404,405,406,407,408,411,413,414,415,416,417,418,419,420,421,422,423,424,425,426,428,429,430,431,432,433,434,435,436,438,440) AND hg.hostid=h.hostid AND h.status IN (0,1);

            igorbach Igor Gorbach
            sergio.artese Sergio Artese
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: