Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
61d54bc1
Commit
61d54bc1
authored
May 27, 2019
by
Russell Dickenson
Committed by
Marcia Ramos
May 27, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Edit account limit settings to comply with SSOT guidelines
parent
3625668b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
17 deletions
+28
-17
doc/user/admin_area/settings/account_and_limit_settings.md
doc/user/admin_area/settings/account_and_limit_settings.md
+28
-17
No files found.
doc/user/admin_area/settings/account_and_limit_settings.md
View file @
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. -->
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment