- π¦πΊAustralia mstrelan
Is this still applicable? If so, please provide clear steps to reproduce. I don't think it's related to system.module, the queue system is in
core/lib/Drupal/Queue
. I couldn't find a "queue system" component so I guess base system will have to do. - π¨π¦Canada Charlie ChX Negyesi πCanada
There's nothing to do. While leaking memory in long running PHP processes is, alas, all too frequent there is no need to be long running, the queue is perfectly fine to run one process for each item -- possible even in an parallel.
- π¦πΊAustralia mstrelan
Probably something like Symfony Messenger + Drupal: Realtime Queues and Cron β is better for this anyway.
- πͺπΈSpain fjgarlin
You can have the queue job running every 10 minutes (for example) and use the
--time-limit=590
parameter for a new clean run. That way the queue will be continuously running but should not take too much memory. Change 10 minutes for whatever your memory threshold / time is.