You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can't retry all failed jobs while using database driver. Having around 10k failed jobs and running php artisan queue:retry all fails with allowed memory size error.
php artisan queue:retry all
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 8192 bytes) in /var/www/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php on line 173
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32768 bytes) in /var/www/vendor/symfony/error-handler/Error/FatalError.php on line 1
Steps To Reproduce:
Use database queue driver
Generate around 10k failed jobs
Run php artisan queue:retry all
See error in console
Workaround for this is create custom command and using cursor for selecting failed jobs IDs and running php artisan queue:retry {id} for every failed jobs.
The text was updated successfully, but these errors were encountered:
Thanks for reporting but it looks like this is a question which can be asked on a support channel. Please only use this issue tracker for reporting bugs with the library itself. If you have a question on how to use functionality provided by this repo you can try one of the following channels:
Description:
Can't retry all failed jobs while using database driver. Having around 10k failed jobs and running
php artisan queue:retry all
fails with allowed memory size error.php artisan queue:retry all
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 8192 bytes) in /var/www/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php on line 173
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32768 bytes) in /var/www/vendor/symfony/error-handler/Error/FatalError.php on line 1
Steps To Reproduce:
Workaround for this is create custom command and using cursor for selecting failed jobs IDs and running
php artisan queue:retry {id}
for every failed jobs.The text was updated successfully, but these errors were encountered: