Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistency in docker-compose due to crapi-identiy low memory limit #56

Closed
willmccardell opened this issue May 25, 2022 · 0 comments · Fixed by #57
Closed

Inconsistency in docker-compose due to crapi-identiy low memory limit #56

willmccardell opened this issue May 25, 2022 · 0 comments · Fixed by #57

Comments

@willmccardell
Copy link
Contributor

willmccardell commented May 25, 2022

When I run the docker-compose command listed in the readme across 3 different machines, the instructions provided do not work. In many of the cases, I was seeing different errors each time, but lately it's been a fairly standard error:

crapi-identity exits with status code 137.

image

As you can see, crapi-identity finishes starting, but then crashes later on.

output of docker logs:

image

I was able to get the docker-compose command to finish twice out of maybe 60 attempts, so while it won't always fail, it almost always does.

Platforms tested on, all 64 bit:

  • AWS Linux
  • Ubuntu hosted in AWS, fresh instance spun up entirely for this debugging.
    ** Linux redacted 5.15.0-1004-aws Profile Picture image not loading on Community Forum #6-Ubuntu SMP Thu Mar 31 09:44:20 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
  • Kali Linux VM hosted on Windows
    ** This was the host that docker-compose finished twice on.

This error occurred on both the main and develop branches.

Steps to reproduce:

  • Create an Ubuntu t2.micro in AWS or equivalent.
  • Run the steps listed in the README under the Docker Quick Start section to reproduce.

This problem is similar to #9.

After a lot of troubleshooting, I determined that updating the max memory limit for the crapi-identity to be 384M from 256M gave it enough headroom to consistently start and run the crapi-identity container.

Originally posted by @willmccardell in #54 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant