502 Bad Gateway When We Send Notification

Hi, When ever we send notification to our users, Server send 502 Bad Gateway, It may be due to high traffic at that time. It give 502 Bad Gateway for around 2-3 minutes after that it start behaving normally. I checked server log it shows :

2017/10/12 09:15:10 [error] 14061#14061: *34962277 connect() to unix:/var/run/php/php7.0-fpm.sock failed (11: Resource temporarily unavailable) while connecting to upstream, client:, server: topcoaching.in, request: "GET /api/….. HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.0-fpm.sock:", host: "topcoaching.in"

I have try to solve the problem but not get any success. It will be good for me if you can suggest any solution for this problem. I have also upgrade Linode but again it stop working when send notification to users.

0 Replies


Please enter an answer

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct