Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
acf18448
G
gitlab-foss
项目概览
李少辉-开发者
/
gitlab-foss
通知
15
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
gitlab-foss
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
acf18448
编写于
12月 08, 2014
作者:
S
Sytse Sijbrandij
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'unicorn-advice' into 'master'
Unicorn advice See merge request !1314
上级
7d662114
f811b695
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
18 addition
and
8 deletion
+18
-8
config/unicorn.rb.example
config/unicorn.rb.example
+7
-7
doc/install/requirements.md
doc/install/requirements.md
+11
-1
未找到文件。
config/unicorn.rb.example
浏览文件 @
acf18448
...
@@ -13,9 +13,9 @@
...
@@ -13,9 +13,9 @@
#
#
# ENV['RAILS_RELATIVE_URL_ROOT'] = "/gitlab"
# ENV['RAILS_RELATIVE_URL_ROOT'] = "/gitlab"
#
Use at least one worker per core if you're on a dedicated server,
#
Read about unicorn workers here:
#
more will usually help for _short_ waits on databases/caches.
#
http://doc.gitlab.com/ee/install/requirements.html#unicorn-workers
#
The minimum is 2
#
worker_processes 2
worker_processes 2
# Since Unicorn is never exposed to outside clients, it does not need to
# Since Unicorn is never exposed to outside clients, it does not need to
...
@@ -37,10 +37,10 @@ listen "127.0.0.1:8080", :tcp_nopush => true
...
@@ -37,10 +37,10 @@ listen "127.0.0.1:8080", :tcp_nopush => true
# nuke workers after 30 seconds instead of 60 seconds (the default)
# nuke workers after 30 seconds instead of 60 seconds (the default)
#
#
# NOTICE: git push over http depends on this value.
# NOTICE: git push over http depends on this value.
# If you want be able to push huge amount of data to git repository over http
# If you want be able to push huge amount of data to git repository over http
# you will have to increase this value too.
# you will have to increase this value too.
#
#
# Example of output if you try to push 1GB repo to GitLab over http.
# Example of output if you try to push 1GB repo to GitLab over http.
# -> git push http://gitlab.... master
# -> git push http://gitlab.... master
#
#
...
...
doc/install/requirements.md
浏览文件 @
acf18448
...
@@ -88,10 +88,20 @@ Sidekiq processes the background jobs with a multithreaded process.
...
@@ -88,10 +88,20 @@ Sidekiq processes the background jobs with a multithreaded process.
This process starts with the entire Rails stack (200MB+) but it can grow over time due to memory leaks.
This process starts with the entire Rails stack (200MB+) but it can grow over time due to memory leaks.
On a very active server (10,000 active users) the Sidekiq process can use 1GB+ of memory.
On a very active server (10,000 active users) the Sidekiq process can use 1GB+ of memory.
## Unicorn Workers
It's possible to increase the amount of unicorn workers.
This will usually help for short waits on databases and caches.
For most instances we recommend using CPU cores + 1 unicorn workers.
For a machine with 2 cores, 3 unicorn workers is ideal.
For memory constrained instances, we recommend using a single unicorn worker.
## Supported web browsers
## Supported web browsers
-
Chrome (Latest stable version)
-
Chrome (Latest stable version)
-
Firefox (Latest released version and
[
latest ESR version
](
https://www.mozilla.org/en-US/firefox/organizations/
)
)
-
Firefox (Latest released version and
[
latest ESR version
](
https://www.mozilla.org/en-US/firefox/organizations/
)
)
-
Safari 7+ (known problem: required fields in html5 do not work)
-
Safari 7+ (known problem: required fields in html5 do not work)
-
Opera (Latest released version)
-
Opera (Latest released version)
-
IE 10+
-
IE 10+
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录