Aller directement au contenu
  • Catégories
  • Récent
  • Mots-clés
  • Populaire
  • Web
  • Utilisateurs
  • Groupes
Habillages
  • Clair
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Sombre
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Défaut (Darkly)
  • Aucun habillage
Réduire

NodeBB

  1. Accueil
  2. Announcements
  3. Wordpress

Wordpress

Planifié Épinglé Verrouillé Déplacé Announcements
wordpress
19 Messages 1 Publieurs 179 Vues 1 Abonné
  • Du plus ancien au plus récent
  • Du plus récent au plus ancien
  • Les plus votés
Répondre
  • Répondre à l'aide d'un nouveau sujet
Se connecter pour répondre
Ce sujet a été supprimé. Seuls les utilisateurs avec les droits d'administration peuvent le voir.
  • fariasF Hors-ligne
    fariasF Hors-ligne
    farias
    a écrit sur dernière édition par
    #7

    image.png

    1 réponse Dernière réponse
    0
    • fariasF Hors-ligne
      fariasF Hors-ligne
      farias
      a écrit sur dernière édition par
      #8

      Ajout de cache REDIS:

      image.png

      1 réponse Dernière réponse
      0
      • fariasF Hors-ligne
        fariasF Hors-ligne
        farias
        a écrit sur dernière édition par
        #9

        Avec la migration je suis passé de PHP 8.4.12 => 8.4.15

        image.png

        1 réponse Dernière réponse
        0
        • fariasF Hors-ligne
          fariasF Hors-ligne
          farias
          a écrit sur dernière édition par
          #10

          Migration InnoDB :

          # mysql
          Welcome to the MariaDB monitor.  Commands end with ; or \g.
          Your MariaDB connection id is 2618
          Server version: 10.11.14-MariaDB-0+deb12u2-log Debian 12
          
          Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
          
          Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
          
          MariaDB [(none)]> SELECT CONCAT('ALTER TABLE ',TABLE_NAME,' ENGINE=InnoDB;') 
              -> FROM INFORMATION_SCHEMA.TABLES
              -> WHERE ENGINE='MyISAM'
              -> AND table_schema = 'farias17';
          +-----------------------------------------------------------+
          | CONCAT('ALTER TABLE ',TABLE_NAME,' ENGINE=InnoDB;')       |
          +-----------------------------------------------------------+
          | ALTER TABLE af_es_pluginconfig ENGINE=InnoDB;             |
          | ALTER TABLE af_users ENGINE=InnoDB;                       |
          | ALTER TABLE af_commentmeta ENGINE=InnoDB;                 |
          | ALTER TABLE af_flag_album ENGINE=InnoDB;                  |
          | ALTER TABLE af_flag_comments ENGINE=InnoDB;               |
          | ALTER TABLE af_ai1ec_event_category_colors ENGINE=InnoDB; |
          | ALTER TABLE af_xmlgooglemaps_cache ENGINE=InnoDB;         |
          | ALTER TABLE af_es_emaillist ENGINE=InnoDB;                |
          | ALTER TABLE af_xmlgooglemaps ENGINE=InnoDB;               |
          | ALTER TABLE af_links ENGINE=InnoDB;                       |
          | ALTER TABLE af_es_templatetable ENGINE=InnoDB;            |
          | ALTER TABLE af_es_deliverreport ENGINE=InnoDB;            |
          | ALTER TABLE af_xmlgooglemaps_gpxfile ENGINE=InnoDB;       |
          | ALTER TABLE af_flag_gallery ENGINE=InnoDB;                |
          | ALTER TABLE af_es_notification ENGINE=InnoDB;             |
          | ALTER TABLE af_xmlgooglemaps_gpxfile_item ENGINE=InnoDB;  |
          | ALTER TABLE af_translations_log ENGINE=InnoDB;            |
          | ALTER TABLE af_es_sentdetails ENGINE=InnoDB;              |
          | ALTER TABLE af_translations ENGINE=InnoDB;                |
          +-----------------------------------------------------------+
          19 rows in set (0,004 sec)
          
          
          1 réponse Dernière réponse
          0
          • fariasF Hors-ligne
            fariasF Hors-ligne
            farias
            a écrit sur dernière édition par
            #11

            Je viens de mettre Redis Cache :

            image.png

            1 réponse Dernière réponse
            0
            • fariasF Hors-ligne
              fariasF Hors-ligne
              farias
              a écrit sur dernière édition par
              #12

              C’est pas encore bon …

              image.png

              1 réponse Dernière réponse
              0
              • fariasF Hors-ligne
                fariasF Hors-ligne
                farias
                a écrit sur dernière édition par
                #13

                Je vais virer la SWAP :

                # /sbin/sysctl vm.swappiness=0
                vm.swappiness = 0
                # /sbin/swapoff -a
                # /sbin/swapon -a
                
                
                1 réponse Dernière réponse
                0
                • fariasF Hors-ligne
                  fariasF Hors-ligne
                  farias
                  a écrit sur dernière édition par
                  #14

                  Optimisation MariaDB :

                  # mysql
                  Welcome to the MariaDB monitor.  Commands end with ; or \g.
                  Your MariaDB connection id is 471
                  Server version: 10.11.14-MariaDB-0+deb12u2-log Debian 12
                  
                  Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
                  
                  Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
                  
                  MariaDB [(none)]> show status like 'Threads_created';
                  +-----------------+-------+
                  | Variable_name   | Value |
                  +-----------------+-------+
                  | Threads_created | 4     |
                  +-----------------+-------+
                  1 row in set (0,002 sec)
                  
                  MariaDB [(none)]> show status like 'Connections';
                  +---------------+-------+
                  | Variable_name | Value |
                  +---------------+-------+
                  | Connections   | 476   |
                  +---------------+-------+
                  1 row in set (0,001 sec)
                  
                  MariaDB [(none)]> set global thread_cache_size = 90;
                  Query OK, 0 rows affected (0,001 sec)
                  
                  
                  1 réponse Dernière réponse
                  0
                  • fariasF Hors-ligne
                    fariasF Hors-ligne
                    farias
                    a écrit sur dernière édition par
                    #15

                    Je viens aussi de mettre : /etc/mysql/mariadb.conf.d/50-server.cnf

                    [mysqld]
                    skip-name-resolve
                    
                    1 réponse Dernière réponse
                    0
                    • fariasF Hors-ligne
                      fariasF Hors-ligne
                      farias
                      a écrit sur dernière édition par
                      #16

                      Je lance :

                      # mysqlcheck --auto-repair --optimize --all-databases
                      ...
                      
                      1 réponse Dernière réponse
                      0
                      • fariasF Hors-ligne
                        fariasF Hors-ligne
                        farias
                        a écrit sur dernière édition par
                        #17

                        Je comprends pas le problème avec la base.

                        image.png

                        Pourtant j’ai aucune requete qui dort :

                        # mysqladmin processlist 
                        +-----+------+-----------+----+---------+------+----------+------------------+----------+
                        | Id  | User | Host      | db | Command | Time | State    | Info             | Progress |
                        +-----+------+-----------+----+---------+------+----------+------------------+----------+
                        | 288 | root | localhost |    | Query   | 0    | starting | show processlist | 0.000    |
                        +-----+------+-----------+----+---------+------+----------+------------------+----------+
                        
                        

                        C’est toujours instantanée …

                        1 réponse Dernière réponse
                        0
                        • fariasF Hors-ligne
                          fariasF Hors-ligne
                          farias
                          a écrit sur dernière édition par
                          #18

                          Optimisation :

                          # mysql
                          Welcome to the MariaDB monitor.  Commands end with ; or \g.
                          Your MariaDB connection id is 9343
                          Server version: 10.11.14-MariaDB-0+deb12u2-log Debian 12
                          
                          Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
                          
                          Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
                          
                          MariaDB [(none)]> SHOW VARIABLES LIKE 'max_allowed_packet';
                          +--------------------+----------+
                          | Variable_name      | Value    |
                          +--------------------+----------+
                          | max_allowed_packet | 16777216 |
                          +--------------------+----------+
                          1 row in set (0,001 sec)
                          
                          MariaDB [(none)]> SHOW VARIABLES LIKE 'net_buffer_length';
                          +-------------------+-------+
                          | Variable_name     | Value |
                          +-------------------+-------+
                          | net_buffer_length | 16384 |
                          +-------------------+-------+
                          1 row in set (0,004 sec)
                          
                          MariaDB [(none)]> set global net_buffer_length=1000000;
                          Query OK, 0 rows affected, 1 warning (0,000 sec)
                          
                          MariaDB [(none)]> set global max_allowed_packet=1000000000;
                          Query OK, 0 rows affected, 1 warning (0,000 sec)
                          
                          MariaDB [(none)]> \quit
                          Bye
                          
                          
                          1 réponse Dernière réponse
                          0
                          • fariasF Hors-ligne
                            fariasF Hors-ligne
                            farias
                            a écrit sur dernière édition par
                            #19

                            Update :

                            image.png

                            1 réponse Dernière réponse
                            0

                            Bonjour ! Vous semblez intéressé par cette conversation, mais vous n’avez pas encore de compte.

                            Marre de refaire défiler les mêmes messages ? Créez un compte pour retrouver votre position, recevoir des notifications des nouvelles réponses, sauvegarder vos favoris et voter pour les messages que vous appréciez.

                            Grâce à votre participation, ce message peut devenir encore meilleur 💗

                            S'inscrire Se connecter
                            Répondre
                            • Répondre à l'aide d'un nouveau sujet
                            Se connecter pour répondre
                            • Du plus ancien au plus récent
                            • Du plus récent au plus ancien
                            • Les plus votés


                            • Se connecter

                            • Vous n'avez pas de compte ? S'inscrire

                            • Connectez-vous ou inscrivez-vous pour faire une recherche.
                            Powered by NodeBB Contributors
                            • Premier message
                              Dernier message
                            0
                            • Catégories
                            • Récent
                            • Mots-clés
                            • Populaire
                            • Web
                            • Utilisateurs
                            • Groupes