Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-37625

exception in logs when hitting /monitoring?action=gc

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      We have a script that runs GC periodically by hitting "/monitoring?action=gc".

      We upgraded to the latest version of the monitoring plugin and Jenkins and we are now getting the following exception in the logs:

      /monitoring?action=gc
      java.lang.IllegalStateException: Response is committed
      	at org.eclipse.jetty.server.Request.getSession(Request.java:1400)
      	at org.eclipse.jetty.security.authentication.FormAuthenticator.validateRequest(FormAuthenticator.java:260)
      	at org.eclipse.jetty.security.authentication.DeferredAuthentication.authenticate(DeferredAuthentication.java:68)
      	at org.eclipse.jetty.server.Request.getUserPrincipal(Request.java:1479)
      	at org.eclipse.jetty.server.Request.getRemoteUser(Request.java:1087)
      	at winstone.accesslog.SimpleAccessLogger.log(SimpleAccessLogger.java:89)
      	at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:113)
      	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
      	at org.eclipse.jetty.server.Server.handle(Server.java:499)
      	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
      	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
      	at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
      	at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:745)
      

      It looks benign, but it's something that we haven't seen before.

      I can't tell if the "/monitoring?action=gc" is actually working, but it looks like it is.
      If it is not, I'll upgrade the severity of this ticket.

        Attachments

          Activity

          grayaii Alex Gray created issue -
          evernat evernat made changes -
          Field Original Value New Value
          Component/s winstone-jetty [ 20645 ]
          Component/s monitoring-plugin [ 15958 ]
          Assignee evernat [ evernat ]
          jglick Jesse Glick made changes -
          Assignee Cyrille Le Clerc [ cleclerc ]
          jglick Jesse Glick made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          jglick Jesse Glick made changes -
          Status In Progress [ 3 ] In Review [ 10005 ]
          jglick Jesse Glick made changes -
          Remote Link This issue links to "Jetty issue #1267 (Web Link)" [ 15272 ]
          jglick Jesse Glick made changes -
          Remote Link This issue links to "winstone PR 31 (Web Link)" [ 15273 ]
          jglick Jesse Glick made changes -
          Remote Link This issue links to "core PR 2721 (Web Link)" [ 15274 ]
          jglick Jesse Glick made changes -
          Labels lts-candidate
          jglick Jesse Glick made changes -
          Resolution Fixed [ 1 ]
          Status In Review [ 10005 ] Resolved [ 5 ]
          olivergondza Oliver Gondža made changes -
          Labels lts-candidate 2.32.2-rejected lts-candidate
          olivergondza Oliver Gondža made changes -
          Labels 2.32.2-rejected lts-candidate 2.32.2-rejected 2.32.3-fixed
          cloudbees CloudBees Inc. made changes -
          Remote Link This issue links to "CloudBees Internal OSS-1768 (Web Link)" [ 18586 ]

            People

            Assignee:
            cleclerc Cyrille Le Clerc
            Reporter:
            grayaii Alex Gray
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: