forked from mirrors/nixpkgs
nixos/gitlab: Set MALLOC_ARENA_MAX to "2"
This should reduce memory fragmentation drastically and is recommended by both the Puma and the Sidekiq author. It's also the default value for Ruby deployments on Heroku.
This commit is contained in:
parent
306fc0648b
commit
6389170b39
|
@ -155,6 +155,7 @@ let
|
|||
GITLAB_REDIS_CONFIG_FILE = pkgs.writeText "redis.yml" (builtins.toJSON redisConfig);
|
||||
prometheus_multiproc_dir = "/run/gitlab";
|
||||
RAILS_ENV = "production";
|
||||
MALLOC_ARENA_MAX = "2";
|
||||
};
|
||||
|
||||
gitlab-rake = pkgs.stdenv.mkDerivation {
|
||||
|
|
Loading…
Reference in a new issue