3 ms·
I was running GitLab on a VPS with specs close to the lower end of the recommended requirements and its performance would gradually slow down over the course of
by OSButler 11y ago
I was running GitLab on a VPS with specs close to the lower end of the recommended requirements and its performance would gradually slow down over the course of the day until pages seemed to never finish loading. Restarting gitlab got it responding properly again, but the whole process would repeat over and over again, so that it had to be restarted every couple of hours just to be able to use it.
I then switched providers, which also came with more system resources, and GitLab was working without any issues right away. It could have been caused by an oversold node at the previous host, or the slightly higher system specs at the new host made the difference, but I've been running GitLab on that new server for a couple of months now without experiencing those slowdowns again.
If you've noticed a gradual slowdown to the point of pages getting stuck on loading indefinitely, then try to up the system specs a bit, as it could make quite the difference.
- sytse 11y agoWhat can also help is running the Omnibus package that restarts processes that start using too much memory automatically.
- parfe 11y agoThe Ruby on rails solution to memory leaks probably shouldn't be the goto remedy.
- rgbrenner 11y agogitlab IS a ruby on rails app Why wouldn't a ruby on rails solution be right for a ruby on rails app?
- prawnsalad 11y agoIf the ruby on rails solution to memory leaks is to restart, then it's far better to actually get it fixed to not leak memory in the first place. Restarting is just ignoring the issue.
- sytse 11y agoPreventing memory leaks is better than restarting. Please participate in https://gitlab.com/gitlab-org/gitlab-ce/issues/3700 https://gitlab.com/gitlab-org/gitlab-ce/issues/3700 to help.
- jhgg 11y agoI've heard a lot of good things about gogs for for running self-hosted git repositories on low-spec servers.
- zemanel 11y agoI've ran Gogs on the RaspberryPi2 and it felt quite fast (didn't do any serious work on it though) edit: - fix typo - ps: i'm also looking forward to have some extra time to setup Gitlab on the Pi2 as well (either Docker preferably or https://about.gitlab.com/2015/04/21/gitlab-on-raspberry-pi-2/ https://about.gitlab.com/2015/04/21/gitlab-on-raspberry-pi-2...)