Level 61
Check your code cause those restrictions might override server settings.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I need to create an mp4 file on a remote server on the customer's request. This process typically takes 40-45 minutes. I created a job that SSH on a remote server and runs multiple commands in order to create an mp4 file. I am using Laravel Forge to deploy the application. In queue setting - I set the Timeout value to 0, which means ideally job should not give timeout error.
However, I am getting error like:
[2020-05-24 11:34:20] production.ERROR: App\Jobs\MP4Recorder has been attempted too many times or run too long. The job may have previously timed out. {"exception":"[object] (Illuminate\Queue\MaxAttemptsExceededException(code: 0): App\Jobs\MP4Recorder has been attempted too many times or run too long. The job may have previously timed out. at /home/forge/<APP_NAME>/vendor/laravel/framework/src/Illuminate/Queue/Worker.php:647)
Please or to participate in this conversation.