Bug #33622

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

Added by Peter Russ over 8 years ago. Updated about 5 years ago.

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


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 View (9.34 KB) Peter Russ, 2012-02-02 14:31

Related issues

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


#1 Updated by Peter Russ over 8 years ago

  • File 33622.patch View added
  • Target version set to 4.5.12
  • % Done changed from 0 to 80

#2 Updated by Marc Bastian Heinrichs over 7 years ago

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

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

#3 Updated by Max Roesch over 7 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.

#4 Updated by Oliver Hader over 7 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

#5 Updated by Mathias Schreiber almost 6 years ago

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

#6 Updated by Benni Mack over 5 years ago

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

#7 Updated by Susanne Moog about 5 years ago

  • Target version changed from 7.4 (Backend) to 7.5

#8 Updated by Benni Mack about 5 years ago

  • Target version changed from 7.5 to 7 LTS

#9 Updated by Mathias Schreiber about 5 years ago

  • Target version deleted (7 LTS)

Also available in: Atom PDF