Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
61d54bc1
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,发现更多精彩内容 >>
提交
61d54bc1
编写于
5月 27, 2019
作者:
R
Russell Dickenson
提交者:
Marcia Ramos
5月 27, 2019
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Edit account limit settings to comply with SSOT guidelines
上级
3625668b
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
28 addition
and
17 deletion
+28
-17
doc/user/admin_area/settings/account_and_limit_settings.md
doc/user/admin_area/settings/account_and_limit_settings.md
+28
-17
未找到文件。
doc/user/admin_area/settings/account_and_limit_settings.md
浏览文件 @
61d54bc1
---
type
:
reference
---
# Account and limit settings
## Repository size limit **[STARTER]**
> [Introduced][ee-740] in [GitLab Enterprise Edition 8.12][ee-8.12].
> [Introduced](https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/740) in [GitLab Enterprise Edition 8.12](https://about.gitlab.com/2016/09/22/gitlab-8-12-released/#limit-project-size-ee).
> Available in [GitLab Starter](https://about.gitlab.com/pricing/).
Repositories within your GitLab instance can grow quickly, especially if you are
using LFS. Their size can grow exponentially and eat up your storage device quite
fast.
using LFS. Their size can grow exponentially, rapidly consuming available storage.
In order to avoid this from happening, you can set a hard limit for your
repositories' size. This limit can be set globally, per group, or per project,
with per project limits
taking the highest priority.
To avoid this from happening, you can set a hard limit for your repositories' size.
This limit can be set globally, per group, or per project, with per project limits
taking the highest priority.
There are numerous
cases where you'll need to
set up a limit for repository size.
There are numerous
use cases where you might
set up a limit for repository size.
For instance, consider the following workflow:
1.
Your team develops apps which
demand
large files to be stored in
1.
Your team develops apps which
require
large files to be stored in
the application repository.
1.
Although you have enabled
[
Git LFS
](
../../../workflow/lfs/manage_large_binaries_with_git_lfs.
html
#git-lfs
)
1.
Although you have enabled
[
Git LFS
](
../../../workflow/lfs/manage_large_binaries_with_git_lfs.
md
#git-lfs
)
to your project, your storage has grown significantly.
1.
Before you
blow your storage limit up
, you set up a limit of 10 GB
1.
Before you
exceed available storage
, you set up a limit of 10 GB
per repository.
### How it works
...
...
@@ -42,12 +46,19 @@ subsequent push will be denied. LFS objects, however, can be checked on first
push and
**will**
be rejected if the sum of their sizes exceeds the maximum
allowed repository size.
For more manually purging the files, read the docs on
[
reducing the repository size using Git
][
repo-size
]
.
For details on manually purging files, see
[
reducing the repository size using Git
](
../../project/repository/reducing_the_repo_size_using_git.md
)
.
NOTE:
**Note:**
For GitLab.com, the repository size limit is 10 GB.
<!-- ## Troubleshooting
> **Note:**
> For GitLab.com, the repository size limit is 10 GB.
Include any troubleshooting steps that you can foresee. If you know beforehand what issues
one might have when setting this up, or when something is changed, or on upgrading, it's
important to describe those, too. Think of things that may go wrong and include them here.
This is important to minimize requests for support, and to avoid doc comments with
questions that you know someone might ask.
[
ee-740
]:
https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/740
[
repo-size
]:
../../project/repository/reducing_the_repo_size_using_git.md
[
ee-8.12
]:
https://about.gitlab.com/2016/09/22/gitlab-8-12-released/#limit-project-size-ee
Each scenario can be a third-level heading, e.g.
`### Getting error message X`
.
If you have none to add when creating a doc, leave this section in place
but commented out to help encourage others to add to it in the future. -->
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录