Skip to content

Commit

Permalink
fix: increase memory for blob spammer to prevent container from getti…
Browse files Browse the repository at this point in the history
…ng OOM killed (#431)

I'm constantly getting OOM on the `blob-spammer` container, as it's
regularly exceeding 300mb memory usage, and it usually only survives for
a few seconds.

Bumping the `MAX_MEMORY` up prevents this from happening.

Docker resource usage graph:

<img width="910" alt="image"
src="https://github.com/kurtosis-tech/ethereum-package/assets/742762/a7b1f8f2-55a4-4aa1-8c3c-d60113d036a6">
  • Loading branch information
jimmygchen committed Jan 3, 2024
1 parent b9fad7e commit 4d4fac0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/blob_spammer/blob_spammer.star
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ ENTRYPOINT_ARGS = ["/bin/sh", "-c"]
# The min/max CPU/memory that blob-spammer can use
MIN_CPU = 100
MAX_CPU = 1000
MIN_MEMORY = 20
MAX_MEMORY = 300
MIN_MEMORY = 256
MAX_MEMORY = 512


def launch_blob_spammer(
Expand Down

0 comments on commit 4d4fac0

Please sign in to comment.