diff --git a/lib/puma/server.rb b/lib/puma/server.rb index a280a46e..e812089c 100644 --- a/lib/puma/server.rb +++ b/lib/puma/server.rb @@ -69,6 +69,7 @@ class Server # calling code to not require events.rb. # def initialize(app, events = nil, options = {}) + @closed_conections = 0 @app = app @events = events || Events.new @@ -393,6 +394,7 @@ def handle_servers end graceful_shutdown if @status == :stop || @status == :restart +STDOUT.syswrite "\n********* @closed_conections #{@closed_conections} reactor #{@reactor&.selector_size_max} tp #{pool&.backlog_max}\n" rescue Exception => e @log_writer.unknown_error e, nil, "Exception handling servers" ensure