Bug #46205

Cache file could not be written on concurrent actions

Added by Oliver Hader about 8 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Caching
Target version:
Start date:
2013-03-12
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.0
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

I get several errors like

The cache file "htdocs/typo3temp/Cache/Data/t3lib_l10n/3e2cbbda0301cf592e5831ef26c56b7b" could not be written.

This happens while a scheduler process is running that imports data using t3lib_TCEmain/DataHandler an I'm trying to work in the backend.
I consider this kind of a race condition that e.g. in this case language caches are flushed too often if a new record gets persisted in the DataHandler.

I can reproduce this on my local machine (Mac OS X) and a staging server with Ubuntu 12.04.


Related issues

Related to TYPO3 Core - Bug #33622: Filebackend reports error when trying to rename file due to concurrent processesNew2012-02-02

Actions
Related to TYPO3 Core - Bug #47912: Improvment of LanguageCacheClearerClosedGeorg Ringer2013-05-04

Actions
Related to TYPO3 Core - Bug #39122: Invalid chmod by default for folder typo3temp/Cache/Data/t3lib_l10n/Closed2012-07-20

Actions
Related to TYPO3 Core - Bug #64110: Cache file could not be writtenClosed2015-01-04

Actions
Has duplicate TYPO3 Core - Bug #44539: t3lib_cacheExceptions thrown when writing concurrently to dbClosed2013-01-15

Actions
#1

Updated by Ernesto Baschny about 8 years ago

  • Status changed from New to Needs Feedback

Olly, isn't that a permission problem where your Scheduler cronjob is running as a different user as your webserver?

#2

Updated by Oliver Hader about 8 years ago

  • Subject changed from Cache file could not be written on scheduler process to Cache file could not be written on concurrent actions
#3

Updated by Gerrit Code Review about 8 years ago

  • Status changed from Needs Feedback to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/19898

#4

Updated by Gerrit Code Review about 8 years ago

Patch set 1 for branch TYPO3_6-0 has been pushed to the review server.
It is available at https://review.typo3.org/19903

#5

Updated by Gerrit Code Review about 8 years ago

Patch set 1 for branch TYPO3_4-7 has been pushed to the review server.
It is available at https://review.typo3.org/19904

#6

Updated by Oliver Hader about 8 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#7

Updated by Gerrit Code Review about 8 years ago

  • Status changed from Resolved to Under Review

Patch set 2 for branch TYPO3_4-7 has been pushed to the review server.
It is available at https://review.typo3.org/19904

#8

Updated by Gerrit Code Review about 8 years ago

Patch set 3 for branch TYPO3_4-7 has been pushed to the review server.
It is available at https://review.typo3.org/19904

#9

Updated by Oliver Hader about 8 years ago

  • Status changed from Under Review to Resolved
#10

Updated by Riccardo De Contardi over 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF