Closed falsandtru closed 2 years ago
Hi, we use FDB Forum to discuss such questions: https://forums.foundationdb.org
I would appreciate if you could explain in the forum:
This is your official sample https://github.com/apple/foundationdb/tree/master/packaging/docker/samples/golang. So you can reproduce the problem. However, I fixed and updated it: https://github.com/apple/foundationdb/pull/5373.
I did run that sample on Ubuntu 20.04 and docker-compose 1.24.0.
Can you reproduce?
Official sample was down also when the config wasn't changed. However, its exit code was changed to 139.
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
dc31eb833ceb fdbgolangsample_app "/start.bash" 2 days ago Up 2 days 0.0.0.0:8080->8080/tcp fdbgolangsample_app_1
c66d8e61664a foundationdb/foundationdb:6.3.15 "/usr/bin/tini -g --…" 2 days ago Exited (139) 2 hours ago fdbgolangsample_fdb-server-1_1
82c77d4763af foundationdb/foundationdb:6.3.15 "/usr/bin/tini -g --…" 2 days ago Up 2 days fdbgolangsample_fdb-server-2_1
4e40a63f544f foundationdb/foundationdb:6.3.15 "/usr/bin/tini -g --…" 2 days ago Up 2 days 0.0.0.0:4500->4500/tcp fdbgolangsample_fdb-coordinator_1
Looks like Go and Python bindings don't increase memory usage with FDB 6.2, but they increase it with FDB 6.3. So the cause of the problem is probably FDB 6.3.
I believe this might be caused by the fact that the docker image for 6.3 does not create a logs
directory for the FDB trace events, and as a result the processes are buffering them up over time.
That means the immediate fix would be to update the docker image (see #5448), and an optional secondary one would be to limit how much FDB server is willing to buffer trace events.
All fixes are merged. The question is how do we publish the docker image for packaging/docker/release/Dockerfile
? @ammolitor , assign this to you for publishing the correct docker image.
Closing, we have produced multiple 6.3.x releases (and corresponding container images) since August 2021.
The following official sample goes down in 2 days. Looks like FDB or its binding has a bug. Can you fix the problem?
https://github.com/apple/foundationdb/tree/master/packaging/docker/samples/golang
I used the following official config that reduced a server.