Gitlab Docker troubleshoot

some other command top, htop 

Limit Docker Container Resources Since GitLab is using almost 60% of available memory, you can consider further limiting memory allocation to prevent it from using too much. You could set a hard limit slightly below 7.745 GiB:

bash
docker update --memory=6g --memory-swap=6g gitlab-web-1

top -o %MEM


  • sudo docker stats gitlab-web-1



  • Sync the file system to ensure all data is written to disk (optional but recommended before clearing cache):

    bash
    sudo sync
  • Clear PageCache only:

    bash
    sudo sysctl -w vm.drop_caches=1
  • Comments

    Popular posts from this blog

    Moodle Backup and Restore in Docker

    Custom Domain to GitHub Pages (Hostinger Edition)

    Resizing partition in AWS