Update on the website errors (Patreon)
Content
Hi everyone,
Just wanted to give you a heads up on what's going on with the page. Since yesterday the server has been crashing with Error 500, which is an internal server error code.
The main culprit is the server hosting I'm using (Hostinger) has a cap on how many database connections can be made during one hour, currently is set at 500 and I don't seem to have a way to increase it. During my tests that problem did not present itself since I by myself I never got close to that cap, but with more users I've been hitting that limit.
I've done some changes on how the page connects to the database to use something called, persistent connections, which should in theory reuse connections instead of creating brand new ones on every page load. With that the last few hours it has been hitting the threshold much less but it's still hitting it.
What I've detected there are a few bugs that is causing some 'leaks' , basically hogging connections without returning them to the pool. I'm working on it and hopefully we should get to where we don't see that 500 message anymore.
Thank you all for your patience, and your help stressing the system.
I'll keep you all updated.
Cheers!
-Kurt