Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-13018

Serving docs locally with jekyll fails with inotify limit

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Works for Me
    • Affects Version/s: 1.9.0
    • Fix Version/s: None
    • Component/s: Documentation
    • Labels:
      None

      Description

      Both build-docs.sh -i and build-docs.sh -p currently fail (also in the dockerized builds in docs/docker):

      $ ./build_docs.sh -p
      Fetching gem metadata from https://rubygems.org/..........
      ...
      Bundle complete! 8 Gemfile dependencies, 36 gems now installed.
      Bundled gems are installed into `./.rubydeps`
      Configuration file: /home/nico/Projects/flink/docs/_config.yml
                  Source: /home/nico/Projects/flink/docs
             Destination: /home/nico/Projects/flink/docs/content
       Incremental build: disabled. Enable with --incremental
            Generating... 
                          done in 167.943 seconds.
      jekyll 3.7.2 | Error:  Too many open files - Failed to initialize inotify: the user limit on the total number of inotify instances has been reached.
      

      I wouldn't suggest working around by setting a higher inotify limit but upgrading jekyll did not solve it and so far there are two options:

      1. disable watching files via --no-watch
      2. use polling instead of `inotify` via `--force_polling`
      3. try to reduce the set of files by adding excludes for (expected) static files

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                NicoK Nico Kruber
                Reporter:
                NicoK Nico Kruber
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: