Save 36% for Black Friday! Save 36% on GoRails for Black Friday! Learn more
Dev Inquizyt
Joined
Activity
Hello,
I am having a serious issue on the Ruby on rails application running with the following technological stack:
ubuntu-latest
Docker latest
RUBY_VERSION: 3.1.0
puma (5.6.4)
rails (7.0.3)
nginx:latest
Postgres: 14
NODE_MAJOR: 14
YARN_VERSION: 1.22.15
puma configuration
max_threads_count = ENV.fetch("RAILS_MAX_THREADS", 5)
min_threads_count = ENV.fetch("RAILS_MIN_THREADS") { max_threads_count }
threads min_threads_count, max_threads_count
When I load one page, the cpu hits 100% when rendering the page. if I load 2 pages, the second page has to wait for the first one to be fully loaded before it starts loading as the CPU is fully busy with the first page load.
When the page is loaded CPU goes down to almost 0%
Any help is much appreciated.