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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
ed7760b1
Commit
ed7760b1
authored
Dec 02, 2014
by
Sytse Sijbrandij
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add command to limit Postgres memory allocation, thanks Jacob.
parent
3b643bc8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
docker/troubleshooting.md
docker/troubleshooting.md
+4
-0
No files found.
docker/troubleshooting.md
View file @
ed7760b1
...
...
@@ -40,7 +40,11 @@ sudo docker run -ti -e TERM=linux --name gitlab --publish 8080:80 --publish 2222
# Configure GitLab to redirect PostgreSQL logs
echo
"postgresql['log_directory'] = '/var/log/gitlab/postgresql'"
>>
/etc/gitlab/gitlab.rb
# Prevent Postgres from allocating 25% of total memory
echo
"postgresql['shared_buffers'] = '100MB'"
>>
/etc/gitlab/gitlab.rb
# You can now start GitLab manually from Bash (in the background)
# Maybe the command below is still missing something to run in the background
gitlab-ctl reconfigure
>
/var/log/gitlab/reconfigure.log & /opt/gitlab/embedded/bin/runsvdir-start &
# And tail the logs (PostgreSQL log may not exist immediately)
...
...
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