title: ActionController::RoutingError (No route matches [GET] every page)
body: <p>Sometimes I got RoutingError for every page on production (or staging) server. This error doesn't happen often, it happens once every 2 to 3 months</p>
  <p>Error memo: Start puma =&gt; request for all page are ok, after the times (2-3 days) suddenly all request get ActionController::RoutingError (No route matches [GET] &quot;/page&quot;
  =&gt; Restart puma, request for all page are ok.</p>
  <p>Does anyone know what's wrong with it?</p>
  <p><strong>Puma config:</strong></p>
  <pre><code>#!/usr/bin/env puma
  
  directory '/var/www/project/current'
  rackup &quot;/var/www/project/current/config.ru&quot;
  environment 'production'
  tag ''
  pidfile &quot;/var/www/project/shared/tmp/pids/puma.pid&quot;
  state_path &quot;/var/www/project/shared/tmp/pids/puma.state&quot;
  stdout_redirect '/var/www/project/shared/log/puma_access.log', '/var/www/project/shared/log/puma_error.log', true
  threads 0,16
  bind 'unix:///var/www/project/shared/tmp/sockets/puma.sock'
  workers 0
  prune_bundler
  on_restart do
    puts 'Refreshing Gemfile'
    ENV[&quot;BUNDLE_GEMFILE&quot;] = &quot;&quot;
  end
  </code></pre>
  <p><strong>ServerInfo</strong></p>
  <ul>
  <li>OS: Linux</li>
  <li>Rails: 5.1.6</li>
  <li>Puma Version: 3.12.0</li>
  </ul>