Issue Bug New Orphaned

#92399Scheduler tasks are executed in the same php process

Rémy DANIEL 09/24/20, 16:41 updated 10/07/20, 20:55

Description

Hi.

The new scheduler:run command runs tasks in a loop.
This can be an issue, because a single php process runs several tasks and those tasks share the same memory.

Example :
I have an issue with Solr indexing tasks: a site A is indexed and loads singletons (Extbase’s configuration manager), then the site B gets the configuration manager of the site A! (both sites are on the same TYPO3 instance).

I attached a patch which modifies the scheduler command in order to execute task in subprocesses.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

Fix this issue

Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch

Commit message
[BUGFIX] Scheduler tasks are executed in the same php process Resolves: #92399 Releases: main