When I try to access SuttaCentral today, I get a blank screen (beneath the standard SuttaCentral header). When I pop open the developer’s tool bar, I see:
Perhaps it’s me, my browser, my side of the world. Just thought I’d mention it in case it impacts others. Thanks for all you do! The site is beyond awesome!
There is a group of MN suttas that are failing to load. I was trying to access MN 147 this morning and had to go back to MN 94 to find a sutta that loads.
Bhante @Sujato, I know that we can’t set up tests for every single sutta, but since the database is constantly having to be rebuilt as part of regular updating, could we invest time on setting up tests so HongDa isn’t having to race around putting out fires like this?
If delete all data directories each time when load data, then create a new data directory and load it, I guess this problem can be solved completely. I will load data in this way next time.
Automating the deployment would be a good idea. Instead of having several manual steps to get a new instance of SC up and running, you instead have a big green button that makes those steps happen.
Aspirationally, something like this:
There’s quite a bit of learning material out there:
I believe @HongDa has mentioned that the search queries often overload the DB, so even normal requests that hit the DB during those times error. Compounding this is the problem that the website (I believe) caches those error responses, so that even when the DB calms down, the site will continue to return the cached error until the server is restarted.
Now we occasionally receive information that the server’s CPU usage is too high. Currently, the highest CPU usage should be full-text search. The current server configuration is dual-core, 4GB memory. If the number of people using the search is slightly more, it will cause a high CPU usage problem.