Issue Bug Closed

#97731DependencyInjectionContainer issues with shared storage on High Available setup

Jeroen van Rossum 06/03/22, 10:15 updated 07/05/24, 10:27

Description

Hi There,

For a few customers we run TYPO3 on a High Available setup with multiple webservers and a single database.

All the caches and static contents (fileadmin, uploads) are stored on a network share (NFS) that all webservers can access.

Some requests will cause the following 500 error:

FastCGI sent in stderr: "PHP message: PHP Fatal error:  require_once(): Failed opening required '/mnt/nfs/web/myuser/shared/var/cache/code/di/DependencyInjectionContainer_5cbe220783b1147afc206ff59cc1318dad117973.php' (include_path='.:/usr/share/php') in /data/home/myuser/sites/myuser/builds/latest/public/typo3/sysext/core/Classes/Cache/Backend/SimpleFileBackend.php on line 362

We already store almost all caches in Redis, but somehow the “DependencyInjectionContainer” caches cannot be stored in Redis.

We have these issues on multiple different environments.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.