Laravel Jobs wait forever
Posted: 21 Jul 2021, 17:57
Hi Aimeos, I have an issue when run this artisan jobs:
php artisan aimeos:jobs "order/email/payment customer/email/account"
Executing Aimeos jobs "order/email/payment" for "default"
Executing Aimeos jobs "customer/email/account" for "default"
But then it "waits" forever until I press Ctrl+C
The problem is that it creates 3 processes:
gncecuco 3548261 5.7 0.0 527400 42288 pts/17 Sl+ 10:53 0:00 /opt/cpanel/ea-php72/root/usr/bin/php artisan aimeos:jobs order/email/payment cus
gncecuco 3548271 0.2 0.0 341124 20892 pts/17 SN+ 10:53 0:00 /opt/cpanel/ea-php72/root/usr/bin/php artisan aimeos:jobs order/email/payment cus
gncecuco 3548272 0.0 0.0 341128 19900 pts/17 SN+ 10:53 0:00 /opt/cpanel/ea-php72/root/usr/bin/php artisan aimeos:jobs order/email/payment cus
If I run the command in a cron every 2 minutes, the processes overload the server and crash the application.
Laravel 7.4
AIMEOS 2020.4
Linux on shared server with cpanel.
Thanks in advance.
php artisan aimeos:jobs "order/email/payment customer/email/account"
Executing Aimeos jobs "order/email/payment" for "default"
Executing Aimeos jobs "customer/email/account" for "default"
But then it "waits" forever until I press Ctrl+C
The problem is that it creates 3 processes:
gncecuco 3548261 5.7 0.0 527400 42288 pts/17 Sl+ 10:53 0:00 /opt/cpanel/ea-php72/root/usr/bin/php artisan aimeos:jobs order/email/payment cus
gncecuco 3548271 0.2 0.0 341124 20892 pts/17 SN+ 10:53 0:00 /opt/cpanel/ea-php72/root/usr/bin/php artisan aimeos:jobs order/email/payment cus
gncecuco 3548272 0.0 0.0 341128 19900 pts/17 SN+ 10:53 0:00 /opt/cpanel/ea-php72/root/usr/bin/php artisan aimeos:jobs order/email/payment cus
If I run the command in a cron every 2 minutes, the processes overload the server and crash the application.
Laravel 7.4
AIMEOS 2020.4
Linux on shared server with cpanel.
Thanks in advance.