Why is /var/log/httpd/error_log in Satellite 6 very large and full of stack traces?

Solution In Progress - Updated -

Issue

  • Log file /var/log/httpd/error_log in Satellite is consuming too much disk space.
  • Log file /var/log/httpd/error_log in Satellite contains long stack traces:
[ 2021-03-02 17:21:13.0880 40626/7f438426d700 Pool2/Implementation.cpp:1274 ]: [App 40766 stderr] [ 2021-03-02 17:21:13.0879 41560/0x0000000009940ad0(Worker 1) utils.rb:74 ]: *** Exception ActionController::UnknownHttpMethod in Rack application object (LALALA, accepted HTTP methods are OPTIONS, GET, HEAD, POST, PUT, DELETE, TRACE, CONNECT, PROPFIND, PROPPATCH, MKCOL, COPY, MOVE, LOCK, UNLOCK, VERSION-CONTROL, REPORT, CHECKOUT, CHECKIN, UNCHECKOUT, MKWORKSPACE, UPDATE, LABEL, MERGE, BASELINE-CONTROL, MKACTIVITY, ORDERPATCH, ACL, SEARCH, MKCALENDAR, and PATCH) (process 41560, thread 0x0000000009940ad0(Worker 1)):
[ 2021-03-02 17:21:13.0880 40626/7f438426d700 Pool2/Implementation.cpp:1274 ]: [App 40766 stderr]   from /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/action_dispatch/http/request.rb:431:in `check_method'
[ 2021-03-02 17:21:13.0880 40626/7f438426d700 Pool2/Implementation.cpp:1274 ]: [App 40766 stderr]   from /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/action_dispatch/http/request.rb:143:in `request_method'
[ 2021-03-02 17:21:13.0881 40626/7f438426d700 Pool2/Implementation.cpp:1274 ]: [App 40766 stderr]   from /opt/theforeman/tfm/root/usr/share/gems/gems/railties-6.0.3.1/lib/rails/rack/logger.rb:50:in `started_request_message'
[ 2021-03-02 17:21:13.0881 40626/7f438426d700 Pool2/Implementation.cpp:1274 ]: [App 40766 stderr]   from /opt/theforeman/tfm/root/usr/share/gems/gems/railties-6.0.3.1/lib/rails/rack/logger.rb:36:in `block in call_app'
[ 2021-03-02 17:21:13.0881 40626/7f438426d700 Pool2/Implementation.cpp:1274 ]: [App 40766 stderr]   from /opt/theforeman/tfm/root/usr/share/gems/gems/logging-2.2.2/lib/logging/logger.rb:97:in `info'
[ 2021-03-02 17:21:13.0883 40626/7f438426d700 Pool2/Implementation.cpp:1274 ]: [App 40766 stderr]   from /opt/rh/rh-ruby25/root/usr/share/ruby/delegate.rb:83:in `method_missing'
[ 2021-03-02 17:21:13.0883 40626/7f438426d700 Pool2/Implementation.cpp:1274 ]: [App 40766 stderr]   from /usr/share/foreman/lib/foreman/silenced_logger.rb:18:in `info'
[ 2021-03-02 17:21:13.0883 40626/7f438426d700 Pool2/Implementation.cpp:1274 ]: [App 40766 stderr]   from /opt/theforeman/tfm/root/usr/share/gems/gems/railties-6.0.3.1/lib/rails/rack/logger.rb:36:in `call_app'
[ 2021-03-02 17:21:13.0883 40626/7f438426d700 Pool2/Implementation.cpp:1274 ]: [App 40766 stderr]   from /opt/theforeman/tfm/root/usr/share/gems/gems/railties-6.0.3.1/lib/rails/rack/logger.rb:28:in `call'
[ 2021-03-02 17:21:13.0883 40626/7f438426d700 Pool2/Implementation.cpp:1274 ]: [App 40766 stderr]   from /opt/theforeman/tfm/root/usr/share/gems/gems/sprockets-rails-3.2.1/lib/sprockets/rails/quiet_assets.rb:13:in `call'
[ 2021-03-02 17:21:13.0884 40626/7f438426d700 Pool2/Implementation.cpp:1274 ]: [App 40766 stderr]   from /usr/share/foreman/lib/foreman/middleware/logging_context_request.rb:11:in `call'
[ 2021-03-02 17:21:13.0884 40626/7f438426d700 Pool2/Implementation.cpp:1274 ]: [App 40766 stderr]   from /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
[ 2021-03-02 17:21:13.0884 40626/7f438426d700 Pool2/Implementation.cpp:1274 ]: [App 40766 stderr]   from /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/action_dispatch/middleware/request_id.rb:27:in `call'
[ 2021-03-02 17:21:13.0884 40626/7f438426d700 Pool2/Implementation.cpp:1274 ]: [App 40766 stderr]   from /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.16.0.13/lib/katello/prevent_json_parsing.rb:12:in `call'
[ 2021-03-02 17:21:13.0884 40626/7f438426d700 Pool2/Implementation.cpp:1274 ]: [App 40766 stderr]   from /opt/theforeman/tfm/root/usr/share/gems/gems/rack-2.2.3/lib/rack/method_override.rb:24:in `call'
[ 2021-03-02 17:21:13.0885 40626/7f438426d700 Pool2/Implementation.cpp:1274 ]: [App 40766 stderr]   from /opt/theforeman/tfm/root/usr/share/gems/gems/rack-2.2.3/lib/rack/runtime.rb:22:in `call'
[ 2021-03-02 17:21:13.0885 40626/7f438426d700 Pool2/Implementation.cpp:1274 ]: [App 40766 stderr]   from /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
[ 2021-03-02 17:21:13.0885 40626/7f438426d700 Pool2/Implementation.cpp:1274 ]: [App 40766 stderr]   from /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/action_dispatch/middleware/executor.rb:14:in `call'
[ 2021-03-02 17:21:13.0885 40626/7f438426d700 Pool2/Implementation.cpp:1274 ]: [App 40766 stderr]   from /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/action_dispatch/middleware/static.rb:126:in `call'
[ 2021-03-02 17:21:13.0885 40626/7f438426d700 Pool2/Implementation.cpp:1274 ]: [App 40766 stderr]   from /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/action_dispatch/middleware/static.rb:126:in `call'
[ 2021-03-02 17:21:13.0886 40626/7f438426d700 Pool2/Implementation.cpp:1274 ]: [App 40766 stderr]   from /opt/theforeman/tfm/root/usr/share/gems/gems/rack-2.2.3/lib/rack/sendfile.rb:110:in `call'
[ 2021-03-02 17:21:13.0886 40626/7f438426d700 Pool2/Implementation.cpp:1274 ]: [App 40766 stderr]   from /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/action_dispatch/middleware/host_authorization.rb:76:in `call'
[ 2021-03-02 17:21:13.0886 40626/7f438426d700 Pool2/Implementation.cpp:1274 ]: [App 40766 stderr]   from /opt/theforeman/tfm/root/usr/share/gems/gems/secure_headers-6.3.0/lib/secure_headers/middleware.rb:11:in `call'
[ 2021-03-02 17:21:13.0886 40626/7f438426d700 Pool2/Implementation.cpp:1274 ]: [App 40766 stderr]   from /opt/theforeman/tfm/root/usr/share/gems/gems/railties-6.0.3.1/lib/rails/engine.rb:527:in `call'
[ 2021-03-02 17:21:13.0886 40626/7f438426d700 Pool2/Implementation.cpp:1274 ]: [App 40766 stderr]   from /opt/theforeman/tfm/root/usr/share/gems/gems/railties-6.0.3.1/lib/rails/railtie.rb:190:in `public_send'
[ 2021-03-02 17:21:13.0887 40626/7f438426d700 Pool2/Implementation.cpp:1274 ]: [App 40766 stderr]   from /opt/theforeman/tfm/root/usr/share/gems/gems/railties-6.0.3.1/lib/rails/railtie.rb:190:in `method_missing'
[ 2021-03-02 17:21:13.0887 40626/7f438426d700 Pool2/Implementation.cpp:1274 ]: [App 40766 stderr]   from /opt/theforeman/tfm/root/usr/share/gems/gems/rack-2.2.3/lib/rack/urlmap.rb:74:in `block in call'
[ 2021-03-02 17:21:13.0887 40626/7f438426d700 Pool2/Implementation.cpp:1274 ]: [App 40766 stderr]   from /opt/theforeman/tfm/root/usr/share/gems/gems/rack-2.2.3/lib/rack/urlmap.rb:58:in `each'
[ 2021-03-02 17:21:13.0887 40626/7f438426d700 Pool2/Implementation.cpp:1274 ]: [App 40766 stderr]   from /opt/theforeman/tfm/root/usr/share/gems/gems/rack-2.2.3/lib/rack/urlmap.rb:58:in `call'
[ 2021-03-02 17:21:13.0888 40626/7f438426d700 Pool2/Implementation.cpp:1274 ]: [App 40766 stderr]   from /usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/rack/thread_handler_extension.rb:77:in `process_request'
[ 2021-03-02 17:21:13.0888 40626/7f438426d700 Pool2/Implementation.cpp:1274 ]: [App 40766 stderr]   from /usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:140:in `accept_and_process_next_request'
[ 2021-03-02 17:21:13.0888 40626/7f438426d700 Pool2/Implementation.cpp:1274 ]: [App 40766 stderr]   from /usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:108:in `main_loop'
[ 2021-03-02 17:21:13.0888 40626/7f438426d700 Pool2/Implementation.cpp:1274 ]: [App 40766 stderr]   from /usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/request_handler.rb:441:in `block (3 levels) in start_threads'
[ 2021-03-02 17:21:13.0888 40626/7f438426d700 Pool2/Implementation.cpp:1274 ]: [App 40766 stderr]   from /opt/theforeman/tfm/root/usr/share/gems/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'

Environment

  • Red Hat Satellite 6.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content