Spawned processes don't seem to clean themselves up

Created on 7 October 2022, about 2 years ago
Updated 26 May 2023, over 1 year ago

Problem/Motivation

After indexing has finished, running ps -ef | grep drush still shows lots of spawned processes. My laptop also sounds like it is still working hard, even though indexing has finished.

Steps to reproduce

Download the 2.1.0 branch and run the sapi-fast command.

Proposed resolution

Spawned processes should clean themselves up.

Remaining tasks

User interface changes

N/A

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

2.1

Component

Code

Created by

achap 🇦🇺

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇩🇰Denmark ressa Copenhagen

    I don't know if it's related, but the process fails randomly, ranging from 99% success (498/500) down to 58% (58/100).

    There are one of these in the log, for each missed indexing:

    search_api_db Warning
    
    SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction: INSERT INTO "search_api_db_default_index_node_grants" ("item_id", "value") VALUES
    (:db_insert_placeholder_0, :db_insert_placeholder_1); Array
    (
      [:db_insert_placeholder_0] => entity:node/96:en
      [:db_insert_placeholder_1] => node_access_all:0
    )

    I found a issue 🐛 Use READ COMMITTED by default for MySQL transactions Fixed , which seems to solve it ...

  • Status changed to Fixed over 1 year ago
  • 🇳🇱Netherlands batigolix Utrecht

    So I assume there is a workaround?

    I close this ticket then

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024