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

Too many open files when using Resource root URL

    • 2.222

      Last week I changed our jenkins instance (big one) to using Resource root URL, and since then we had one big crash because of cannot open more files error.

      We are using Simple Theme Plugin with Extra CSS file pointing to userContent/styles.css file..
      And I see that on OS level this styles.css file is opened more than 900 times.. (increasing with each new session I assume)
      That files are never closing..

      I was first thinking about bug in Simple Theme Plugin but it just adds code to download that css file.. so I assume bug is in code in Resource root URL implementation (that css is now read via that new redirection)

       

      Changing to Inline CSS and fixes the problem, but I assume it may manifest in much more places...

       

      Extra data:

      Every request ro url redirected to `resource URL root` ends up never closing.

      We are using nginx reverse proxy, im trying to investigate it that may be issue..

       

       

       

       

          [JENKINS-61121] Too many open files when using Resource root URL

          Karol Lassak created issue -
          Karol Lassak made changes -
          Description Original: Last week I changed our jenkins instance (big one) to using {{Resource root URL}}, and since then we had one big crash because of {{cannot open more files}} error.

          We are using {{Simple Theme Plugin}} with {{Extra CSS}} file pointing to {{userContent/styles.css}} file..
          And I see that on OS level this styles.css file is opened more than 900 times.. (increasing with each new session I assume)
          That files are never closing..

          I was first thinking about bug in {{Simple Theme Plugin}} but it just adds code to download that css file.. so I assume bug is in code in {{Resource root URL}} implementation (that css is now read via that new redirection)

           

          Changing to {{Inline CSS}} and fixes the problem, but I assume it may manifest in much more places...

           
          New: Last week I changed our jenkins instance (big one) to using {{Resource root URL}}, and since then we had one big crash because of {{cannot open more files}} error.

          We are using {{Simple Theme Plugin}} with {{Extra CSS}} file pointing to {{userContent/styles.css}} file..
           And I see that on OS level this styles.css file is opened more than 900 times.. (increasing with each new session I assume)
           That files are never closing..

          I was first thinking about bug in {{Simple Theme Plugin}} but it just adds code to download that css file.. so I assume bug is in code in {{Resource root URL}} implementation (that css is now read via that new redirection)

           

          Changing to {{Inline CSS}} and fixes the problem, but I assume it may manifest in much more places...

           

           

           
          Karol Lassak made changes -
          Description Original: Last week I changed our jenkins instance (big one) to using {{Resource root URL}}, and since then we had one big crash because of {{cannot open more files}} error.

          We are using {{Simple Theme Plugin}} with {{Extra CSS}} file pointing to {{userContent/styles.css}} file..
           And I see that on OS level this styles.css file is opened more than 900 times.. (increasing with each new session I assume)
           That files are never closing..

          I was first thinking about bug in {{Simple Theme Plugin}} but it just adds code to download that css file.. so I assume bug is in code in {{Resource root URL}} implementation (that css is now read via that new redirection)

           

          Changing to {{Inline CSS}} and fixes the problem, but I assume it may manifest in much more places...

           

           

           
          New: Last week I changed our jenkins instance (big one) to using {{Resource root URL}}, and since then we had one big crash because of {{cannot open more files}} error.

          We are using {{Simple Theme Plugin}} with {{Extra CSS}} file pointing to {{userContent/styles.css}} file..
           And I see that on OS level this styles.css file is opened more than 900 times.. (increasing with each new session I assume)
           That files are never closing..

          I was first thinking about bug in {{Simple Theme Plugin}} but it just adds code to download that css file.. so I assume bug is in code in {{Resource root URL}} implementation (that css is now read via that new redirection)

           

          Changing to {{Inline CSS}} and fixes the problem, but I assume it may manifest in much more places...

           

           

           

           
          Karol Lassak made changes -
          Description Original: Last week I changed our jenkins instance (big one) to using {{Resource root URL}}, and since then we had one big crash because of {{cannot open more files}} error.

          We are using {{Simple Theme Plugin}} with {{Extra CSS}} file pointing to {{userContent/styles.css}} file..
           And I see that on OS level this styles.css file is opened more than 900 times.. (increasing with each new session I assume)
           That files are never closing..

          I was first thinking about bug in {{Simple Theme Plugin}} but it just adds code to download that css file.. so I assume bug is in code in {{Resource root URL}} implementation (that css is now read via that new redirection)

           

          Changing to {{Inline CSS}} and fixes the problem, but I assume it may manifest in much more places...

           

           

           

           
          New: Last week I changed our jenkins instance (big one) to using {{Resource root URL}}, and since then we had one big crash because of {{cannot open more files}} error.

          We are using {{Simple Theme Plugin}} with {{Extra CSS}} file pointing to {{userContent/styles.css}} file..
           And I see that on OS level this styles.css file is opened more than 900 times.. (increasing with each new session I assume)
           That files are never closing..

          I was first thinking about bug in {{Simple Theme Plugin}} but it just adds code to download that css file.. so I assume bug is in code in {{Resource root URL}} implementation (that css is now read via that new redirection)

           

          Changing to {{Inline CSS}} and fixes the problem, but I assume it may manifest in much more places...

           

          Extra data:

          Every request ro url redirected to `resource URL root` ends up never closing.

          We are using nginx reverse proxy, im trying to investigate it that may be issue..

           

           

           

           
          Daniel Beck made changes -
          Labels Original: resource-root-url simplethemeplugin New: lts-candidate resource-root-url simplethemeplugin
          Daniel Beck made changes -
          Assignee New: Daniel Beck [ danielbeck ]
          Daniel Beck made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Daniel Beck made changes -
          Remote Link New: This issue links to "PR 4504 (Web Link)" [ 24504 ]
          Daniel Beck made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Daniel Beck made changes -
          Released As New: 2.222
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Fixed but Unreleased [ 10203 ]
          Oleg Nenashev made changes -
          Status Original: Fixed but Unreleased [ 10203 ] New: Resolved [ 5 ]

            danielbeck Daniel Beck
            ingwar Karol Lassak
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: