Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

farshadf's avatar

laravel excel queue freezes on processing on heavy exports

i have an export on laravel excel package that is using queue like below :

        (new OrderReportExport($request->all()))->queue($path);

now when i do php artisan queue:work and sends a request of for example 4k orders to be exported this is the result i see in my console :

[2022-01-23 17:46:12][wabZgRv5s07TwO31JljFGyswGd3g3Hck] Processing: Maatwebsite\Excel\Jobs\AppendQueryToSheet
[2022-01-23 17:46:13][wabZgRv5s07TwO31JljFGyswGd3g3Hck] Processing: Maatwebsite\Excel\Jobs\AppendQueryToSheet
[2022-01-23 17:46:14][wabZgRv5s07TwO31JljFGyswGd3g3Hck] Processing: Maatwebsite\Excel\Jobs\AppendQueryToSheet
[2022-01-23 17:46:15][wabZgRv5s07TwO31JljFGyswGd3g3Hck] Processing: Maatwebsite\Excel\Jobs\AppendQueryToSheet
[2022-01-23 17:46:15][wabZgRv5s07TwO31JljFGyswGd3g3Hck] Processing: Maatwebsite\Excel\Jobs\AppendQueryToSheet
[2022-01-23 17:46:16][wabZgRv5s07TwO31JljFGyswGd3g3Hck] Processing: Maatwebsite\Excel\Jobs\AppendQueryToSheet
[2022-01-23 17:46:17][wabZgRv5s07TwO31JljFGyswGd3g3Hck] Processing: Maatwebsite\Excel\Jobs\AppendQueryToSheet

it freezes on processing and dont changes to processed and its not making the file .

for QUEUE_CONNECTION i am using the redis .

0 likes
1 reply

Please or to participate in this conversation.