{
    "mode": "man",
    "parameter": "debuginfod-client-config",
    "section": "7",
    "url": "https://www.chedong.com/phpMan.php/man/debuginfod-client-config/7/json",
    "generated": "2026-05-30T06:06:27Z",
    "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\n$DEBUGINFODURLS\nThis environment variable contains a list of URL prefixes for trusted  debuginfod  in‐\nstances.  Alternate URL prefixes are separated by space.  Avoid referential loops that\ncause a server to contact itself, directly or indirectly - the results would be hilar‐\nious.\n\n\n$DEBUGINFODCACHEPATH\nThis 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\n$DEBUGINFODPROGRESS\nThis  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\n$DEBUGINFODVERBOSE\nThis 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\n$DEBUGINFODRETRYLIMIT\nThis 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\n$DEBUGINFODTIMEOUT\nThis  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\n$DEBUGINFODMAXTIME\nThis 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\n$DEBUGINFODMAXSIZE\nThis 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"
                }
            ]
        },
        "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\n$XDGCACHEHOME/debuginfodclient/\nDefault cache directory, if $XDGCACHEHOME is set.\n\n\n$HOME/.cache/debuginfodclient/\nDefault cache directory, if $XDGCACHEHOME is not set.\n\n\n$HOME/.debuginfodclientcache/\nDeprecated cache directory, used only if preexisting.\n\n\ncachecleanintervals\nThis  control  file gives the interval between cache cleaning rounds, in seconds.  The\ndefault is 86400, one day.  0 means \"immediately\".\n\n\nmaxunusedages\nThis control file sets how long unaccessed debuginfo-related files  are  retained,  in\nseconds.  The default is 604800, one week.  0 means \"immediately\".\n\n\ncachemisss\nThis  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\n\n\nDEBUGINFOD-CLIENT-CONFIG(7)",
            "subsections": []
        }
    },
    "summary": "debuginfod-client-config  -  debuginfod client environment variables, cache control files and etc.",
    "flags": [],
    "examples": [],
    "see_also": []
}