README.md add Troubleshooting for the memory usage

This commit is contained in:
David Personette 2019-08-17 07:56:19 -04:00
parent 326379fbc4
commit 79795881a4

View File

@ -132,6 +132,16 @@ sudo docker run -it --name samba -p 139:139 -p 445:445 \
-v /path/to/directory:/mount \ -v /path/to/directory:/mount \
-d dperson/samba -p -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 ## Issues
If you have any problems with or questions about this image, please contact me If you have any problems with or questions about this image, please contact me