Skip to content

Commit 7979588

Browse files
author
David Personette
committed
README.md add Troubleshooting for the memory usage
1 parent 326379f commit 7979588

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

README.md

+13-3
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,19 @@ logs.
128128
Add the `-p` option to the end of your options to the container, or set the
129129
`PERMISSIONS` environment variable.
130130

131-
sudo docker run -it --name samba -p 139:139 -p 445:445 \
132-
-v /path/to/directory:/mount \
133-
-d dperson/samba -p
131+
sudo docker run -it --name samba -p 139:139 -p 445:445 \
132+
-v /path/to/directory:/mount \
133+
-d dperson/samba -p
134+
135+
* High memory usage by samba. Multiple people have reported high memory usage
136+
that's never freed by the samba processes. Recommended work around below:
137+
138+
Add the `-m 512m` option to docker run command, or `mem_limit:` in
139+
docker_compose.yml files, IE:
140+
141+
sudo docker run -it --name samba -m 512m -p 139:139 -p 445:445 \
142+
-v /path/to/directory:/mount \
143+
-d dperson/samba -p
134144

135145
## Issues
136146

0 commit comments

Comments
 (0)