Bug #33622

Filebackend reports error when trying to rename file due to concurrent processes

Added by Peter Russ over 9 years ago. Updated almost 6 years ago.

Must have
Target version:
Start date:
Due date:
% Done:


Estimated time:
TYPO3 Version:
PHP Version:
Is Regression:
Sprint Focus:


Due to concurrent processes it happens that a temp-cache-file gets renamed while an other process is just writing it.
Further there is an error in the error handling.

We fixed both.
  1. added an exclusive lock for the writing operation
  2. added counters for a break to avoid an endless loop due to file system errors
  3. added timers for getting the process to sleep
  4. fixed error handling

As this is the same in FLOW3 I also reported the bug and fixes there.
see http://forge.typo3.org/issues/33621

Please find TYPO3 specific fixes attached.


33622.patch (9.34 KB) 33622.patch Peter Russ, 2012-02-02 14:31

Related issues

Related to TYPO3 Core - Bug #46205: Cache file could not be written on concurrent actionsClosed2013-03-12


Updated by Peter Russ over 9 years ago


Updated by Marc Bastian Heinrichs over 8 years ago

Exception timestamp is 1222361632, right?. Had this already on different systems, too.

Peter, you uploaded the wrong patchfile, aren't you?


Updated by Max Roesch over 8 years ago

Just stumpling upon this on a TYPO3 6.0.4 installation at Hosteurope.

Core has the patch from FLOW3 but nevertheless I am running in the same error.


Updated by Oliver Hader over 8 years ago

The cache file ".../t3lib_l10n/3e2cbbda0301cf592e5831ef26c56b7b" could not be written.
This issue has been solved on concurrent editing actions in the backend for 4.7, 6.0 and 6.1 in issue #46205
However, that does not solve the original issue in the FileBackend that probably needs to be solved by locking mechanisms


Updated by Mathias Schreiber over 6 years ago

  • Target version changed from 4.5.12 to 7.3 (Packages)
  • Is Regression set to No

Updated by Benni Mack about 6 years ago

  • Target version changed from 7.3 (Packages) to 7.4 (Backend)

Updated by Susanne Moog almost 6 years ago

  • Target version changed from 7.4 (Backend) to 7.5

Updated by Benni Mack almost 6 years ago

  • Target version changed from 7.5 to 7 LTS

Updated by Mathias Schreiber almost 6 years ago

  • Target version deleted (7 LTS)

Also available in: Atom PDF