0

The process /usr/local/bin/php artisan queue:work exceeded the timeout of 60 seconds

# php artisan queue:listen database

when i run this command the data is fetched in Database but it stopped with the following error.....

[SymfonyComponentProcessExceptionProcessTimedOutException]

The process " ' /usr/local/bin/php' ' artisan' queue:work ' database' --once --queue=' default' --delay=0 --memory=128 --sleep=3 --tries=0 --env=' local' " exceeded the timeout of 60 seconds.

Php Laravel Add a comment
liam
asked Jan 31 2017

Answer

0

check the maxexecutiontime in php.ini file and increase as required

Add a comment
karthikeyankarthi
asked Jan 30 2017
edited Oct 05 2018
Post your Answer
0

Instead of changing in php.ini file, run the command as follows,

#php artisan queue:listen database --timeout=0

when timeout parameter is set as 0, it wont stop...!!!

Add a comment
jagan
asked Jan 30 2017
edited Oct 05 2018
Post your Answer
0

At first there is 60 secs but after i have changed it to 360 secs, the same error exists........

Add a comment
liam
asked Jan 30 2017
edited Oct 05 2018
Post your Answer
0

Now working fine...thanku

Add a comment
liam
asked Jan 30 2017
edited Oct 05 2018
Post your Answer
0

When I modified the initial value from 60 seconds to 360 seconds, the issue persisted. Bitlife

Add a comment
kelseyradley
asked Aug 23 2023
edited Aug 24 2023
Post your Answer