Project

General

Profile

Actions

Bug #97731

open

DependencyInjectionContainer issues with shared storage on High Available setup

Added by Jeroen van Rossum almost 2 years ago. Updated over 1 year ago.

Status:
Needs Feedback
Priority:
Should have
Assignee:
-
Category:
Caching
Target version:
-
Start date:
2022-06-03
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.4
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.


Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Bug #100123: Regular exceptions due to dependency injection (di) cacheNew2023-03-09

Actions
Actions

Also available in: Atom PDF