diff options
author | Stan Hu <stanhu@gmail.com> | 2018-11-17 23:13:00 -0800 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-11-18 00:46:27 -0800 |
commit | d991ea6dddaa1ffaab5c9205bdfdc730c24b09b3 (patch) | |
tree | f81501a93890069610eb1f2ebee526ca2962e76d /Gemfile.rails4.lock | |
parent | 29d8179ba07be3ed111f939285eb4064d84cb7df (diff) | |
download | gitlab-ce-d991ea6dddaa1ffaab5c9205bdfdc730c24b09b3.tar.gz |
Improve memory performance by reducing dirty pages after fork()sh-use-nakayoshi-fork
The nakayoshi_fork gem works around the lack of a Ruby compacting
garbage collecting by calling GC.start a few times to "promote" the age
of young objects to the maximum age 3. This reduces the number of dirty
pages and consequently improves copy-on-write behavior with unicorn
and other forking Web application servers.
Diffstat (limited to 'Gemfile.rails4.lock')
-rw-r--r-- | Gemfile.rails4.lock | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Gemfile.rails4.lock b/Gemfile.rails4.lock index fea3102b8d6..8ca5f114af8 100644 --- a/Gemfile.rails4.lock +++ b/Gemfile.rails4.lock @@ -467,6 +467,7 @@ GEM mustermann-grape (1.0.0) mustermann (~> 1.0.0) mysql2 (0.4.10) + nakayoshi_fork (0.0.4) net-ldap (0.16.0) net-ssh (5.0.1) netrc (0.11.0) @@ -1042,6 +1043,7 @@ DEPENDENCIES mini_magick minitest (~> 5.7.0) mysql2 (~> 0.4.10) + nakayoshi_fork (~> 0.0.4) net-ldap net-ssh (~> 5.0) nokogiri (~> 1.8.2) |