100% CPU Usage by Falcon on AWS ECS #327
-
|
We are trying to switch to falcon. We are using the latest version of falcon-rails (0.2.4) with Rails 8.1. While everything runs smooth on our macs, as soon as we deploy falcon to a ECS Fargate Cluster on AWS, we experience basically 100% CPU load: This is our falcon.rb: Dockerfile runs falcon via We would appreciate any hint, at this moment falcon is unusable for us. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
FYI, this is the configuration I came up with. I reduced on smaller machines the workers to one and enabled the supervisor (which I only found out accidently by reading the release notes - which also doesn't run out of the box with a containerizer rails app because it wants to create some supervisor ipc file in a wrong dir). As great as falcon itself it as as your effort for the community is highly appreciated - unfortunately the worse the "documentation" is. Rails docs are basically nonexistent. If you aim for widespread adoption, I would highly recommend to give great examples at least for a working dockerfile and a bit of a better default and explaination about the falcon.rb and config things to look out for. I am sharing our config here which works so far on AWS ECS/Fargate, maybe it helps someone running into the same problems and saving them from wasting hours reading source code and experimenting … |
Beta Was this translation helpful? Give feedback.
Thanks for your feedback, I'll update the documentation.