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

rohit_italiya's avatar

Queue worker stopped after 1 min execution In background process

[2024-01-30 06:41:01][13] Processing: App\Jobs\GenerateArticleJob

[2024-01-30 06:42:01][13] Failed: App\Jobs\GenerateArticleJob

Killed

any one help why its stopped.. after 60 seconds

0 likes
6 replies
shariff's avatar

You job is taking more than 60 seconds to execute. In server the job is getting stop after 60 seconds. You need to increase max_execution_time in server. Try to optimize the code so it can execute within 60 seconds for best practice.

rohit_italiya's avatar

I set max_execution_time 120, but stil its killed in 60 seconds everytime.

I am working locally and I have set the max_execution_time using

    ini_set('max_execution_time', 120);

Please or to participate in this conversation.