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-11-17 12:45:40

ruivitorino
Member
Registered: 2023-08-25
Posts: 4

GLPI crashing because Inodes - Core/Cache

Hello.

Recently the platform is crashing every two days because the /var directory fills up with inodes.

The cause seems to be the caching mechanism, but I can't really understand why.


I don't have the formcreator plugins so the known problem is not the root cause.


Can someone give insight about this?

Thanks

Offline

#2 2023-11-17 14:27:25

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,813
Website

Re: GLPI crashing because Inodes - Core/Cache

Do you have any plugins installed at all? Also, what is your GLPI and PHP versions?


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

#3 2023-11-17 18:09:18

cedric-anne
Administrator
Registered: 2018-07-02
Posts: 85

Re: GLPI crashing because Inodes - Core/Cache

Hi,

Usually, this problem occurs because one of the file in files/_cache is not writable by the webserver user.
To fix this, you can remove all the files/_cache subdirectories and ensure that the GLPI crontab and the GLPI console are not executed with a user that create files that cannot be updated then by the webserver user (e.g. do not execute the crontab or the console with the root user).

Offline

#4 2023-11-20 12:00:47

ruivitorino
Member
Registered: 2023-08-25
Posts: 4

Re: GLPI crashing because Inodes - Core/Cache

cconard96 wrote:

Do you have any plugins installed at all? Also, what is your GLPI and PHP versions?

I have the following plugins:

Additional Fields - 1.20.7
Apps structures - 3.0.12
Data injection - 2.13.2
Statecheck Rules - 2.3.9
Tag Management - 2.11.6



GLPI Version: 10.0.10
PHP Version: 7.4.33
Zend Engine: v3.4.0 with Zend OPcache v7.4.33

Offline

#5 2023-11-20 12:09:04

ruivitorino
Member
Registered: 2023-08-25
Posts: 4

Re: GLPI crashing because Inodes - Core/Cache

cedric-anne wrote:

Hi,

Usually, this problem occurs because one of the file in files/_cache is not writable by the webserver user.
To fix this, you can remove all the files/_cache subdirectories and ensure that the GLPI crontab and the GLPI console are not executed with a user that create files that cannot be updated then by the webserver user (e.g. do not execute the crontab or the console with the root user).

The files and _cache directory permission are for the webserver user only.

I don't have any crontabs that use the console.

Offline

Board footer

Powered by FluxBB