Get owner / username of php process
To find out which user is running the php process on your website put the…
You run a task and Nginx throws the following error:
This can be truly annoying and at times difficult to pinpoint.
To fix this error, create a new file called limits.conf at the location /etc/nginx/conf.d and copy the following lines of code into it. This is assuming that conf.d is set to be included in nginx.conf.
This effectively takes these limits up to 5 minutes. Restart Nginx and run your task again to see if it throws the error again
If you still get a timeout error then try doubling the values above and tweak them until you get it right.