Elastic Beanstalk worker tier SQS daemon keep repeating "init: initializing aws-sqsd 3.0.3 (2020-11-04)"

0

The env will be Degraded and no message can't be sent.

Platform is Docker using dockerrun.aws.json. Container is a Django app. I tried with two instance types (I confirmed it from EC2 dashboard) t2.micro t2.small

Sometimes, after deployment, the SQS daemon keep repeating the init like this


2022-03-23T07:47:51Z init: initializing aws-sqsd 3.0.3 (2020-11-04)
2022-03-23T07:47:56Z init: initializing aws-sqsd 3.0.3 (2020-11-04)
2022-03-23T07:48:01Z init: initializing aws-sqsd 3.0.3 (2020-11-04)
2022-03-23T07:48:07Z init: initializing aws-sqsd 3.0.3 (2020-11-04)
2022-03-23T07:48:12Z init: initializing aws-sqsd 3.0.3 (2020-11-04)
2022-03-23T07:48:18Z init: initializing aws-sqsd 3.0.3 (2020-11-04)
2022-03-23T07:48:23Z init: initializing aws-sqsd 3.0.3 (2020-11-04)
2022-03-23T07:48:28Z init: initializing aws-sqsd 3.0.3 (2020-11-04)
2022-03-23T07:48:33Z init: initializing aws-sqsd 3.0.3 (2020-11-04)

To fix it I need to redeploy the app but it's not always gonna fix it. I thought it's memory issue, but it did work in t2.micro for one time.

  • Can you go to EC2 and check monitoring tab? If it is really memory issues, the problem may be your app increase RAM when running. You also SSH to EC2 and use top command to monitor when it's running also.

  • Thank you Hoan Pham, I think it's indeed memory issue. At idle the worker environment cosumes 900MB with a Django app running with Gunicorn....

No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions