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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
f0de14f8
Commit
f0de14f8
authored
Nov 04, 2020
by
Ben Bodenmiller
Committed by
Bob Van Landuyt
Nov 04, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Cleaning up stale Redis sessions to Clean up page
parent
d6d6cd7c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
doc/administration/operations/cleaning_up_redis_sessions.md
doc/administration/operations/cleaning_up_redis_sessions.md
+1
-1
doc/raketasks/cleanup.md
doc/raketasks/cleanup.md
+4
-0
No files found.
doc/administration/operations/cleaning_up_redis_sessions.md
View file @
f0de14f8
...
...
@@ -34,7 +34,7 @@ rcli() {
# This example works for Omnibus installations of GitLab 7.3 or newer. For an
# installation from source you will have to change the socket path and the
# path to redis-cli.
sudo
/opt/gitlab/embedded/bin/redis-cli
-s
/var/opt/gitlab/redis/redis.s
hared_state.s
ocket
"
$@
"
sudo
/opt/gitlab/embedded/bin/redis-cli
-s
/var/opt/gitlab/redis/redis.socket
"
$@
"
}
# test the new shell function; the response should be PONG
...
...
doc/raketasks/cleanup.md
View file @
f0de14f8
...
...
@@ -201,6 +201,10 @@ sudo gitlab-rake gitlab:cleanup:sessions:active_sessions_lookup_keys
bundle
exec
rake gitlab:cleanup:sessions:active_sessions_lookup_keys
RAILS_ENV
=
production
```
## Cleaning up stale Redis sessions
[
Clean up stale sessions
](
../administration/operations/cleaning_up_redis_sessions.md
)
to compact the Redis database after you upgrade to GitLab 7.3.
## Container Registry garbage collection
Container Registry can use considerable amounts of disk space. To clear up
...
...
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