Commit f0de14f8 authored by Ben Bodenmiller's avatar Ben Bodenmiller Committed by Bob Van Landuyt

Add Cleaning up stale Redis sessions to Clean up page

parent d6d6cd7c
...@@ -34,7 +34,7 @@ rcli() { ...@@ -34,7 +34,7 @@ rcli() {
# This example works for Omnibus installations of GitLab 7.3 or newer. For an # 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 # installation from source you will have to change the socket path and the
# path to redis-cli. # path to redis-cli.
sudo /opt/gitlab/embedded/bin/redis-cli -s /var/opt/gitlab/redis/redis.shared_state.socket "$@" sudo /opt/gitlab/embedded/bin/redis-cli -s /var/opt/gitlab/redis/redis.socket "$@"
} }
# test the new shell function; the response should be PONG # test the new shell function; the response should be PONG
......
...@@ -201,6 +201,10 @@ sudo gitlab-rake gitlab:cleanup:sessions:active_sessions_lookup_keys ...@@ -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 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 garbage collection
Container Registry can use considerable amounts of disk space. To clear up Container Registry can use considerable amounts of disk space. To clear up
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment