summaryrefslogtreecommitdiff
path: root/doc/debuginfod.8
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@redhat.com>2023-05-08 11:05:48 -0400
committerFrank Ch. Eigler <fche@redhat.com>2023-05-09 12:14:21 -0400
commitd16628bb7dc39a020e555e16bf56374fdac84e42 (patch)
tree3ea7b77053e65c546840b39e076d84edbd1c330c /doc/debuginfod.8
parenta2f3f09745f781663eb874a4a86b5781cb423115 (diff)
downloadelfutils-d16628bb7dc39a020e555e16bf56374fdac84e42.tar.gz
PR30316: debuginfod wal checkpointingusers/fche/try-filecomp
Add a "--scan-checkpoint=NUM" option to debuginfod to control forced synchronization & sqlite -wal checkpointing for the multithreaded scanning process. In absence of this, a server that's busy with other read & write operations can accumulate potentially large SQLITE WAL temporary files. This option causes the server to take intermittent quiescent breaks during scanning, during which the -wal file can be processed and truncated. Signed-off-by: Frank Ch. Eigler <fche@redhat.com>
Diffstat (limited to 'doc/debuginfod.8')
-rw-r--r--doc/debuginfod.87
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/debuginfod.8 b/doc/debuginfod.8
index 5358aaba..d4316bec 100644
--- a/doc/debuginfod.8
+++ b/doc/debuginfod.8
@@ -283,6 +283,13 @@ If a setup has no access to source code, the source info is not
required.
.TP
+.B "\-\-scan\-checkpoint=NUM"
+Run a synchronized SQLITE WAL checkpoint operation after every NUM
+completed archive or file scans. This may slow down parallel scanning
+phase somewhat, but generate much smaller "-wal" temporary files on
+busy servers. The default is 256. Disabled if 0.
+
+.TP
.B "\-v"
Increase verbosity of logging to the standard error file descriptor.
May be repeated to increase details. The default verbosity is 0.