SQSD continuously crashing and restarting on Elastic Beanstalk Worker boxes

0

In my Elastic Beanstalk Worker Environment, sqsd keeps crashing and restarting. We are running a NodeJS app on "Node.js 16 running on 64bit Amazon Linux 2/5.5.3". The app has been working fine up until today. Due to an issue on one box I had to reboot it and when it came back up it just keeps restarting my app and never actually successfully starts up the worker. I found this in /var/log/messages pointing to sqsd crashing. Any ideas how I can fix this? I have tried terminating the instance but that didn't fix it. It's a t2.large so it should have enough memory

Jun 23 19:12:35 ip-10-1-100-88 systemd: Stopped This is sqsd daemon.
Jun 23 19:12:35 ip-10-1-100-88 systemd: Starting This is sqsd daemon...
Jun 23 19:12:36 ip-10-1-100-88 sqsd: Version 2 of the Ruby SDK will enter maintenance mode as of November 20, 2020. To continue receiving service updates and new features, please upgrade to Version 3. More information can be found here: https://aws.amazon.com/blogs/developer/deprecation-schedule-for-aws-sdk-for-ruby-v2/
Jun 23 19:12:38 ip-10-1-100-88 systemd: Reloading.
Jun 23 19:12:41 ip-10-1-100-88 sqsd: /opt/elasticbeanstalk/lib/ruby/lib/ruby/gems/2.6.0/gems/aws-sqsd-3.0.4/bin/aws-sqsd:58:in `initialize': No such file or directory @ rb_sysopen - /var/run/aws-sqsd/default.pid (Errno::ENOENT)
Jun 23 19:12:41 ip-10-1-100-88 sqsd: from /opt/elasticbeanstalk/lib/ruby/lib/ruby/gems/2.6.0/gems/aws-sqsd-3.0.4/bin/aws-sqsd:58:in `open'
Jun 23 19:12:41 ip-10-1-100-88 sqsd: from /opt/elasticbeanstalk/lib/ruby/lib/ruby/gems/2.6.0/gems/aws-sqsd-3.0.4/bin/aws-sqsd:58:in `start'
Jun 23 19:12:41 ip-10-1-100-88 sqsd: from /opt/elasticbeanstalk/lib/ruby/lib/ruby/gems/2.6.0/gems/aws-sqsd-3.0.4/bin/aws-sqsd:83:in `launch'
Jun 23 19:12:41 ip-10-1-100-88 sqsd: from /opt/elasticbeanstalk/lib/ruby/lib/ruby/gems/2.6.0/gems/aws-sqsd-3.0.4/bin/aws-sqsd:111:in `<top (required)>'
Jun 23 19:12:41 ip-10-1-100-88 sqsd: from /opt/elasticbeanstalk/lib/ruby/bin/aws-sqsd:23:in `load'
Jun 23 19:12:41 ip-10-1-100-88 sqsd: from /opt/elasticbeanstalk/lib/ruby/bin/aws-sqsd:23:in `<main>'
Jun 23 19:12:42 ip-10-1-100-88 systemd: sqsd.service: control process exited, code=exited status=1
Jun 23 19:12:42 ip-10-1-100-88 systemd: Failed to start This is sqsd daemon.
Jun 23 19:12:42 ip-10-1-100-88 systemd: Unit sqsd.service entered failed state.
Jun 23 19:12:42 ip-10-1-100-88 systemd: sqsd.service failed.
Jun 23 19:12:42 ip-10-1-100-88 systemd: sqsd.service holdoff time over, scheduling restart.
JMV8
asked 2 years ago85 views
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