Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Laravel worker terminated by SIGKILL not expected

I am running worker with Supervisor on Laravel to run queued jobs where the job will be calling API & storing result into MongoDB. When I run the job, the worker will be killed after 6-7 API calls with only the error of terminated by SIGKILL; not expected. No other log is available. Anyone fixes this issue before?

like image 382
Gabsys Avatar asked Dec 06 '25 16:12

Gabsys


1 Answers

Turns out it was due to the default --timeout setting for laravel queue. Because I didn't specify a time, it is automatically killed after 1 minute. Specifying a longer duration solved the issue.

like image 89
Gabsys Avatar answered Dec 08 '25 08:12

Gabsys



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!