You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2023-03-16 14:43:25

falco2001
Member
Registered: 2016-02-11
Posts: 251

GLPI [10.0.6] glpiinventory [ 1.1.0] PHP Fatal error: Allowed memory

Bonjour,
Avant en glpi 9.5.6 avec fusion aucun problème

Acec glpiinventory j'ai :
lors du déploiement des paquets dans la nouvelle version glpi 10.0.6 et glpioinventory aucun paquet ne se déploie : j'ai dans les logs ceci :

[Thu Mar 16 10:03:09.226769 2023] [php7:error] [pid 13735] [client 140.77.x.xx:59605] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /var/www/assistance-dev2/plugins/glpiinventory/inc/task.class.php on line 1502, referer: http://lxc-glpi-dev2.x/plugins/glpiinventory/front/taskjob.php

et la commande donne : 
 php -i |grep memory
memory_limit => -1 => -1
Collecting memory statistics => No
opcache.memory_consumption => 512 => 512
opcache.preferred_memory_model => no value => no value
opcache.protect_memory => Off => Off

Une idée  car c'est bloquant. Merci

Last edited by falco2001 (2023-03-16 14:50:11)

Offline

#2 2023-03-16 15:14:40

falco2001
Member
Registered: 2016-02-11
Posts: 251

Re: GLPI [10.0.6] glpiinventory [ 1.1.0] PHP Fatal error: Allowed memory

Corrigé dans php.
Il y avait un bug dans le cron.
Désolé

Offline

#3 2023-03-17 15:21:38

falco2001
Member
Registered: 2016-02-11
Posts: 251

Re: GLPI [10.0.6] glpiinventory [ 1.1.0] PHP Fatal error: Allowed memory

re,
sur deux déploiements :
Les deux remontent bien avec le tag DSI et les toutes infos sur le GLPI
par contre ça déploie toujours rien, les tâches sont bien en attente mais les install ne se déclenchent jamais

[Fri Mar 17 14:25:36.336930 2023] [php7:warn] [pid 9123] [client 140.140.140.94:54261] PHP Warning:  Invalid item "PluginGlpiinventoryDeployGroup" (290). in /var/www/assistance-dev2/plugins/glpiinventory/inc/task.class.php on line 833, referer: http://lxc-glpi-dev2.toto.fr/plugins/glpiinventory/front/task.form.php?id=648
[Fri Mar 17 14:25:36.337163 2023] [php7:warn] [pid 9123] [client 140.140.140.94:54261] PHP Warning:  Invalid item "PluginGlpiinventoryDeployGroup" (293). in /var/www/assistance-dev2/plugins/glpiinventory/inc/task.class.php on line 833, referer: http://lxc-glpi-dev2.toto.fr/plugins/glpiinventory/front/task.form.php?id=648
[Fri Mar 17 14:25:36.337407 2023] [php7:warn] [pid 9123] [client 140.140.140.94:54261] PHP Warning:  Invalid item "PluginGlpiinventoryDeployGroup" (294). in /var/www/assistance-dev2/plugins/glpiinventory/inc/task.class.php on line 833, referer: http://lxc-glpi-dev2.toto.fr/plugins/glpiinventory/front/task.form.php?id=648
[Fri Mar 17 14:25:36.337598 2023] [php7:warn] [pid 9123] [client 140.140.140.94:54261] PHP Warning:  Invalid item "PluginGlpiinventoryDeployGroup" (303). in /var/www/assistance-dev2/plugins/glpiinventory/inc/task.class.php on line 833, referer: http://lxc-glpi-dev2.toto.fr/plugins/glpiinventory/front/task.form.php?id=648
[Fri Mar 17 14:25:36.337802 2023] [php7:warn] [pid 9123] [client 140.140.140.94:54261] PHP Warning:  Invalid item "PluginGlpiinventoryDeployGroup" (306). in /var/www/assistance-dev2/plugins/glpiinventory/inc/task.class.php on line 833, referer: http://lxc-glpi-dev2.toto.fr/plugins/glpiinventory/front/task.form.php?id=648
[Fri Mar 17 14:25:36.338007 2023] [php7:warn] [pid 9123] [client 140.140.140.94:54261] PHP Warning:  Invalid item "PluginGlpiinventoryDeployGroup" (309). in /var/www/assistance-dev2/plugins/glpiinventory/inc/task.class.php on line 833, referer: http://lxc-glpi-dev2.toto.fr/plugins/glpiinventory/front/task.form.php?id=648
[Fri Mar 17 14:25:36.816897 2023] [php7:warn] [pid 9123] [client 140.140.140.94:54261] PHP Warning:  Invalid item "PluginGlpiinventoryDeployGroup" (295). in /var/www/assistance-dev2/plugins/glpiinventory/inc/task.class.php on line 833, referer: http://lxc-glpi-dev2.toto.fr/plugins/glpiinventory/front/task.form.php?id=648
[Fri Mar 17 14:25:38.493538 2023] [php7:warn] [pid 9123] [client 140.140.140.94:54261] PHP Warning:  Invalid item "PluginGlpiinventoryDeployGroup" (357). in /var/www/assistance-dev2/plugins/glpiinventory/inc/task.class.php on line 833, referer: http://lxc-glpi-dev2.toto.fr/plugins/glpiinventory/front/task.form.php?id=648
[Fri Mar 17 14:25:38.820747 2023] [php7:warn] [pid 9123] [client 140.140.140.94:54261] PHP Warning:  Invalid item "PluginGlpiinventoryDeployGroup" (313). in /var/www/assistance-dev2/plugins/glpiinventory/inc/task.class.php on line 833, referer: http://lxc-glpi-dev2.toto.fr/plugins/glpiinventory/front/task.form.php?id=648
[Fri Mar 17 14:28:36.211248 2023] [php7:error] [pid 9122] [client 140.140.140.122:63305] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /var/www/assistance-dev2/plugins/glpiinventory/inc/task.class.php on line 1502, referer: http://lxc-glpi-dev2.toto.fr/plugins/glpiinventory/front/taskjob.php

AVez-vous une idée ?

Last edited by falco2001 (2023-03-17 15:41:54)

Offline

#4 2023-03-17 16:27:36

falco2001
Member
Registered: 2016-02-11
Posts: 251

Re: GLPI [10.0.6] glpiinventory [ 1.1.0] PHP Fatal error: Allowed memory

J"ai ceci aussi coté client :

[Fri Mar 17 12:42:06 2023][info] server0 answer shows it supports GLPI Agent protocol

[Fri Mar 17 12:42:06 2023][info] running task Collect

[Fri Mar 17 12:42:06 2023][error] [http client] communication error: 400 Bad Request

[Fri Mar 17 12:42:06 2023][info] Collect task not supported by server0

Offline

Board footer

Powered by FluxBB