Project

General

Profile

Actions

Bug #81070

closed

Update extension list in EM causes 100% CPU load for very long time

Added by Jan Kornblum almost 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Extension Manager
Target version:
-
Start date:
2017-04-28
Due date:
% Done:

0%

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

Description

After clearing all rows from tx_extensionmanager_domain_model_extension, retrieving the extension list causes 100% CPU load for many minutes.

Server: Ubuntu 16.04 LTS
PHP: 7.0.15
MySQL: 5.7.18 (5.7.18-0ubuntu0.16.04.1 for Linux on x86_64version)
TYPO3: 7.6.18


mysql> show full processlist\G
  • 1. row *******************
    Id: 30
    User: root
    Host: localhost
    db: NULL
    Command: Sleep
    Time: 928
    State:
    Info: NULL
  • 2. row *******************
    Id: 35
    User: root
    Host: localhost
    db: NULL
    Command: Query
    Time: 0
    State: starting
    Info: show full processlist
  • 3. row *******************
    Id: 42
    User: typo3
    Host: localhost:45972
    db: typo3
    Command: Query
    Time: 527
    State: Sending data
    Info: SELECT a.uid AS uid FROM tx_extensionmanager_domain_model_extension a LEFT JOIN tx_extensionmanager_domain_model_extension b ON a.repository = b.repository AND a.extension_key = b.extension_key AND a.integer_version < b.integer_version WHERE a.repository = 1 AND b.extension_key IS NULL ORDER BY a.uid

Perhaps this is related to this MySQL bug:

High CPU usage issue/stuck queries with 5.7.6-m16
https://bugs.mysql.com/bug.php?id=76402


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #81097: Extension Manager uses a query on a column that is not indexedClosed2017-05-01

Actions
Actions #1

Updated by Jan Kornblum almost 7 years ago

Actions #2

Updated by Mona Muzaffar almost 7 years ago

  • Related to Bug #81097: Extension Manager uses a query on a column that is not indexed added
Actions #3

Updated by Mona Muzaffar almost 7 years ago

  • Related to deleted (Bug #81097: Extension Manager uses a query on a column that is not indexed)
Actions #4

Updated by Mona Muzaffar almost 7 years ago

  • Is duplicate of Bug #81097: Extension Manager uses a query on a column that is not indexed added
Actions #5

Updated by Mona Muzaffar almost 7 years ago

  • Status changed from New to Closed

Closing this ticket in favor of #81097.
They both deal with the same issue but #81097 has a patchset attached to it.
Please continue your discussion over there.

If you think that this is the wrong decision or experience this issue again, then please reopen this ticket or open a new ticket and add a relation to this ticket number.

Actions

Also available in: Atom PDF