{
    "mode": "man",
    "parameter": "debuginfod-client-config",
    "section": "7",
    "url": "https://www.chedong.com/phpMan.php/man/debuginfod-client-config/7/json",
    "generated": "2026-10-07T14:51:57Z",
    "synopsis": "Several environment variables and control files control the behaviour  of  debuginfod  client\napplications.",
    "sections": {
        "NAME": {
            "content": "debuginfod-client-config  -  debuginfod client environment variables, cache control files and\netc.\n\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "Several environment variables and control files control the behaviour  of  debuginfod  client\napplications.\n\n\n\n",
            "subsections": []
        },
        "ENVIRONMENT VARIABLES": {
            "content": "",
            "subsections": [
                {
                    "name": "$TMPDIR",
                    "content": "This environment variable points to a file system to be used for temporary files.  The\ndefault is /tmp.\n\n"
                },
                {
                    "name": "$DEBUGINFOD_URLS",
                    "content": "This  environment  variable contains a list of URL prefixes for trusted debuginfod in‐\nstances.  Alternate URL prefixes are separated by space.   This  environment  variable\nmay be set by /etc/profile.d scripts reading /etc/debuginfod/*.urls files.\n\n"
                },
                {
                    "name": "$DEBUGINFOD_CACHE_PATH",
                    "content": "This environment variable governs the location of the cache where downloaded files and\ncache-control files are kept.  The default directory is chosen based on other environ‐\nment variables, see below.\n\n"
                },
                {
                    "name": "$DEBUGINFOD_PROGRESS",
                    "content": "This  environment  variable  governs  the default progress function.  If set, and if a\nprogressfn is not explicitly set, then the  library  will  configure  a  default  pro‐\ngressfn.   This function will append a simple progress message periodically to stderr.\nThe default is no progress function output.\n\n"
                },
                {
                    "name": "$DEBUGINFOD_VERBOSE",
                    "content": "This environment variable governs the default file descriptor for verbose output.   If\nset,  and  if a verbose fd is not explicitly set, then the verbose output will be pro‐\nduced on STDERRFILENO.\n\n"
                },
                {
                    "name": "$DEBUGINFOD_RETRY_LIMIT",
                    "content": "This environment variable governs the default limit of  retry  attempts.  If  a  query\nfailed with errno other than ENOENT, will initiate several attempts within the limit.\n\n"
                },
                {
                    "name": "$DEBUGINFOD_TIMEOUT",
                    "content": "This  environment variable governs the download commencing timeout for each debuginfod\nHTTP connection.  A server that fails to provide at least 100K  of  data  within  this\nmany seconds is skipped. The default is 90 seconds.  (Zero or negative means \"no time‐\nout\".)\n\n"
                },
                {
                    "name": "$DEBUGINFOD_MAXTIME",
                    "content": "This environment variable dictates how long the client will wait to complete the down‐\nload  a  file  found  on a server in seconds. It is best used to ensure that a file is\ndownloaded quickly or be rejected. The default is 0 (infinite time).\n\n"
                },
                {
                    "name": "$DEBUGINFOD_MAXSIZE",
                    "content": "This environment variable dictates the maximum size of a file to  download  in  bytes.\nThis  is best used if the user would like to ensure only small files are downloaded. A\nvalue of 0 causes no consideration for size, and the client may attempt to download  a\nfile of any size.  The default is 0 (infinite size).\n\n"
                },
                {
                    "name": "$DEBUGINFOD_HEADERS_FILE",
                    "content": "This  environment variable points to a file that supplies headers to outbound HTTP re‐\nquests, one per line. The header lines shouldn't end with CRLF, unless that's the sys‐\ntem newline convention. Whitespace-only lines are skipped.\n\n"
                }
            ]
        },
        "CACHE": {
            "content": "Before each query, the debuginfod client library checks for a need to clean  the  cache.   If\nit's  time  to clean, the library traverses the cache directory and removes downloaded debug‐\ninfo-related artifacts and newly empty directories, if they have not been accessed recently.\n\nControl files are located directly under the cache directory.  They  contain  simple  decimal\nnumbers to set cache-related configuration parameters.  If the files do not exist, the client\nlibrary creates the files with the default parameter values as content.\n\nAfter  each  query, the debuginfod client library deposits newly received files into a direc‐\ntory & file that is named based on the build-id.  A failed query is also cached by a  special\nfile.  The naming convention used for these artifacts is deliberately undocumented.\n\n",
            "subsections": [
                {
                    "name": "$XDG_CACHE_HOME/debuginfod_client/",
                    "content": "Default cache directory, if $XDGCACHEHOME is set.\n\n"
                },
                {
                    "name": "$HOME/.cache/debuginfod_client/",
                    "content": "Default cache directory, if $XDGCACHEHOME is not set.\n\n"
                },
                {
                    "name": "$HOME/.debuginfod_client_cache/",
                    "content": "Deprecated cache directory, used only if preexisting.\n\n"
                },
                {
                    "name": "cache_clean_interval_s",
                    "content": "This  control  file gives the interval between cache cleaning rounds, in seconds.  The\ndefault is 86400, one day.  0 means \"immediately\".\n\n"
                },
                {
                    "name": "max_unused_age_s",
                    "content": "This control file sets how long unaccessed debuginfo-related files  are  retained,  in\nseconds.  The default is 604800, one week.  0 means \"immediately\".\n\n"
                },
                {
                    "name": "cache_miss_s",
                    "content": "This  control file sets how long to remember a query failure, in seconds.  New queries\nfor the same artifacts within this time window are short-circuited (returning an imme‐\ndiate failure instead of sending a new query to servers).   This  accelerates  queries\nthat  probably would still fail.  The default is 600, 10 minutes.  0 means \"forget im‐\nmediately\".\n\nDEBUGINFOD-CLIENT-CONFIG(7)"
                }
            ]
        }
    },
    "summary": "debuginfod-client-config  -  debuginfod client environment variables, cache control files and etc.",
    "flags": [],
    "examples": [],
    "see_also": []
}