From 01a481bc8e93858c3f592305e2f2c6cd116b9d28 Mon Sep 17 00:00:00 2001 From: Timo Pollmeier Date: Thu, 25 Jul 2024 15:28:01 +0200 Subject: [PATCH 1/4] Add: New option --max-concurrent-scan-updates The new startup option --max-concurrent-scan-updates is added which allows limiting the number of scan updates which can run at the same time. This can be used to limit the peak memory and CPU usage when running multiple scans at the same time. --- doc/gvmd.8 | 3 + doc/gvmd.8.xml | 9 ++ doc/gvmd.html | 9 ++ src/gvmd.c | 12 +++ src/manage.c | 264 ++++++++++++++++++++++++++++++++++++++++++++++++- src/manage.h | 19 ++++ 6 files changed, 315 insertions(+), 1 deletion(-) diff --git a/doc/gvmd.8 b/doc/gvmd.8 index 7179be5d4..1460e997e 100644 --- a/doc/gvmd.8 +++ b/doc/gvmd.8 @@ -109,6 +109,9 @@ File mode of the unix socket \fB--listen-owner=\fISTRING\fB\f1 Owner of the unix socket .TP +\fB--max-concurrent-scan-updates=\fINUMBER\fB\f1 +Maximum number of scan updates that can run at the same time. Default: 0 (unlimited). +.TP \fB--max-email-attachment-size=\fINUMBER\fB\f1 Maximum size of alert email attachments, in bytes. .TP diff --git a/doc/gvmd.8.xml b/doc/gvmd.8.xml index 8e4bca59a..49bed2b70 100644 --- a/doc/gvmd.8.xml +++ b/doc/gvmd.8.xml @@ -262,6 +262,15 @@ along with this program. If not, see .

Owner of the unix socket

+