Project

General

Profile

Actions

Bug #46205

closed

Cache file could not be written on concurrent actions

Added by Oliver Hader over 11 years ago. Updated about 7 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 5 (1 open4 closed)

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
Actions #1

Updated by Ernesto Baschny over 11 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?

Actions #2

Updated by Oliver Hader over 11 years ago

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

Updated by Gerrit Code Review over 11 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

Actions #4

Updated by Gerrit Code Review over 11 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

Actions #5

Updated by Gerrit Code Review over 11 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

Actions #6

Updated by Oliver Hader over 11 years ago

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

Updated by Gerrit Code Review over 11 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

Actions #8

Updated by Gerrit Code Review over 11 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

Actions #9

Updated by Oliver Hader over 11 years ago

  • Status changed from Under Review to Resolved
Actions #10

Updated by Riccardo De Contardi about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF