The site works normal, sometimes podlagivaet.
When adding reviews, news can give out nginx 404 error. The second time everything runs smoothly. 502 error did not occur.
On the website 1,000 people.
What could it be? In what direction to dig? "To many connections" mysql does not issue.