Memory Usage
-
Hi Gitea users. How much memory do you guys usually allocate to your instances? At 512MB and sometimes even at 1GB of RAM I will randomly get OOM alerts for the app when nobody is using it. Unsure if it just has high usage with certain scheduled tasks or if its a memory leak but just wanted to see what other people's experience with this was like.
-
@atrilahiji I still use Gogs and had the same issue some time ago. From my logs, I found that it was mostly due to search engines going through each and every blob in every repo. For this, app configure -> Security -> robots.txt (click disable indexing). After that, I found that despite disabling bots, some bots like https://ahrefs.com/robot indexed it anyway. For this, I blacklisted their IPs from my firewall Atleast for ahref, the list of IP is here - https://help.ahrefs.com/en/articles/78658-what-is-the-list-of-your-ip-ranges