This repository was archived by the owner on May 14, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 594
This repository was archived by the owner on May 14, 2025. It is now read-only.
Skipper container runs out of memory #3107
Copy link
Copy link
Closed
Description
Description:
I'm trying to build the following streams:
STREAM_2=:messages > filter --expression="#jsonPath(payload, '$.id')==1" | rabbit --queues=id_1 --host=rabbitmq --routing-key=id_1 --exchange=ex_1 --own-connection=true
STREAM_3=:messages > filter --expression="#jsonPath(payload, '$.id')==2" | rabbit --queues=id_2 --host=rabbitmq --routing-key=id_2 --exchange=ex_1
STREAM_4=:messages > filter --expression="#jsonPath(payload, '$.id')==3" | rabbit --queues=id_3 --host=rabbitmq --routing-key=id_3 --exchange=ex_1
STREAM_1=rabbit --queues=hello_queue --host=rabbitmq > :messages
When I deploy, it takes a couple of minutes until the skipper container reaches the max memory usage, and finally fails on random streams (and sometimes kills the container).
docker stats:
CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS
9a0e3ff0beb8 dataflow-server 0.18% 1.293GiB / 11.71GiB 11.04% 573kB / 183kB 92.1MB / 279kB 49
2a448b3583a3 scdf_kafka_1 7.00% 291.6MiB / 11.71GiB 2.43% 4.65MB / 3.64MB 40.4MB / 36.9kB 73
eb9a70ce2a0e scdf_rabbitmq_1 2.15% 94.21MiB / 11.71GiB 0.79% 172kB / 92.5kB 41.7MB / 139kB 128
06dd2d6a1501 scdf_zookeeper_1 0.16% 81.72MiB / 11.71GiB 0.68% 77.8kB / 99.2kB 36.7MB / 45.1kB 25
1f1b782ad66d skipper 8.64% 6.55GiB / 11.71GiB 55.93% 3.63MB / 4.73MB 213MB / 0B 324
The workaround, for now, is increasing the Docker memory. I'm wondering if it's normal for the Skipper container to consume this amount of memory.
Release versions:
DATAFLOW_VERSION=2.0.1.RELEASE
SKIPPER_VERSION=2.0.0.RELEASE
Steps to reproduce:
Run the stream provided in the description.
Link for SO question: https://stackoverflow.com/questions/55371129/streams-deploying-stuck-and-then-fails-with-no-errors-in-the-logs
Metadata
Metadata
Assignees
Labels
No labels