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

Too many open files when using Resource root URL

XMLWordPrintable

    • 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..

       

       

       

       

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

              Created:
              Updated:
              Resolved: