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
已提问 2 年前93 查看次数
没有答案

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则