Skip to content

Commit

Permalink
README.md add Troubleshooting for the memory usage
Browse files Browse the repository at this point in the history
  • Loading branch information
David Personette committed Aug 17, 2019
1 parent 326379f commit 7979588
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,19 @@ logs.
Add the `-p` option to the end of your options to the container, or set the
`PERMISSIONS` environment variable.

sudo docker run -it --name samba -p 139:139 -p 445:445 \
-v /path/to/directory:/mount \
-d dperson/samba -p
sudo docker run -it --name samba -p 139:139 -p 445:445 \
-v /path/to/directory:/mount \
-d dperson/samba -p

* High memory usage by samba. Multiple people have reported high memory usage
that's never freed by the samba processes. Recommended work around below:

Add the `-m 512m` option to docker run command, or `mem_limit:` in
docker_compose.yml files, IE:

sudo docker run -it --name samba -m 512m -p 139:139 -p 445:445 \
-v /path/to/directory:/mount \
-d dperson/samba -p

## Issues

Expand Down

0 comments on commit 7979588

Please sign in to comment.