Homeland 从 3.8 直接升级到 3.8.3 版本后,不能访问了

wuyahui · 2021年01月13日 · 最后由 sitoto 回复于 2021年05月16日 · 226 次阅读

日志信息,请帮忙看看,谢谢

Attaching to homeland_app
homeland_app  | [9] Puma starting in cluster mode...
homeland_app  | [9] * Puma version: 5.1.1 (ruby 3.0.0-p0) ("At Your Service")
homeland_app  | [9] *  Min threads: 8
homeland_app  | [9] *  Max threads: 8
homeland_app  | [9] *  Environment: production
homeland_app  | [9] *   Master PID: 9
homeland_app  | [9] *      Workers: 4
homeland_app  | [9] *     Restarts: () hot () phased
homeland_app  | [9] * Preloading application
homeland_app  | [9] * Listening on http://0.0.0.0:7000
homeland_app  | [9] Use Ctrl-C to stop
homeland_app  | => Max Memory limit: 1140MB
homeland_app  | [9] - Worker 0 (PID: 14) booted, phase: 0
homeland_app  | [9] - Worker 1 (PID: 21) booted, phase: 0
homeland_app  | [9] - Worker 2 (PID: 32) booted, phase: 0
homeland_app  | [9] - Worker 3 (PID: 45) booted, phase: 0
homeland_app  | [9] PumaWorkerKiller: Out of memory. 4 workers consuming total: 1433.01953125 mb out of max: 1117.2 mb. Sending TERM to pid 32 consuming 283.953125 mb.
homeland_app  | Worker #<Puma::Cluster::WorkerHandle:0x00007ff1d3c7e760 @index=2, @pid=32, @phase=0, @stage=:booted, @signal="TERM", @options=#<Puma::UserFileDefaultOptions:0x00007ff1ddaca9a0 @user_options={:environment=>"production", :logger=>#<Puma::Events:0x00007ff1ddacb670 @formatter=#<Puma::Events::PidFormatter:0x00007ff1d70f38d8>, @stdout=#<IO:<STDOUT>>, @stderr=#<IO:<STDERR>>, @debug=false, @error_logger=#<Puma::ErrorLogger:0x00007ff1ddacb5d0 @ioerr=#<IO:<STDERR>>, @debug=false>, @hooks={:ping!=>[], :on_booted=>[]}>}, @file_options={:config_files=>["config/puma-master.rb"], :binds=>["tcp://0.0.0.0:7000"], :environment=>"production", :workers=>4, :min_threads=>8, :max_threads=>8, :preload_app=>true, :before_worker_boot=>[#<Proc:0x00007ff1d70fa818 config/puma-master.rb:10>], :before_fork=>[#<Proc:0x00007ff1d70fa7a0 config/puma-master.rb:16>]}, @default_options={:min_threads=>0, :max_threads=>5, :log_requests=>false, :debug=>false, :binds=>["tcp://0.0.0.0:9292"], :workers=>0, :mode=>:http, :worker_timeout=>60, :worker_boot_timeout=>60, :worker_shutdown_timeout=>30, :remote_address=>:socket, :tag=>"homeland", :environment=>"production", :rackup=>"config.ru", :logger=>#<IO:<STDOUT>>, :persistent_timeout=>20, :first_data_timeout=>30, :raise_exception_on_sigterm=>true, :max_fast_inline=>10, :preload_app=>false}>, @first_term_sent=nil, @started_at=2021-01-13 03:35:47.972725319 +0000, @last_checkin=2021-01-13 03:36:02.984940877 +0000, @last_status={:backlog=>0, :running=>8, :pool_capacity=>8, :max_threads=>8, :requests_count=>0}, @term=false> being killed
homeland_app  | [9] - Worker 2 (PID: 78) booted, phase: 0
homeland_app  | [9] PumaWorkerKiller: Out of memory. 4 workers consuming total: 1433.265625 mb out of max: 1117.2 mb. Sending TERM to pid 78 consuming 284.15234375 mb.
homeland_app  | Worker #<Puma::Cluster::WorkerHandle:0x00007ff1d3c526b0 @index=2, @pid=78, @phase=0, @stage=:booted, @signal="TERM", @options=#<Puma::UserFileDefaultOptions:0x00007ff1ddaca9a0 @user_options={:environment=>"production", :logger=>#<Puma::Events:0x00007ff1ddacb670 @formatter=#<Puma::Events::PidFormatter:0x00007ff1d70f38d8>, @stdout=#<IO:<STDOUT>>, @stderr=#<IO:<STDERR>>, @debug=false, @error_logger=#<Puma::ErrorLogger:0x00007ff1ddacb5d0 @ioerr=#<IO:<STDERR>>, @debug=false>, @hooks={:ping!=>[], :on_booted=>[]}>}, @file_options={:config_files=>["config/puma-master.rb"], :binds=>["tcp://0.0.0.0:7000"], :environment=>"production", :workers=>4, :min_threads=>8, :max_threads=>8, :preload_app=>true, :before_worker_boot=>[#<Proc:0x00007ff1d70fa818 config/puma-master.rb:10>], :before_fork=>[#<Proc:0x00007ff1d70fa7a0 config/puma-master.rb:16>]}, @default_options={:min_threads=>0, :max_threads=>5, :log_requests=>false, :debug=>false, :binds=>["tcp://0.0.0.0:9292"], :workers=>0, :mode=>:http, :worker_timeout=>60, :worker_boot_timeout=>60, :worker_shutdown_timeout=>30, :remote_address=>:socket, :tag=>"homeland", :environment=>"production", :rackup=>"config.ru", :logger=>#<IO:<STDOUT>>, :persistent_timeout=>20, :first_data_timeout=>30, :raise_exception_on_sigterm=>true, :max_fast_inline=>10, :preload_app=>false}>, @first_term_sent=nil, @started_at=2021-01-13 03:36:08.119744316 +0000, @last_checkin=2021-01-13 03:36:23.127415244 +0000, @last_status={:backlog=>0, :running=>8, :pool_capacity=>8, :max_threads=>8, :requests_count=>0}, @term=false> being killed
homeland_app  | [9] - Worker 2 (PID: 94) booted, phase: 0
homeland_app  | [9] PumaWorkerKiller: Out of memory. 4 workers consuming total: 1433.484375 mb out of max: 1117.2 mb. Sending TERM to pid 94 consuming 284.1640625 mb.
homeland_app  | Worker #<Puma::Cluster::WorkerHandle:0x00007ff1d3a66f40 @index=2, @pid=94, @phase=0, @stage=:booted, @signal="TERM", @options=#<Puma::UserFileDefaultOptions:0x00007ff1ddaca9a0 @user_options={:environment=>"production", :logger=>#<Puma::Events:0x00007ff1ddacb670 @formatter=#<Puma::Events::PidFormatter:0x00007ff1d70f38d8>, @stdout=#<IO:<STDOUT>>, @stderr=#<IO:<STDERR>>, @debug=false, @error_logger=#<Puma::ErrorLogger:0x00007ff1ddacb5d0 @ioerr=#<IO:<STDERR>>, @debug=false>, @hooks={:ping!=>[], :on_booted=>[]}>}, @file_options={:config_files=>["config/puma-master.rb"], :binds=>["tcp://0.0.0.0:7000"], :environment=>"production", :workers=>4, :min_threads=>8, :max_threads=>8, :preload_app=>true, :before_worker_boot=>[#<Proc:0x00007ff1d70fa818 config/puma-master.rb:10>], :before_fork=>[#<Proc:0x00007ff1d70fa7a0 config/puma-master.rb:16>]}, @default_options={:min_threads=>0, :max_threads=>5, :log_requests=>false, :debug=>false, :binds=>["tcp://0.0.0.0:9292"], :workers=>0, :mode=>:http, :worker_timeout=>60, :worker_boot_timeout=>60, :worker_shutdown_timeout=>30, :remote_address=>:socket, :tag=>"homeland", :environment=>"production", :rackup=>"config.ru", :logger=>#<IO:<STDOUT>>, :persistent_timeout=>20, :first_data_timeout=>30, :raise_exception_on_sigterm=>true, :max_fast_inline=>10, :preload_app=>false}>, @first_term_sent=nil, @started_at=2021-01-13 03:36:28.115031359 +0000, @last_checkin=2021-01-13 03:36:43.123154661 +0000, @last_status={:backlog=>0, :running=>8, :pool_capacity=>8, :max_threads=>8, :requests_count=>0}, @term=false> being killed
homeland_app  | [9] - Worker 2 (PID: 110) booted, phase: 0
homeland_app  | [9] PumaWorkerKiller: Out of memory. 4 workers consuming total: 1433.51953125 mb out of max: 1117.2 mb. Sending TERM to pid 110 consuming 284.19140625 mb.
homeland_app  | Worker #<Puma::Cluster::WorkerHandle:0x00007ff1d3bcd280 @index=2, @pid=110, @phase=0, @stage=:booted, @signal="TERM", @options=#<Puma::UserFileDefaultOptions:0x00007ff1ddaca9a0 @user_options={:environment=>"production", :logger=>#<Puma::Events:0x00007ff1ddacb670 @formatter=#<Puma::Events::PidFormatter:0x00007ff1d70f38d8>, @stdout=#<IO:<STDOUT>>, @stderr=#<IO:<STDERR>>, @debug=false, @error_logger=#<Puma::ErrorLogger:0x00007ff1ddacb5d0 @ioerr=#<IO:<STDERR>>, @debug=false>, @hooks={:ping!=>[], :on_booted=>[]}>}, @file_options={:config_files=>["config/puma-master.rb"], :binds=>["tcp://0.0.0.0:7000"], :environment=>"production", :workers=>4, :min_threads=>8, :max_threads=>8, :preload_app=>true, :before_worker_boot=>[#<Proc:0x00007ff1d70fa818 config/puma-master.rb:10>], :before_fork=>[#<Proc:0x00007ff1d70fa7a0 config/puma-master.rb:16>]}, @default_options={:min_threads=>0, :max_threads=>5, :log_requests=>false, :debug=>false, :binds=>["tcp://0.0.0.0:9292"], :workers=>0, :mode=>:http, :worker_timeout=>60, :worker_boot_timeout=>60, :worker_shutdown_timeout=>30, :remote_address=>:socket, :tag=>"homeland", :environment=>"production", :rackup=>"config.ru", :logger=>#<IO:<STDOUT>>, :persistent_timeout=>20, :first_data_timeout=>30, :raise_exception_on_sigterm=>true, :max_fast_inline=>10, :preload_app=>false}>, @first_term_sent=nil, @started_at=2021-01-13 03:36:48.113030801 +0000, @last_checkin=2021-01-13 03:37:03.120808099 +0000, @last_status={:backlog=>0, :running=>8, :pool_capacity=>8, :max_threads=>8, :requests_count=>0}, @term=false> being killed
homeland_app  | [9] - Worker 2 (PID: 126) booted, phase: 0
homeland_app  | [9] PumaWorkerKiller: Out of memory. 4 workers consuming total: 1433.546875 mb out of max: 1117.2 mb. Sending TERM to pid 126 consuming 284.2109375 mb.
homeland_app  | Worker #<Puma::Cluster::WorkerHandle:0x00007ff1d3b86420 @index=2, @pid=126, @phase=0, @stage=:booted, @signal="TERM", @options=#<Puma::UserFileDefaultOptions:0x00007ff1ddaca9a0 @user_options={:environment=>"production", :logger=>#<Puma::Events:0x00007ff1ddacb670 @formatter=#<Puma::Events::PidFormatter:0x00007ff1d70f38d8>, @stdout=#<IO:<STDOUT>>, @stderr=#<IO:<STDERR>>, @debug=false, @error_logger=#<Puma::ErrorLogger:0x00007ff1ddacb5d0 @ioerr=#<IO:<STDERR>>, @debug=false>, @hooks={:ping!=>[], :on_booted=>[]}>}, @file_options={:config_files=>["config/puma-master.rb"], :binds=>["tcp://0.0.0.0:7000"], :environment=>"production", :workers=>4, :min_threads=>8, :max_threads=>8, :preload_app=>true, :before_worker_boot=>[#<Proc:0x00007ff1d70fa818 config/puma-master.rb:10>], :before_fork=>[#<Proc:0x00007ff1d70fa7a0 config/puma-master.rb:16>]}, @default_options={:min_threads=>0, :max_threads=>5, :log_requests=>false, :debug=>false, :binds=>["tcp://0.0.0.0:9292"], :workers=>0, :mode=>:http, :worker_timeout=>60, :worker_boot_timeout=>60, :worker_shutdown_timeout=>30, :remote_address=>:socket, :tag=>"homeland", :environment=>"production", :rackup=>"config.ru", :logger=>#<IO:<STDOUT>>, :persistent_timeout=>20, :first_data_timeout=>30, :raise_exception_on_sigterm=>true, :max_fast_inline=>10, :preload_app=>false}>, @first_term_sent=nil, @started_at=2021-01-13 03:37:08.118698869 +0000, @last_checkin=2021-01-13 03:37:23.126552793 +0000, @last_status={:backlog=>0, :running=>8, :pool_capacity=>8, :max_threads=>8, :requests_count=>0}, @term=false> being killed
homeland_app  | [9] - Worker 2 (PID: 142) booted, phase: 0
homeland_app  | [9] PumaWorkerKiller: Out of memory. 4 workers consuming total: 1433.5703125 mb out of max: 1117.2 mb. Sending TERM to pid 142 consuming 284.21875 mb.
homeland_app  | Worker #<Puma::Cluster::WorkerHandle:0x00007ff1d3b56270 @index=2, @pid=142, @phase=0, @stage=:booted, @signal="TERM", @options=#<Puma::UserFileDefaultOptions:0x00007ff1ddaca9a0 @user_options={:environment=>"production", :logger=>#<Puma::Events:0x00007ff1ddacb670 @formatter=#<Puma::Events::PidFormatter:0x00007ff1d70f38d8>, @stdout=#<IO:<STDOUT>>, @stderr=#<IO:<STDERR>>, @debug=false, @error_logger=#<Puma::ErrorLogger:0x00007ff1ddacb5d0 @ioerr=#<IO:<STDERR>>, @debug=false>, @hooks={:ping!=>[], :on_booted=>[]}>}, @file_options={:config_files=>["config/puma-master.rb"], :binds=>["tcp://0.0.0.0:7000"], :environment=>"production", :workers=>4, :min_threads=>8, :max_threads=>8, :preload_app=>true, :before_worker_boot=>[#<Proc:0x00007ff1d70fa818 config/puma-master.rb:10>], :before_fork=>[#<Proc:0x00007ff1d70fa7a0 config/puma-master.rb:16>]}, @default_options={:min_threads=>0, :max_threads=>5, :log_requests=>false, :debug=>false, :binds=>["tcp://0.0.0.0:9292"], :workers=>0, :mode=>:http, :worker_timeout=>60, :worker_boot_timeout=>60, :worker_shutdown_timeout=>30, :remote_address=>:socket, :tag=>"homeland", :environment=>"production", :rackup=>"config.ru", :logger=>#<IO:<STDOUT>>, :persistent_timeout=>20, :first_data_timeout=>30, :raise_exception_on_sigterm=>true, :max_fast_inline=>10, :preload_app=>false}>, @first_term_sent=nil, @started_at=2021-01-13 03:37:28.11950928 +0000, @last_checkin=2021-01-13 03:37:43.127525689 +0000, @last_status={:backlog=>0, :running=>8, :pool_capacity=>8, :max_threads=>8, :requests_count=>0}, @term=false> being killed
homeland_app  | [9] - Worker 2 (PID: 158) booted, phase: 0
homeland_app  | [9] PumaWorkerKiller: Out of memory. 4 workers consuming total: 1433.59375 mb out of max: 1117.2 mb. Sending TERM to pid 158 consuming 284.23046875 mb.
homeland_app  | Worker #<Puma::Cluster::WorkerHandle:0x00007ff1d3b0d778 @index=2, @pid=158, @phase=0, @stage=:booted, @signal="TERM", @options=#<Puma::UserFileDefaultOptions:0x00007ff1ddaca9a0 @user_options={:environment=>"production", :logger=>#<Puma::Events:0x00007ff1ddacb670 @formatter=#<Puma::Events::PidFormatter:0x00007ff1d70f38d8>, @stdout=#<IO:<STDOUT>>, @stderr=#<IO:<STDERR>>, @debug=false, @error_logger=#<Puma::ErrorLogger:0x00007ff1ddacb5d0 @ioerr=#<IO:<STDERR>>, @debug=false>, @hooks={:ping!=>[], :on_booted=>[]}>}, @file_options={:config_files=>["config/puma-master.rb"], :binds=>["tcp://0.0.0.0:7000"], :environment=>"production", :workers=>4, :min_threads=>8, :max_threads=>8, :preload_app=>true, :before_worker_boot=>[#<Proc:0x00007ff1d70fa818 config/puma-master.rb:10>], :before_fork=>[#<Proc:0x00007ff1d70fa7a0 config/puma-master.rb:16>]}, @default_options={:min_threads=>0, :max_threads=>5, :log_requests=>false, :debug=>false, :binds=>["tcp://0.0.0.0:9292"], :workers=>0, :mode=>:http, :worker_timeout=>60, :worker_boot_timeout=>60, :worker_shutdown_timeout=>30, :remote_address=>:socket, :tag=>"homeland", :environment=>"production", :rackup=>"config.ru", :logger=>#<IO:<STDOUT>>, :persistent_timeout=>20, :first_data_timeout=>30, :raise_exception_on_sigterm=>true, :max_fast_inline=>10, :preload_app=>false}>, @first_term_sent=nil, @started_at=2021-01-13 03:37:48.116875499 +0000, @last_checkin=2021-01-13 03:38:03.124669178 +0000, @last_status={:backlog=>0, :running=>8, :pool_capacity=>8, :max_threads=>8, :requests_count=>0}, @term=false> being killed
homeland_app  | [9] - Worker 2 (PID: 174) booted, phase: 0
homeland_app  | [9] PumaWorkerKiller: Out of memory. 4 workers consuming total: 1433.546875 mb out of max: 1117.2 mb. Sending TERM to pid 174 consuming 284.18359375 mb.
homeland_app  | Worker #<Puma::Cluster::WorkerHandle:0x00007ff1d1ddf8e0 @index=2, @pid=174, @phase=0, @stage=:booted, @signal="TERM", @options=#<Puma::UserFileDefaultOptions:0x00007ff1ddaca9a0 @user_options={:environment=>"production", :logger=>#<Puma::Events:0x00007ff1ddacb670 @formatter=#<Puma::Events::PidFormatter:0x00007ff1d70f38d8>, @stdout=#<IO:<STDOUT>>, @stderr=#<IO:<STDERR>>, @debug=false, @error_logger=#<Puma::ErrorLogger:0x00007ff1ddacb5d0 @ioerr=#<IO:<STDERR>>, @debug=false>, @hooks={:ping!=>[], :on_booted=>[]}>}, @file_options={:config_files=>["config/puma-master.rb"], :binds=>["tcp://0.0.0.0:7000"], :environment=>"production", :workers=>4, :min_threads=>8, :max_threads=>8, :preload_app=>true, :before_worker_boot=>[#<Proc:0x00007ff1d70fa818 config/puma-master.rb:10>], :before_fork=>[#<Proc:0x00007ff1d70fa7a0 config/puma-master.rb:16>]}, @default_options={:min_threads=>0, :max_threads=>5, :log_requests=>false, :debug=>false, :binds=>["tcp://0.0.0.0:9292"], :workers=>0, :mode=>:http, :worker_timeout=>60, :worker_boot_timeout=>60, :worker_shutdown_timeout=>30, :remote_address=>:socket, :tag=>"homeland", :environment=>"production", :rackup=>"config.ru", :logger=>#<IO:<STDOUT>>, :persistent_timeout=>20, :first_data_timeout=>30, :raise_exception_on_sigterm=>true, :max_fast_inline=>10, :preload_app=>false}>, @first_term_sent=nil, @started_at=2021-01-13 03:38:08.152856389 +0000, @last_checkin=2021-01-13 03:38:23.164357403 +0000, @last_status={:backlog=>0, :running=>8, :pool_capacity=>8, :max_threads=>8, :requests_count=>0}, @term=false> being killed
homeland_app  | [9] - Worker 2 (PID: 190) booted, phase: 0
homeland_app  | [9] PumaWorkerKiller: Out of memory. 4 workers consuming total: 1433.63671875 mb out of max: 1117.2 mb. Sending TERM to pid 190 consuming 284.20703125 mb.
homeland_app  | Worker #<Puma::Cluster::WorkerHandle:0x00007ff1d1ba30e0 @index=2, @pid=190, @phase=0, @stage=:booted, @signal="TERM", @options=#<Puma::UserFileDefaultOptions:0x00007ff1ddaca9a0 @user_options={:environment=>"production", :logger=>#<Puma::Events:0x00007ff1ddacb670 @formatter=#<Puma::Events::PidFormatter:0x00007ff1d70f38d8>, @stdout=#<IO:<STDOUT>>, @stderr=#<IO:<STDERR>>, @debug=false, @error_logger=#<Puma::ErrorLogger:0x00007ff1ddacb5d0 @ioerr=#<IO:<STDERR>>, @debug=false>, @hooks={:ping!=>[], :on_booted=>[]}>}, @file_options={:config_files=>["config/puma-master.rb"], :binds=>["tcp://0.0.0.0:7000"], :environment=>"production", :workers=>4, :min_threads=>8, :max_threads=>8, :preload_app=>true, :before_worker_boot=>[#<Proc:0x00007ff1d70fa818 config/puma-master.rb:10>], :before_fork=>[#<Proc:0x00007ff1d70fa7a0 config/puma-master.rb:16>]}, @default_options={:min_threads=>0, :max_threads=>5, :log_requests=>false, :debug=>false, :binds=>["tcp://0.0.0.0:9292"], :workers=>0, :mode=>:http, :worker_timeout=>60, :worker_boot_timeout=>60, :worker_shutdown_timeout=>30, :remote_address=>:socket, :tag=>"homeland", :environment=>"production", :rackup=>"config.ru", :logger=>#<IO:<STDOUT>>, :persistent_timeout=>20, :first_data_timeout=>30, :raise_exception_on_sigterm=>true, :max_fast_inline=>10, :preload_app=>false}>, @first_term_sent=nil, @started_at=2021-01-13 03:38:28.274586801 +0000, @last_checkin=2021-01-13 03:38:43.282425886 +0000, @last_status={:backlog=>0, :running=>8, :pool_capacity=>8, :max_threads=>8, :requests_count=>0}, @term=false> being killed
homeland_app  | [9] - Worker 2 (PID: 206) booted, phase: 0

需要 登录 后方可回复, 如果你还没有账号请 注册新账号