Giter Club home page Giter Club logo

Comments (5)

frankjkelly avatar frankjkelly commented on August 21, 2024 1

@whummer sounds good - please feel free to close - thanks!

from helm-charts.

frankjkelly avatar frankjkelly commented on August 21, 2024

Odd - when I remove

      resources:
        limits:
          memory: 128Mi
        requests:
          cpu: 100m
          memory: 128Mi

things start fine

2022-09-26T19:35:16.063  INFO --- [  MainThread] localstack.utils.bootstrap : Execution of "prepare_installation" took 626.57ms
2022-09-26T19:35:20.115  WARN --- [  Thread-112] hypercorn.error            : ASGI Framework Lifespan error, continuing without Lifespan support
2022-09-26T19:35:20.115  WARN --- [  Thread-112] hypercorn.error            : ASGI Framework Lifespan error, continuing without Lifespan support
2022-09-26T19:35:20.163  INFO --- [  Thread-112] hypercorn.error            : Running on https://0.0.0.0:4566 (CTRL + C to quit)
2022-09-26T19:35:20.163  INFO --- [  Thread-112] hypercorn.error            : Running on https://0.0.0.0:4566 (CTRL + C to quit)
2022-09-26T19:35:20.348  INFO --- [  MainThread] localstack.utils.bootstrap : Execution of "start_runtime_components" took 4284.39ms
Waiting for all LocalStack services to be ready
Ready.
/usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initaws.d/localstack-init-scripts-config.sh
2022-09-26T19:35:37.514  INFO --- [  Thread-120] l.services.motoserver      : starting moto server on http://0.0.0.0:49657
2022-09-26T19:35:37.541  INFO --- [   asgi_gw_1] localstack.services.infra  : Starting mock S3 service on http port 4566 ...
2022-09-26T19:35:39.073  INFO --- [   asgi_gw_1] localstack.utils.bootstrap : Execution of "require" took 1720.91ms
2022-09-26T19:35:39.275  INFO --- [   asgi_gw_1] localstack.request.aws     : AWS s3.CreateBucket => 200
make_bucket: testbucket
2022-09-26T19:35:41.204  INFO --- [   asgi_gw_1] localstack.request.aws     : AWS s3.PutObject => 200

from helm-charts.

frankjkelly avatar frankjkelly commented on August 21, 2024

When I increase memory to 256Mi it also works - does the command for awslocal require > 128Mb?

from helm-charts.

whummer avatar whummer commented on August 21, 2024

Thanks for reporting @frankjkelly . Glad you were able to get it working. 👍 Depending on which commands are run and which services are started, potentially the process(es) running in the LocalStack container could take up more than 128MB. Also, seeing a PutObject call in the tests - as S3 objects are partially kept in memory, this might increase the memory consumption as well (depending on file sizes).

Please let us know if we can close this issue, or if there's anything else we can help out with.. Thanks!

from helm-charts.

frankjkelly avatar frankjkelly commented on August 21, 2024

FYI ran into the same issue going from localstack 2.1.0 to 2.2.0 (and above) using Helm Chart 0.6.10.
I increased memory from 384Mi to 512Mi and the issue went away.
Basically any time folk hit this add more memory :-)

from helm-charts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.