We were trying to go live with our wordpress website and it was all fine for 8 hours initially after going live. Then we had a traffic of 1800 simultaneous users and the website started showing Database connection error. The website was hosted in Cloud server with 16 GB RAM. When we contacted the hosting team they said it maybe due to max_concurrent_users set at 60. We have now moved to VPS server and set max_concurrent_users to 2000 but when we do load testing again the website is showing the same error of Database connection error.
We feel the wordpress is opening up a connection and then not closing it before the page request is complete. This leaves the connection open which in turn causes load issues. Can anybody here advise if you have faced this and how did you overcome this with a solution?
- You must be logged in to reply to this topic.