-
-
Notifications
You must be signed in to change notification settings - Fork 335
Description
Trying to debug a small percentage of messages not being sent...
I'm noticing a lot of the following error in the logs for my "worker" container:
PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 335872 bytes) in /var/www/html/vendor/doctrine/dbal/src/Driver/PDO/Statement.php on line 130
Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 335872 bytes) in /var/www/html/vendor/doctrine/dbal/src/Driver/PDO/Statement.php on line 130
In Statement.php line 130:
Error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 335872 bytes)
messenger:consume [-l|--limit LIMIT] [-f|--failure-limit FAILURE-LIMIT] [-m|--memory-limit MEMORY-LIMIT] [-t|--time-limit TIME-LIMIT] [--sleep SLEEP] [-b|--bus BUS] [--queues QUEUES] [--no-reset] [--] [...]
2025-05-01 13:43:01,720 WARN exited: messenger-consume-email_00 (exit status 255; not expected)
2025-05-01 13:43:02,747 INFO spawned: 'messenger-consume-email_00' with pid 332
Should the default supervisor command line use the --memory-limit option to prevent this?