The discussion revolves around the “too many requests error” message displayed on a Discourse forum. Garrick initially encountered this issue and was informed by codinghorror that it’s a temporary measure to reduce load when a page is being accessed by many users. However, alehandrof pointed out that their private forum, with only a few hundred users, shouldn’t be experiencing this issue due to high traffic. sam suggested that the server might be overloaded and recommended increasing resources. Further investigation by alehandrof revealed two recent spikes of activity, which pfaffman attributed to backups. The discussion then shifted to checking and potentially increasing swap space, with pfaffman advising to resize the droplet to a 2GB plan on Digital Ocean, which would provide more resources to prevent the issue.
“Due to extreme load, this is temporarily being shown to everyone as a logged out user would see it.”
Whats the fix for this? Im using digital ocean on a 4gb memory, 80gb disk plan.
I refreshed page once and got the warning that the page was being viewed as a logged out user would see. I refreshed the page again and it went away. I dont want issues with it later if its something I can fix now.
This means that page (usually a topic) was getting clobbered by a lot of users, so it switched into high performance anonymous mode for a bit to reduce load.
I’ve been experiencing this recently as well. Our forum is private (you have to be logged in to see any of it) so that “getting clobbered by a lot of users” is not a plausible scenario. We only have a few hundred users in total, and only a fraction of that would visit the site on a daily basis. How else can I troubleshoot this?
Good thinking! We do have 1 GB of ram. I installed this forum in 2016, using whatever was the recommended method and settings at the time. How can I check if there’s swap?
Edit: I just checked with free and it looks like I have a 2 GB swap file. I thought this was something Discourse-specific, which why asked how to check for it.