Uploaded image for project: 'CernVM'
  1. CernVM
  2. CVM-1956

A disabled geo api can hang apache

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: CernVM-FS 2.8
    • Component/s: CVMFS
    • Labels:
      None
    • Platforms:
      ANY
    • Development:

      Description

      RAL is currently running in production their stratum 1 with CVMFS_GEO_DB_FILE=NONE so the geo api is disabled. They also happened to switch to the currently recommended httpd cvmfs configuration for cvmfs-hastratum1 (step 7 here) and with that the first attempt of a client to use the geo api see a 500 Internal Server Error, and subsequent attempts sometime later hang. Eventually it causes even normal data queries to hang as httpd processes get tied up with hanging geo api queries. When I reproduced it the httpd error_log showed:

      OSError: [Errno 2] No such file or directory: '/var/lib/cvmfs-server/geo/GeoLite2-City.mmdb'
      

      This should fail more gracefully and not cause anything to hang.

        Attachments

          Activity

            People

            Assignee:
            dwd Dave Dykstra
            Reporter:
            dwd Dave Dykstra
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: