Project

General

Profile

Actions

Bug #82929

closed

sys_file_references filled with duplicate/multiple entries

Added by Sigfried Arnold about 7 years ago. Updated 9 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
DataHandler aka TCEmain
Target version:
-
Start date:
2017-11-06
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

On multiple TYPO3 instances running on TYPO3 8.7.8 (some of them were clean installed with different Versions of the TYPO3 8 branche since the release and now updated to the latest Version) we get multiple entries for the same file.

They are not shown in the backend but are visible in the database and are taken into account while pages are being generated -

SELECT pid, fieldname, COUNT(*) as count FROM sys_file_reference GROUP BY pid,fieldname order by count DESC;

The worst case i found so far looks like this:

50    image    214572
232    assets    352
9    assets    98
9    image    96
103    image    75
138    image    72
138    assets    70
94    assets    42
109    assets    41
235    assets    40

The result is, that the page generation for those pages takes ages (or till max_execution_time is reached in this example, where 200k images are present).

This issue also might be connected to #80804 since the blocked apache processes sometimes do not unlock the lockfiles properly and then apache gets jammed.

Currently i have not figured out yet, what causes the duplication.

Also i found an older TYPO3 7.6 Instance, which does the same.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #80804: Apache precesses overload because of typo3temp/locks/flock_Closed2017-04-11

Actions
Related to TYPO3 Core - Bug #87640: Keep language reference for associated l10n_mode=exclude childrenClosed2019-02-04

Actions
Actions

Also available in: Atom PDF