Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #9499

Closed
Open
Created Jul 28, 2015 by Administrator@rootOwner

Kernel Ressource update needed

Created by: thorian93

On my VPS running Ubuntu 14.04 LTS 64bit I had issues getting GitLab CE Omnibus to work. I followed the instructions for my OS on https://about.gitlab.com/downloads/ and made the necessary changes for GitLab to work with Apache2. That far: No noticeable problems. But when I tried to do a gitlab-ctl reconfigure I was not able to get the built-in postgresql server running. After days of research and no helpful content online I identified two kernel parameters as the villains: kernel.shmmax and kernel.shmall. As far as I can tell the problem is the following: The correct values for GitLab to work are set in /etc/sysctl.d/90-postgresql.conf but without a reboot the old values stay active. In my case my server provider had too small default values. Maybe it is possible to have gitlab-ctl reconfigure update the kernel parameters with:

sysctl -w kernel.shmall=123456 sysctl -w kernel.shmmax=123456

This is my first issue so if I am missing important information or if I said too much please let me know.

Assignee
Assign to
Time tracking