{"host": "gerrit2003.wikimedia.org", "state": "core_diff", "description": "Differences to core resources", "diff": {"full": {"total": 3442, "only_in_self": [], "only_in_other": [], "resource_diffs": [{"resource": "File[/etc/apache2/sites-available/50-gerrit-wikimedia-org.conf]", "content": "--- /etc/apache2/sites-available/50-gerrit-wikimedia-org.conf.orig\n+++ /etc/apache2/sites-available/50-gerrit-wikimedia-org.conf\n@@ -116,47 +116,14 @@\n     # overlapping. The first matching rule wins. The definitions thus must be\n     # sorted by URL length, starting with the longest worker URLs.\n \n-    # mod_proxy requires a shorter idle timeout than Gerrit's Jetty\n-    #\n-    # Because Gerrit's Jetty has a 30s timeout (httpd.idleTimeout = 30s):\n-    #\n-    # - by the tiny short time it takes for mod_proxy to send the packet to\n-    #   Jetty, the connection might have reached its timeout on the Jetty side\n-    # - Jetty receives a packet for a connection it has just closed\n-    # - Jetty sends a FIN\n-    # - mod_proxy_http rightfully considers the backend to not be readable, logs:\n-    #     AH01102: error reading status line from remote server 127.0.0.1:8080\n-    # - mod_proxy logs AH00898: Error reading from remote server returned by <path>\n-    # - Apache sends back a 502 bad gateway to the client.\n-    #\n-    # Apache mod_proxy states:\n-    #\n-    # > Use the ttl parameter to set an optional time to live; connections\n-    # > which have been unused for at least ttl seconds will be closed. ttl can\n-    # > be used to avoid using a connection which is subject to closing because\n-    # > of the backend server's keep-alive timeout.\n-    #\n-    # Description for the ProxyPass ttl option:\n-    #\n-    # > Time to live for inactive connections and associated connection pool\n-    # > entries, in seconds. Once reaching this limit, a connection will not be\n-    # > used again; it will be closed at some later time.\n-    #\n-    # ttl MUST BE SHORTER than Gerrit `httpd.idleTimeout` with enough margin to\n-    # take in account the network and request processing latency.\n-    #\n-    # References:\n-    # - https://phabricator.wikimedia.org/T246763#11637703\n-    # - https://phabricator.wikimedia.org/T421904#11777228\n-\n     # Worker for Gitiles\n-    ProxyPass /g/ http://127.0.0.1:8080/r/plugins/gitiles/ retry=0 nocanon Keepalive=On ttl=25\n+    ProxyPass /g/ http://127.0.0.1:8080/r/plugins/gitiles/ retry=0 nocanon disablereuse=on\n     # Below requests are handled by the same backend since the URLs match and\n     # thus with the same settings.\n     ProxyPass /r/plugins/gitiles/ http://127.0.0.1:8080/r/plugins/gitiles/\n \n     # Worker for Gerrit\n-    ProxyPass /r/ http://127.0.0.1:8080/r/ retry=0 nocanon Keepalive=On ttl=25\n+    ProxyPass /r/ http://127.0.0.1:8080/r/ retry=0 nocanon disablereuse=on\n \n     ErrorDocument 503 \"/error.html#\"\n "}, {"resource": "Httpd::Conf[gerrit.wikimedia.org]"}, {"resource": "Httpd::Site[gerrit.wikimedia.org]"}], "perc_changed": "0.09%"}, "core": {"total": 3442, "only_in_self": [], "only_in_other": [], "resource_diffs": [{"resource": "File[/etc/apache2/sites-available/50-gerrit-wikimedia-org.conf]", "content": "--- /etc/apache2/sites-available/50-gerrit-wikimedia-org.conf.orig\n+++ /etc/apache2/sites-available/50-gerrit-wikimedia-org.conf\n@@ -116,47 +116,14 @@\n     # overlapping. The first matching rule wins. The definitions thus must be\n     # sorted by URL length, starting with the longest worker URLs.\n \n-    # mod_proxy requires a shorter idle timeout than Gerrit's Jetty\n-    #\n-    # Because Gerrit's Jetty has a 30s timeout (httpd.idleTimeout = 30s):\n-    #\n-    # - by the tiny short time it takes for mod_proxy to send the packet to\n-    #   Jetty, the connection might have reached its timeout on the Jetty side\n-    # - Jetty receives a packet for a connection it has just closed\n-    # - Jetty sends a FIN\n-    # - mod_proxy_http rightfully considers the backend to not be readable, logs:\n-    #     AH01102: error reading status line from remote server 127.0.0.1:8080\n-    # - mod_proxy logs AH00898: Error reading from remote server returned by <path>\n-    # - Apache sends back a 502 bad gateway to the client.\n-    #\n-    # Apache mod_proxy states:\n-    #\n-    # > Use the ttl parameter to set an optional time to live; connections\n-    # > which have been unused for at least ttl seconds will be closed. ttl can\n-    # > be used to avoid using a connection which is subject to closing because\n-    # > of the backend server's keep-alive timeout.\n-    #\n-    # Description for the ProxyPass ttl option:\n-    #\n-    # > Time to live for inactive connections and associated connection pool\n-    # > entries, in seconds. Once reaching this limit, a connection will not be\n-    # > used again; it will be closed at some later time.\n-    #\n-    # ttl MUST BE SHORTER than Gerrit `httpd.idleTimeout` with enough margin to\n-    # take in account the network and request processing latency.\n-    #\n-    # References:\n-    # - https://phabricator.wikimedia.org/T246763#11637703\n-    # - https://phabricator.wikimedia.org/T421904#11777228\n-\n     # Worker for Gitiles\n-    ProxyPass /g/ http://127.0.0.1:8080/r/plugins/gitiles/ retry=0 nocanon Keepalive=On ttl=25\n+    ProxyPass /g/ http://127.0.0.1:8080/r/plugins/gitiles/ retry=0 nocanon disablereuse=on\n     # Below requests are handled by the same backend since the URLs match and\n     # thus with the same settings.\n     ProxyPass /r/plugins/gitiles/ http://127.0.0.1:8080/r/plugins/gitiles/\n \n     # Worker for Gerrit\n-    ProxyPass /r/ http://127.0.0.1:8080/r/ retry=0 nocanon Keepalive=On ttl=25\n+    ProxyPass /r/ http://127.0.0.1:8080/r/ retry=0 nocanon disablereuse=on\n \n     ErrorDocument 503 \"/error.html#\"\n "}], "perc_changed": "0.03%"}, "main": {"total": 3442, "only_in_self": [], "only_in_other": [], "resource_diffs": [{"resource": "File[/etc/apache2/sites-available/50-gerrit-wikimedia-org.conf]", "content": "--- /etc/apache2/sites-available/50-gerrit-wikimedia-org.conf.orig\n+++ /etc/apache2/sites-available/50-gerrit-wikimedia-org.conf\n@@ -116,47 +116,14 @@\n     # overlapping. The first matching rule wins. The definitions thus must be\n     # sorted by URL length, starting with the longest worker URLs.\n \n-    # mod_proxy requires a shorter idle timeout than Gerrit's Jetty\n-    #\n-    # Because Gerrit's Jetty has a 30s timeout (httpd.idleTimeout = 30s):\n-    #\n-    # - by the tiny short time it takes for mod_proxy to send the packet to\n-    #   Jetty, the connection might have reached its timeout on the Jetty side\n-    # - Jetty receives a packet for a connection it has just closed\n-    # - Jetty sends a FIN\n-    # - mod_proxy_http rightfully considers the backend to not be readable, logs:\n-    #     AH01102: error reading status line from remote server 127.0.0.1:8080\n-    # - mod_proxy logs AH00898: Error reading from remote server returned by <path>\n-    # - Apache sends back a 502 bad gateway to the client.\n-    #\n-    # Apache mod_proxy states:\n-    #\n-    # > Use the ttl parameter to set an optional time to live; connections\n-    # > which have been unused for at least ttl seconds will be closed. ttl can\n-    # > be used to avoid using a connection which is subject to closing because\n-    # > of the backend server's keep-alive timeout.\n-    #\n-    # Description for the ProxyPass ttl option:\n-    #\n-    # > Time to live for inactive connections and associated connection pool\n-    # > entries, in seconds. Once reaching this limit, a connection will not be\n-    # > used again; it will be closed at some later time.\n-    #\n-    # ttl MUST BE SHORTER than Gerrit `httpd.idleTimeout` with enough margin to\n-    # take in account the network and request processing latency.\n-    #\n-    # References:\n-    # - https://phabricator.wikimedia.org/T246763#11637703\n-    # - https://phabricator.wikimedia.org/T421904#11777228\n-\n     # Worker for Gitiles\n-    ProxyPass /g/ http://127.0.0.1:8080/r/plugins/gitiles/ retry=0 nocanon Keepalive=On ttl=25\n+    ProxyPass /g/ http://127.0.0.1:8080/r/plugins/gitiles/ retry=0 nocanon disablereuse=on\n     # Below requests are handled by the same backend since the URLs match and\n     # thus with the same settings.\n     ProxyPass /r/plugins/gitiles/ http://127.0.0.1:8080/r/plugins/gitiles/\n \n     # Worker for Gerrit\n-    ProxyPass /r/ http://127.0.0.1:8080/r/ retry=0 nocanon Keepalive=On ttl=25\n+    ProxyPass /r/ http://127.0.0.1:8080/r/ retry=0 nocanon disablereuse=on\n \n     ErrorDocument 503 \"/error.html#\"\n "}, {"resource": "Httpd::Conf[gerrit.wikimedia.org]"}, {"resource": "Httpd::Site[gerrit.wikimedia.org]"}], "perc_changed": "0.09%"}}}