Ad Widget

Collapse

Map generation very slow !

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pierre-hoffmann
    Senior Member
    • Jan 2008
    • 133

    #1

    Map generation very slow !

    Hi,

    I've a big problem with map generation; it take allways
    between 12 and 15 seconds... How to diagnose this ??
    It's a problem with libgd, mysql or php ??



    Regards
    P.Hoffmann
    System & Network Admin.
    __________________________
    Zabbix version 1.8.1
    Hosts monitored 1300
    OS Novell SLES 10 SP2
    __________________________
  • pierre-hoffmann
    Senior Member
    • Jan 2008
    • 133

    #2
    Hi,

    I've read some things that indicate this problem is generated by zabbix rights system:
    when zabbix generate a map it verify rights of all zabbix objects ???

    It' right or not ?? If true Perhaps it's possible to make a specific more simple
    rights system on maps (user has right or not to visualise a map).

    Regards,
    Pierre.
    P.Hoffmann
    System & Network Admin.
    __________________________
    Zabbix version 1.8.1
    Hosts monitored 1300
    OS Novell SLES 10 SP2
    __________________________

    Comment

    • Alexei
      Founder, CEO
      Zabbix Certified Trainer
      Zabbix Certified SpecialistZabbix Certified Professional
      • Sep 2004
      • 5654

      #3
      Originally posted by pierre-hoffmann
      I've read some things that indicate this problem is generated by zabbix rights system:
      when zabbix generate a map it verify rights of all zabbix objects ???
      This is correct, however this shouldn't introduce any performance related problems.
      Alexei Vladishev
      Creator of Zabbix, Product manager
      New York | Tokyo | Riga
      My Twitter

      Comment

      • pierre-hoffmann
        Senior Member
        • Jan 2008
        • 133

        #4
        Hi,
        Originally posted by Alexei
        This is correct, however this shouldn't introduce any performance related problems.
        But how to diagnose raison of this slow ? It's only on map !
        (i've made optimize on mysql tables but no effect)

        Regards,
        Pierre.
        P.Hoffmann
        System & Network Admin.
        __________________________
        Zabbix version 1.8.1
        Hosts monitored 1300
        OS Novell SLES 10 SP2
        __________________________

        Comment

        • Alexei
          Founder, CEO
          Zabbix Certified Trainer
          Zabbix Certified SpecialistZabbix Certified Professional
          • Sep 2004
          • 5654

          #5
          Just wondering, is it for 1.4.x or 1.6.x is affected as well?
          Alexei Vladishev
          Creator of Zabbix, Product manager
          New York | Tokyo | Riga
          My Twitter

          Comment

          • pierre-hoffmann
            Senior Member
            • Jan 2008
            • 133

            #6
            Hi,
            Originally posted by Alexei
            Just wondering, is it for 1.4.x or 1.6.x is affected as well?
            It's with Zabbix 1.4.6 (i've not tested this in 1.6 !).

            Regards,
            Pierre.
            P.Hoffmann
            System & Network Admin.
            __________________________
            Zabbix version 1.8.1
            Hosts monitored 1300
            OS Novell SLES 10 SP2
            __________________________

            Comment

            • pierre-hoffmann
              Senior Member
              • Jan 2008
              • 133

              #7
              Hi,

              Nobody have idea about this ?? Nobody has this problem too ??

              Regards,
              Pierre
              P.Hoffmann
              System & Network Admin.
              __________________________
              Zabbix version 1.8.1
              Hosts monitored 1300
              OS Novell SLES 10 SP2
              __________________________

              Comment

              • pierre-hoffmann
                Senior Member
                • Jan 2008
                • 133

                #8
                Hi,

                i've make some test; i've edit maps.php and comment 2 lignes
                Code:
                57                 #if(!sysmap_accessiable($row["sysmapid"],PERM_READ_ONLY))
                 58                 #       continue;
                Before page generation take 13 seconds :



                After it take only 1 seconds:



                Do you have any idea about this ?? What are the problem with authorizations ?

                Regards,
                Pierre.
                Last edited by pierre-hoffmann; 23-10-2008, 08:03.
                P.Hoffmann
                System & Network Admin.
                __________________________
                Zabbix version 1.8.1
                Hosts monitored 1300
                OS Novell SLES 10 SP2
                __________________________

                Comment

                Working...