Sponsor

Sponsor

Magento 2 reindex bloccato o Allowed memory size of 134217728 bytes exhausted

Home Forum Magento Magento 2 reindex bloccato o Allowed memory size of 134217728 bytes exhausted

Questo argomento contiene 1 risposta, ha 1 partecipante, ed è stato aggiornato da  Stefano Brizzante 1 settimana, 5 giorni fa.

Stai vedendo 2 articoli - dal 1 a 2 (di 2 totali)
  • Autore
    Articoli
  • #161008

    Stefano Brizzante
    Amministratore del forum

    Si è verificato l’errore di impossibilità di reindiccizzazione che rimaneva appesa, questo da back-end di Magento 2
    da linea di comando eseguendo il comando
    php bin/magento indexer:reindex
    si riceve

    Design Config Grid index has been rebuilt successfully in 00:00:00
    Customer Grid index is locked by another reindex process. Skipping.
    Category Products index has been rebuilt successfully in 00:00:01
    Product Categories index has been rebuilt successfully in 00:00:00
    Product Price index has been rebuilt successfully in 00:00:08
    Product EAV index has been rebuilt successfully in 00:00:00
    Stock index has been rebuilt successfully in 00:00:01
    Catalog Rule Product index has been rebuilt successfully in 00:00:00
    Catalog Product Rule index has been rebuilt successfully in 00:00:00
    Catalog Search index has been rebuilt successfully in 00:00:03

    eseguendo
    php bin/magento indexer:reset
    si riceve

    Design Config Grid indexer has been invalidated.
    Customer Grid indexer has been invalidated.
    Category Products indexer has been invalidated.
    Product Categories indexer has been invalidated.
    Product Price indexer has been invalidated.
    Product EAV indexer has been invalidated.
    Stock indexer has been invalidated.
    Catalog Rule Product indexer has been invalidated.
    Catalog Product Rule indexer has been invalidated.
    Catalog Search indexer has been invalidated.

    eseguendo
    php bin/magento indexer:reindex
    si riceve
    Allowed memory size of 134217728 bytes exhausted (tried to allocate 667648 bytes) in /var/....../httpdocs/vendor/magento/zendframework1/library/Zend/Db/Statement/Pdo.php on line 228

    per risolvere il problema
    eseguire
    php bin/magento indexer:reset
    si riceve

    Design Config Grid indexer has been invalidated.
    Customer Grid indexer has been invalidated.
    Category Products indexer has been invalidated.
    Product Categories indexer has been invalidated.
    Product Price indexer has been invalidated.
    Product EAV indexer has been invalidated.
    Stock indexer has been invalidated.
    Catalog Rule Product indexer has been invalidated.
    Catalog Product Rule indexer has been invalidated.
    Catalog Search indexer has been invalidated.

    e poi
    php -d memory_limit=-1 bin/magento indexer:reindex

    dove memory_limit=-1 elimina il massimo della memoria eseguibile e dunque si riesce a portare a termine l’esecuzione del comando

    #161011

    Stefano Brizzante
    Amministratore del forum

    c’è anche la possibilità di eseguire come root da ssh
    service psa restart

Stai vedendo 2 articoli - dal 1 a 2 (di 2 totali)

Devi essere loggato per rispondere a questa discussione.

Sponsor

TAG

Cerca con Google

google-searchNon hai trovato quello che cercavi?

prova a fare una ricerca con Google

Generazione2000 © 2015 Generazione2000 è un prodotto di EsseBi Tecnologia Partita Iva: 00358578888