Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-04-01Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2022-03-09Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2021-07-20Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2021-07-20Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2021-05-26Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2021-02-04Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2021-02-03Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-08-19Clean Sidekiq metrics from multiproc dir on startAleksei Lipniagov
After moving the multiproc dir cleanup into `config.ru`:`warmup`, we stopped cleaning Sidekiq metrics dir which is not correct. This MR intended to fix that. More details: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/31668
2019-08-12Clean prometheus dir only for master processAleksei Lipniagov
2019-08-12Remove extra blank lineAleksei Lipniagov
2019-08-12Fix metric files being wiped after the app startsAleksei Lipniagov
When we hit our app with the initial request, in `warmup`, some metrics already being created as well as corresponding files. If we do `multiproc_file_dir` cleanup after that, we delete the files from the dir while keeping them in memory which leads to the incorrect behavior: the metric is being updated in in-memory, while is not present in the db, not sent to Prometheus as the result.
2019-04-05Bump rack gem to 2.0.7Stan Hu
This update has two important fixes: 1. It reverts the monkey patch introduced in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/23385 since https://github.com/rack/rack/pull/1201 is now part of the release. 2. Preserve forwarded IP address for trusted proxy chains (https://github.com/rack/rack/pull/1343).
2019-01-24Enable the Layout/ExtraSpacing copRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-11-28Add monkey patch to unicorn to fix eof? problemKamil Trzciński
Rack with Unicorn is unable to handle chunked requests due to private `eof?` method. This exposes `eof?` not changing `rack` behavior. Issue: https://gitlab.com/gitlab-org/gitlab-ee/issues/8539
2018-03-23Increase the memory limits used in the unicorn killerDJ Mountney
These limits were updated in our docs, and in omnibus some time ago. But the defaults in the source-install were missed.
2018-02-07Release the entire envLin Jen-Shin
2018-02-07Try not to hold env and release the controllerLin Jen-Shin
after the request. This way, we could release the project referred from the controller, which potentially referred a repository which potentially allocated a lot of memories. Before this change, we could hold the last request data and cannot release the memory. After this change, the largest request data should be able to be collected from GC. This might not impact the instances having heavy load, as the last request should be changing all the time, and GC won't kick in for each request anyway. However it could still potentially allow us to free more memories for each GC runs, because now we could free one more request anyway.
2017-12-28Warm up the app so it's fast for the 1st requestLin Jen-Shin
This would make the application considered ready much slower, but when it's ready, then it's really ready. Before this change, it claims to be ready, but it's annoyingly slow for the first request with GDK. It's 100% 502 for me, for the first request. This shouldn't really affect production or so, because if it's really ready, it should be blazingly fast, and it should not slow things down too much. The culprit here is probably `ActionController::Base.helpers.asset_path` but this could make sure that anything else would load first, too.
2017-06-16set ENV['prometheus_multiproc_dir'] in config/boot.rb instead of config.ruPawel Chojnacki
2017-06-02Move Prometheus presentation logic to PrometheusTextPawel Chojnacki
+ Use NullMetrics to mock metrics when unused + Use method_missing in NullMetrics mocking + Update prometheus gem to version that correctly uses transitive dependencies + Ensure correct folders are used in Multiprocess prometheus client tests. + rename Sessions controller's metric
2017-06-02Mark migration as requiring no downtimePawel Chojnacki
+ Add spaces for four phases approach + fix InfluxDB rename
2017-06-02Add Changelog fix textual description in config.ruPawel Chojnacki
2017-06-02Use only ENV for metrics folder locationPawel Chojnacki
2017-06-02Prometheus metrics first passPawel Chojnacki
metrics wip
2017-06-02Initial pass at prometheus monitoring.Kevin Lyda
This is a step for #29118. Add a single metric to count successful logins. Summary types are not supported so remove Collector. Either we need to support the summary type or we need to create a multiprocess-friendly Collector. Add config to load prometheus and set up the Collector and the Exporter. Fix `Gemfile` as current prometheus-client gemspec is missing the `mmap2` dependency.
2016-01-20Increase Unicorn memory limits to 300-350Yorick Peterse
Using this limit on GitLab.com it appears we're able to reduce response timings by about 620 milliseconds compared to the previous limit. See gitlab-org/gitlab-ce!2421 for more information.
2016-01-20Use env variables for Unicorn memory limitsYorick Peterse
This makes it easier for users to use their own limits based on their server configuration.
2015-05-28Disable Unicorn::WorkerKiller in non-production environmentsRobert Speicher
2014-01-23Check specifically for Unicorn in rack config.ru fileДамјан Георгиевски
Don't assume that if the Rack server is not Passenger then it must be Unicorn. There are many other Rack servers in the world (uwsgi being one example that people use a lot). The reverse check is much more logical, i.e. check explicitly for Unicorn
2013-12-22Fix 'uninitialized constant Unicorn' errordprolife
2013-12-20don't use unicorn worker killer if PhusionPassenger is definedJames Newton
2013-12-18Add unicorn-worker-killer with memory checkJacob Vosmaer
Conflicts: Gemfile.lock
2012-12-28added RAILS_RELATIVE_URL_ROOT supportChris Frohoff
2011-10-09init commitgitlabhq