Scan interrupted at 1%

┌──(xxx㉿xxxx)-[~]
└─$ sudo redis-cli -s /run/redis-openvas/redis-server.sock Config get databases
1) "databases"
2) "1025"

I install new openvas-scanner version(22.4.1-2)
It fixed something but not completely, now the scan just stops

gvmd.log

md manage:WARNING:2023-02-24 22h18.57 UTC:713418: OSP get_osp_scan_status fd47dfc4-aa48-477a-a7a4-4b24a1aee283: Fatal error
md manage:WARNING:2023-02-24 22h19.02 UTC:713418: Could not connect to Scanner at /var/run/ospd/ospd.sock
md manage:WARNING:2023-02-24 22h19.02 UTC:713418: Connection lost with the scanner at /var/run/ospd/ospd.sock. Trying again in 1 second.
md manage:WARNING:2023-02-24 22h19.03 UTC:713418: Could not connect to Scanner at /var/run/ospd/ospd.sock
md manage:WARNING:2023-02-24 22h19.03 UTC:713418: Connection lost with the scanner at /var/run/ospd/ospd.sock. Trying again in 1 second.
md manage:WARNING:2023-02-24 22h19.04 UTC:713418: Could not connect to Scanner at /var/run/ospd/ospd.sock
md manage:WARNING:2023-02-24 22h19.04 UTC:713418: Connection lost with the scanner at /var/run/ospd/ospd.sock. Trying again in 1 second.
md manage:WARNING:2023-02-24 22h19.05 UTC:713418: Could not connect to Scanner at /var/run/ospd/ospd.sock
md manage:WARNING:2023-02-24 22h19.05 UTC:713418: Could not connect to Scanner at /var/run/ospd/ospd.sock
event task:MESSAGE:2023-02-24 22h19.05 UTC:713418: Status of task Geneva Part 1 (a99c474e-662f-4479-82f5-d0c9a31670fa) has changed to Stopped
md manage:WARNING:2023-02-24 22h19.06 UTC:1413221: osp_scanner_feed_version: failed to connect to /run/ospd/ospd.sock
md manage:WARNING:2023-02-24 22h19.17 UTC:1413224: osp_scanner_feed_version: failed to connect to /run/ospd/ospd.sock
md manage:WARNING:2023-02-24 22h19.27 UTC:1413227: osp_scanner_feed_version: failed to connect to /run/ospd/ospd.sock
md manage:WARNING:2023-02-24 22h19.37 UTC:1413229: osp_scanner_feed_version: failed to connect to /run/ospd/ospd.sock
md manage:WARNING:2023-02-24 22h19.47 UTC:1413232: osp_scanner_feed_version: failed to connect to /run/ospd/ospd.sock
md manage:WARNING:2023-02-24 22h19.57 UTC:1413235: osp_scanner_feed_version: failed to connect to /run/ospd/ospd.sock
md manage:   INFO:2023-02-24 22h20.07 UTC:1413253: osp_scanner_feed_version: No feed version available yet. OSPd OpenVAS is still starting
md manage:   INFO:2023-02-24 22h20.17 UTC:1413263: osp_scanner_feed_version: No feed version available yet. OSPd OpenVAS is still starting
md manage:   INFO:2023-02-24 22h20.27 UTC:1413268: osp_scanner_feed_version: No feed version available yet. OSPd OpenVAS is still starting
md manage:   INFO:2023-02-24 22h20.37 UTC:1413271: osp_scanner_feed_version: No feed version available yet. OSPd OpenVAS is still starting
md manage:   INFO:2023-02-24 22h20.47 UTC:1413275: osp_scanner_feed_version: No feed version available yet. OSPd OpenVAS is still starting
md manage:   INFO:2023-02-24 22h20.57 UTC:1413281: osp_scanner_feed_version: No feed version available yet. OSPd OpenVAS is still starting
md manage:   INFO:2023-02-24 22h21.07 UTC:1413284: osp_scanner_feed_version: No feed version available yet. OSPd OpenVAS is still starting
md manage:   INFO:2023-02-24 22h21.17 UTC:1413288: osp_scanner_feed_version: No feed version available yet. OSPd OpenVAS is still starting
md manage:   INFO:2023-02-24 22h21.27 UTC:1413292: osp_scanner_feed_version: No feed version available yet. OSPd OpenVAS is still starting
md manage:   INFO:2023-02-24 22h21.37 UTC:1413295: osp_scanner_feed_version: No feed version available yet. OSPd OpenVAS is still starting
md manage:   INFO:2023-02-24 22h21.48 UTC:1413300: osp_scanner_feed_version: No feed version available yet. OSPd OpenVAS is still starting
md manage:   INFO:2023-02-24 22h21.58 UTC:1413304: osp_scanner_feed_version: No feed version available yet. OSPd OpenVAS is still starting
md manage:   INFO:2023-02-24 22h22.08 UTC:1413309: osp_scanner_feed_version: No feed version available yet. OSPd OpenVAS is still starting
md manage:   INFO:2023-02-24 22h22.18 UTC:1413313: osp_scanner_feed_version: No feed version available yet. OSPd OpenVAS is still starting

openvas.log

sd   main:MESSAGE:2023-02-24 21h54.20 utc:1211903: Running LSC via Notus for xxxx
sd   main:MESSAGE:2023-02-24 21h54.21 utc:1211903: Vulnerability scan fd47dfc4-aa48-477a-a7a4-4b24a1aee283 finished for host xxxx in 12818.23 seconds
sd   main:MESSAGE:2023-02-24 21h54.21 utc:1409131: Vulnerability scan fd47dfc4-aa48-477a-a7a4-4b24a1aee283 started for host: xxxx
lib  misc:MESSAGE:2023-02-24 22h11.18 utc:1413127: Function socket_negotiate_ssl called from gb_ssl_tls_secure_renegotiation_supported.nasl: SSL/TLS connection (host: xxxxx, ip: xxxx) failed.
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1209745: get_redis_ctx: redis connection error to /var/run/redis-openvas/redis-server.sock: Connection refused
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1209745: redis_direct_conn: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1327545: get_redis_ctx: redis connection error to /var/run/redis-openvas/redis-server.sock: Connection refused
sd   main:MESSAGE:2023-02-24 22h18.57 utc:1327545: Plugin '1.3.6.1.4.1.25623.1.0.901063' missing from nvticache.
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1327545: get_redis_ctx: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1327545: redis_direct_conn: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1401588: get_redis_ctx: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1401588: redis_direct_conn: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
sd   main:WARNING:2023-02-24 22h18.57 utc:1401588: SIGSEGV occurred!
sd   main:WARNING:2023-02-24 22h18.57 utc:1401588: openvas: openvas: testing xxxx(sighand_segv+0x28) [0x5635f83708c8]
sd   main:WARNING:2023-02-24 22h18.57 utc:1401588: /lib/x86_64-linux-gnu/libc.so.6(+0x3bf90) [0x7ff7d5e5af90]
sd   main:WARNING:2023-02-24 22h18.57 utc:1401588: openvas: openvas: testing xxxx(+0x5fe6) [0x5635f8368fe6]
sd   main:WARNING:2023-02-24 22h18.57 utc:1401588: openvas: openvas: testing xxxx(+0x6338) [0x5635f8369338]
sd   main:WARNING:2023-02-24 22h18.57 utc:1401588: openvas: openvas: testing xxxx(+0x74d0) [0x5635f836a4d0]
sd   main:WARNING:2023-02-24 22h18.57 utc:1401588: /lib/libopenvas_misc.so.22(ipc_exec_as_process+0x8a) [0x7ff7d647e9da]
sd   main:WARNING:2023-02-24 22h18.57 utc:1401588: openvas: openvas: testing xxxx(create_ipc_process+0x109) [0x5635f8370639]
sd   main:WARNING:2023-02-24 22h18.57 utc:1401588: openvas: openvas: testing xxxx(attack_network+0x8a7) [0x5635f836afa7]
sd   main:WARNING:2023-02-24 22h18.57 utc:1401588: openvas: openvas: testing xxx(openvas+0x52c) [0x5635f836d03c]
sd   main:WARNING:2023-02-24 22h18.57 utc:1401588: /lib/x86_64-linux-gnu/libc.so.6(+0x2718a) [0x7ff7d5e4618a]
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1373929: get_redis_ctx: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1373929: redis_direct_conn: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1402984: get_redis_ctx: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1402984: redis_direct_conn: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
sd   main:WARNING:2023-02-24 22h18.57 utc:1402984: SIGSEGV occurred!
sd   main:WARNING:2023-02-24 22h18.57 utc:1402984: openvas: openvas: testing xxxx(sighand_segv+0x28) [0x5635f83708c8]
sd   main:WARNING:2023-02-24 22h18.57 utc:1402984: /lib/x86_64-linux-gnu/libc.so.6(+0x3bf90) [0x7ff7d5e5af90]
sd   main:WARNING:2023-02-24 22h18.57 utc:1402984: openvas: openvas: testing xxxx(+0x5fe6) [0x5635f8368fe6]
sd   main:WARNING:2023-02-24 22h18.57 utc:1402984: openvas: openvas: testing xxxx(+0x6338) [0x5635f8369338]
sd   main:WARNING:2023-02-24 22h18.57 utc:1402984: openvas: openvas: testing xxxx(+0x74d0) [0x5635f836a4d0]
sd   main:WARNING:2023-02-24 22h18.57 utc:1402984: /lib/libopenvas_misc.so.22(ipc_exec_as_process+0x8a) [0x7ff7d647e9da]
sd   main:WARNING:2023-02-24 22h18.57 utc:1402984: openvas: openvas: testing xxxx(create_ipc_process+0x109) [0x5635f8370639]
sd   main:WARNING:2023-02-24 22h18.57 utc:1402984: openvas: openvas: testing xxxx(attack_network+0x8a7) [0x5635f836afa7]
sd   main:WARNING:2023-02-24 22h18.57 utc:1402984: openvas: openvas: testing xxxx(openvas+0x52c) [0x5635f836d03c]
sd   main:WARNING:2023-02-24 22h18.57 utc:1402984: /lib/x86_64-linux-gnu/libc.so.6(+0x2718a) [0x7ff7d5e4618a]
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1413104: get_redis_ctx: redis connection error to /var/run/redis-openvas/redis-server.sock: Connection refused
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1413104: get_redis_ctx: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1413104: get_redis_ctx: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
sd   main:WARNING:2023-02-24 22h18.57 utc:1327545: SIGSEGV occurred!
sd   main:WARNING:2023-02-24 22h18.57 utc:1327545: openvas: openvas: testing xxxx(sighand_segv+0x28) [0x5635f83708c8]
sd   main:WARNING:2023-02-24 22h18.57 utc:1327545: /lib/x86_64-linux-gnu/libc.so.6(+0x3bf90) [0x7ff7d5e5af90]
sd   main:WARNING:2023-02-24 22h18.57 utc:1327545: openvas: openvas: testing xxxx(+0x5fe6) [0x5635f8368fe6]
sd   main:WARNING:2023-02-24 22h18.57 utc:1327545: openvas: openvas: testing xxxx(+0x6338) [0x5635f8369338]
sd   main:WARNING:2023-02-24 22h18.57 utc:1327545: openvas: openvas: testing xxxx(+0x74d0) [0x5635f836a4d0]
sd   main:WARNING:2023-02-24 22h18.57 utc:1327545: /lib/libopenvas_misc.so.22(ipc_exec_as_process+0x8a) [0x7ff7d647e9da]
sd   main:WARNING:2023-02-24 22h18.57 utc:1327545: openvas: openvas: testing xxxx(create_ipc_process+0x109) [0x5635f8370639]
sd   main:WARNING:2023-02-24 22h18.57 utc:1327545: openvas: openvas: testing xxxx(attack_network+0x8a7) [0x5635f836afa7]
sd   main:WARNING:2023-02-24 22h18.57 utc:1327545: openvas: openvas: testing xxxx(openvas+0x52c) [0x5635f836d03c]
sd   main:WARNING:2023-02-24 22h18.57 utc:1327545: /lib/x86_64-linux-gnu/libc.so.6(+0x2718a) [0x7ff7d5e4618a]
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1409083: get_redis_ctx: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1409083: redis_direct_conn: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
sd   main:WARNING:2023-02-24 22h18.57 utc:1409083: SIGSEGV occurred!
sd   main:WARNING:2023-02-24 22h18.57 utc:1409083: openvas: openvas: testing xxxx(sighand_segv+0x28) [0x5635f83708c8]
sd   main:WARNING:2023-02-24 22h18.57 utc:1409083: /lib/x86_64-linux-gnu/libc.so.6(+0x3bf90) [0x7ff7d5e5af90]
sd   main:WARNING:2023-02-24 22h18.57 utc:1409083: openvas: openvas: testing xxxx(+0x5fe6) [0x5635f8368fe6]
sd   main:WARNING:2023-02-24 22h18.57 utc:1409083: openvas: openvas: testing xxxx(+0x6338) [0x5635f8369338]
sd   main:WARNING:2023-02-24 22h18.57 utc:1409083: openvas: openvas: testing xxxx(+0x74d0) [0x5635f836a4d0]
sd   main:WARNING:2023-02-24 22h18.57 utc:1409083: /lib/libopenvas_misc.so.22(ipc_exec_as_process+0x8a) [0x7ff7d647e9da]
sd   main:WARNING:2023-02-24 22h18.57 utc:1409083: openvas: openvas: testing xxxxx(create_ipc_process+0x109) [0x5635f8370639]
sd   main:WARNING:2023-02-24 22h18.57 utc:1409083: openvas: openvas: testing xxxx(attack_network+0x8a7) [0x5635f836afa7]
sd   main:WARNING:2023-02-24 22h18.57 utc:1409083: openvas: openvas: testing xxxx(openvas+0x52c) [0x5635f836d03c]
sd   main:WARNING:2023-02-24 22h18.57 utc:1409083: /lib/x86_64-linux-gnu/libc.so.6(+0x2718a) [0x7ff7d5e4618a]
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1413104: get_redis_ctx: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
sd   main:WARNING:2023-02-24 22h18.57 utc:1209745: SIGSEGV occurred!
sd   main:WARNING:2023-02-24 22h18.57 utc:1209745: openvas: openvas: testing xxxx(sighand_segv+0x28) [0x5635f83708c8]
sd   main:WARNING:2023-02-24 22h18.57 utc:1209745: /lib/x86_64-linux-gnu/libc.so.6(+0x3bf90) [0x7ff7d5e5af90]
sd   main:WARNING:2023-02-24 22h18.57 utc:1209745: openvas: openvas: testing xxxx(+0x5fe6) [0x5635f8368fe6]
sd   main:WARNING:2023-02-24 22h18.57 utc:1209745: openvas: openvas: testing xxxx(+0x6338) [0x5635f8369338]
sd   main:WARNING:2023-02-24 22h18.57 utc:1209745: openvas: openvas: testing xxxx(+0x74d0) [0x5635f836a4d0]
sd   main:WARNING:2023-02-24 22h18.57 utc:1209745: /lib/libopenvas_misc.so.22(ipc_exec_as_process+0x8a) [0x7ff7d647e9da]
sd   main:WARNING:2023-02-24 22h18.57 utc:1209745: openvas: openvas: testing xxxx(create_ipc_process+0x109) [0x5635f8370639]
sd   main:WARNING:2023-02-24 22h18.57 utc:1209745: openvas: openvas: testing xxxxx(attack_network+0x8a7) [0x5635f836afa7]
sd   main:WARNING:2023-02-24 22h18.57 utc:1209745: openvas: openvas: testing xxxx(openvas+0x52c) [0x5635f836d03c]
sd   main:WARNING:2023-02-24 22h18.57 utc:1209745: /lib/x86_64-linux-gnu/libc.so.6(+0x2718a) [0x7ff7d5e4618a]
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1409131: get_redis_ctx: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1409131: redis_direct_conn: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
sd   main:WARNING:2023-02-24 22h18.57 utc:1409131: SIGSEGV occurred!
sd   main:WARNING:2023-02-24 22h18.57 utc:1409131: openvas: openvas: testing xxxx(sighand_segv+0x28) [0x5635f83708c8]
sd   main:WARNING:2023-02-24 22h18.57 utc:1409131: /lib/x86_64-linux-gnu/libc.so.6(+0x3bf90) [0x7ff7d5e5af90]
sd   main:WARNING:2023-02-24 22h18.57 utc:1409131: openvas: openvas: testing xxxx(+0x5fe6) [0x5635f8368fe6]
sd   main:WARNING:2023-02-24 22h18.57 utc:1409131: openvas: openvas: testing xxxx(+0x6338) [0x5635f8369338]
sd   main:WARNING:2023-02-24 22h18.57 utc:1409131: openvas: openvas: testing xxxx(+0x74d0) [0x5635f836a4d0]
sd   main:WARNING:2023-02-24 22h18.57 utc:1409131: /lib/libopenvas_misc.so.22(ipc_exec_as_process+0x8a) [0x7ff7d647e9da]
sd   main:WARNING:2023-02-24 22h18.57 utc:1409131: openvas: openvas: testing xxxx(create_ipc_process+0x109) [0x5635f8370639]
sd   main:WARNING:2023-02-24 22h18.57 utc:1409131: openvas: openvas: testing xxxx(attack_network+0x8a7) [0x5635f836afa7]
sd   main:WARNING:2023-02-24 22h18.57 utc:1409131: openvas: openvas: testing xxxx(openvas+0x52c) [0x5635f836d03c]
sd   main:WARNING:2023-02-24 22h18.57 utc:1409131: /lib/x86_64-linux-gnu/libc.so.6(+0x2718a) [0x7ff7d5e4618a]
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1356866: get_redis_ctx: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1356866: redis_direct_conn: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
sd   main:WARNING:2023-02-24 22h18.57 utc:1356866: SIGSEGV occurred!
sd   main:WARNING:2023-02-24 22h18.57 utc:1356866: openvas: openvas: testing xxxx(sighand_segv+0x28) [0x5635f83708c8]
sd   main:WARNING:2023-02-24 22h18.57 utc:1356866: /lib/x86_64-linux-gnu/libc.so.6(+0x3bf90) [0x7ff7d5e5af90]
sd   main:WARNING:2023-02-24 22h18.57 utc:1356866: openvas: openvas: testing xxxxx(+0x5fe6) [0x5635f8368fe6]
sd   main:WARNING:2023-02-24 22h18.57 utc:1356866: openvas: openvas: testing xxxx2(+0x6338) [0x5635f8369338]
sd   main:WARNING:2023-02-24 22h18.57 utc:1356866: openvas: openvas: testing xxxx(+0x74d0) [0x5635f836a4d0]
sd   main:WARNING:2023-02-24 22h18.57 utc:1356866: /lib/libopenvas_misc.so.22(ipc_exec_as_process+0x8a) [0x7ff7d647e9da]
sd   main:WARNING:2023-02-24 22h18.57 utc:1356866: openvas: openvas: testing xxxxx(create_ipc_process+0x109) [0x5635f8370639]
sd   main:WARNING:2023-02-24 22h18.57 utc:1356866: openvas: openvas: testing xxxxx(attack_network+0x8a7) [0x5635f836afa7]
sd   main:WARNING:2023-02-24 22h18.57 utc:1356866: openvas: openvas: testing xxxx(openvas+0x52c) [0x5635f836d03c]
sd   main:WARNING:2023-02-24 22h18.57 utc:1356866: /lib/x86_64-linux-gnu/libc.so.6(+0x2718a) [0x7ff7d5e4618a]
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1413040: get_redis_ctx: redis connection error to /var/run/redis-openvas/redis-server.sock: Connection refused
sd   main:WARNING:2023-02-24 22h18.57 utc:1373929: SIGSEGV occurred!
sd   main:WARNING:2023-02-24 22h18.57 utc:1373929: openvas: openvas: testing xxxx(sighand_segv+0x28) [0x5635f83708c8]
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1413040: get_redis_ctx: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
sd   main:WARNING:2023-02-24 22h18.57 utc:1373929: /lib/x86_64-linux-gnu/libc.so.6(+0x3bf90) [0x7ff7d5e5af90]
sd   main:WARNING:2023-02-24 22h18.57 utc:1373929: openvas: openvas: testing xxxxx(+0x5fe6) [0x5635f8368fe6]
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1413040: get_redis_ctx: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1413040: get_redis_ctx: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1231921: No redis DB available
sd   main:WARNING:2023-02-24 22h18.57 utc:1373929: openvas: openvas: testing xxxx(+0x6338) [0x5635f8369338]
sd   main:WARNING:2023-02-24 22h18.57 utc:1373929: openvas: openvas: testing xxxx(+0x74d0) [0x5635f836a4d0]
sd   main:WARNING:2023-02-24 22h18.57 utc:1373929: /lib/libopenvas_misc.so.22(ipc_exec_as_process+0x8a) [0x7ff7d647e9da]
sd   main:WARNING:2023-02-24 22h18.57 utc:1373929: openvas: openvas: testing xxxx(create_ipc_process+0x109) [0x5635f8370639]
sd   main:WARNING:2023-02-24 22h18.57 utc:1373929: openvas: openvas: testing xxxx5(attack_network+0x8a7) [0x5635f836afa7]
sd   main:WARNING:2023-02-24 22h18.57 utc:1373929: openvas: openvas: testing xxxx(openvas+0x52c) [0x5635f836d03c]
sd   main:WARNING:2023-02-24 22h18.57 utc:1373929: /lib/x86_64-linux-gnu/libc.so.6(+0x2718a) [0x7ff7d5e4618a]
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1413040: get_redis_ctx: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
lib  misc:WARNING:2023-02-24 22h18.57 utc:1231921: check_kb_inconsistency_log: No internal/scanid found; abort to prevent data corruption.
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1413104: get_redis_ctx: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1284314: No redis DB available
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1320270: No redis DB available
lib  misc:WARNING:2023-02-24 22h18.57 utc:1320270: check_kb_inconsistency_log: No internal/scanid found; abort to prevent data corruption.
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1373887: get_redis_ctx: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1373887: redis_direct_conn: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1413200: get_redis_ctx: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1413152: No redis DB available
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1413152: get_redis_ctx: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1413152: get_redis_ctx: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
sd   main:WARNING:2023-02-24 22h18.57 utc:1373887: SIGSEGV occurred!
sd   main:WARNING:2023-02-24 22h18.57 utc:1373887: openvas: openvas: testing xxxx(sighand_segv+0x28) [0x5635f83708c8]
sd   main:WARNING:2023-02-24 22h18.57 utc:1373887: /lib/x86_64-linux-gnu/libc.so.6(+0x3bf90) [0x7ff7d5e5af90]
sd   main:WARNING:2023-02-24 22h18.57 utc:1373887: openvas: openvas: testing xxxx(+0x5fe6) [0x5635f8368fe6]
sd   main:WARNING:2023-02-24 22h18.57 utc:1373887: openvas: openvas: testing xxxx(+0x6338) [0x5635f8369338]
sd   main:WARNING:2023-02-24 22h18.57 utc:1373887: openvas: openvas: testing xxxx(+0x74d0) [0x5635f836a4d0]
sd   main:WARNING:2023-02-24 22h18.57 utc:1373887: /lib/libopenvas_misc.so.22(ipc_exec_as_process+0x8a) [0x7ff7d647e9da]
sd   main:WARNING:2023-02-24 22h18.57 utc:1373887: openvas: openvas: testing xx(create_ipc_process+0x109) [0x5635f8370639]
sd   main:WARNING:2023-02-24 22h18.57 utc:1373887: openvas: openvas: testing xxxxx(attack_network+0x8a7) [0x5635f836afa7]
sd   main:WARNING:2023-02-24 22h18.57 utc:1373887: openvas: openvas: testing xxxx(openvas+0x52c) [0x5635f836d03c]
sd   main:WARNING:2023-02-24 22h18.57 utc:1373887: /lib/x86_64-linux-gnu/libc.so.6(+0x2718a) [0x7ff7d5e4618a]
lib  misc:WARNING:2023-02-24 22h18.57 utc:1284314: check_kb_inconsistency_log: No internal/scanid found; abort to prevent data corruption.
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1413201: get_redis_ctx: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1413104: get_redis_ctx: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1244326: No redis DB available
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1413104: get_redis_ctx: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
lib  misc:WARNING:2023-02-24 22h18.57 utc:1244326: check_kb_inconsistency_log: No internal/scanid found; abort to prevent data corruption.
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1413104: get_redis_ctx: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1413104: get_redis_ctx: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1413104: get_redis_ctx: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1413148: No redis DB available
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1413150: No redis DB available
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:713865: get_redis_ctx: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1413150: get_redis_ctx: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:713865: get_redis_ctx: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:713865: get_redis_ctx: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:713865: get_redis_ctx: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:713865: get_redis_ctx: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:713865: get_redis_ctx: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:713865: get_redis_ctx: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1356354: get_redis_ctx: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1356354: redis_direct_conn: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:713865: redis_direct_conn: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
sd   main:WARNING:2023-02-24 22h18.57 utc:1356354: SIGSEGV occurred!
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1413104: get_redis_ctx: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
sd   main:WARNING:2023-02-24 22h18.57 utc:1356354: openvas: openvas: testing xxxxx(sighand_segv+0x28) [0x5635f83708c8]
sd   main:WARNING:2023-02-24 22h18.57 utc:1356354: /lib/x86_64-linux-gnu/libc.so.6(+0x3bf90) [0x7ff7d5e5af90]
sd   main:WARNING:2023-02-24 22h18.57 utc:1356354: openvas: openvas: testing xxxxx(+0x5fe6) [0x5635f8368fe6]
sd   main:WARNING:2023-02-24 22h18.57 utc:1356354: openvas: openvas: testing xxxxx(+0x6338) [0x5635f8369338]
sd   main:WARNING:2023-02-24 22h18.57 utc:1356354: openvas: openvas: testing xxxx(+0x74d0) [0x5635f836a4d0]
sd   main:WARNING:2023-02-24 22h18.57 utc:1356354: /lib/libopenvas_misc.so.22(ipc_exec_as_process+0x8a) [0x7ff7d647e9da]
sd   main:WARNING:2023-02-24 22h18.57 utc:1356354: openvas: openvas: testing xxxx(create_ipc_process+0x109) [0x5635f8370639]
sd   main:WARNING:2023-02-24 22h18.57 utc:1356354: openvas: openvas: testing xxxx(attack_network+0x8a7) [0x5635f836afa7]
sd   main:WARNING:2023-02-24 22h18.57 utc:1356354: openvas: openvas: testing xxxx(openvas+0x52c) [0x5635f836d03c]
sd   main:WARNING:2023-02-24 22h18.57 utc:1356354: /lib/x86_64-linux-gnu/libc.so.6(+0x2718a) [0x7ff7d5e4618a]
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1234036: get_redis_ctx: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1234036: redis_direct_conn: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
sd   main:WARNING:2023-02-24 22h18.57 utc:1234036: SIGSEGV occurred!
sd   main:WARNING:2023-02-24 22h18.57 utc:1234036: openvas: openvas: testing xxxx(sighand_segv+0x28) [0x5635f83708c8]
sd   main:WARNING:2023-02-24 22h18.57 utc:1234036: /lib/x86_64-linux-gnu/libc.so.6(+0x3bf90) [0x7ff7d5e5af90]
sd   main:WARNING:2023-02-24 22h18.57 utc:1234036: openvas: openvas: testing xxxx(+0x5fe6) [0x5635f8368fe6]
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1412971: No redis DB available
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1412971: get_redis_ctx: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1412971: get_redis_ctx: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
sd   main:WARNING:2023-02-24 22h18.57 utc:1234036: openvas: openvas: testing xxxx(+0x6338) [0x5635f8369338]
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1412971: get_redis_ctx: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1412971: get_redis_ctx: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1412971: get_redis_ctx: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1412971: get_redis_ctx: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
sd   main:WARNING:2023-02-24 22h18.57 utc:1234036: openvas: openvas: testing xxxx3(+0x74d0) [0x5635f836a4d0]
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1412971: get_redis_ctx: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1412971: get_redis_ctx: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
sd   main:WARNING:2023-02-24 22h18.57 utc:1234036: /lib/libopenvas_misc.so.22(ipc_exec_as_process+0x8a) [0x7ff7d647e9da]
sd   main:WARNING:2023-02-24 22h18.57 utc:1234036: openvas: openvas: testing xxxx(create_ipc_process+0x109) [0x5635f8370639]
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1412971: get_redis_ctx: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1412971: get_redis_ctx: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1412971: get_redis_ctx: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
sd   main:WARNING:2023-02-24 22h18.57 utc:1234036: openvas: openvas: testing xxxx(attack_network+0x8a7) [0x5635f836afa7]
sd   main:WARNING:2023-02-24 22h18.57 utc:1234036: openvas: openvas: testing xxxx(openvas+0x52c) [0x5635f836d03c]
sd   main:WARNING:2023-02-24 22h18.57 utc:1234036: /lib/x86_64-linux-gnu/libc.so.6(+0x2718a) [0x7ff7d5e4618a]
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1412971: get_redis_ctx: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1413042: No redis DB available
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1356286: get_redis_ctx: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1356286: redis_direct_conn: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1413125: No redis DB available
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1413125: get_redis_ctx: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1413094: No redis DB available
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1412990: get_redis_ctx: redis connection error to /var/run/redis-openvas/redis-server.sock: Connection refused
libgvm util:CRITICAL:2023-02-24 22h18.57 utc:1412990: get_redis_ctx: redis connection error to /var/run/redis-openvas/redis-server.sock: No such file or directory

and ospd-openvas.log

OSPD[713123] 2023-02-24 22:18:57,107: ERROR: (ospd.ospd) While handling client command:
Traceback (most recent call last):
  File "/usr/lib/python3.11/multiprocessing/managers.py", line 814, in _callmethod
    conn = self._tls.connection
           ^^^^^^^^^^^^^^^^^^^^
AttributeError: 'ForkAwareLocal' object has no attribute 'connection'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/ospd/ospd.py", line 558, in handle_client_stream
    self.handle_command(data, stream)
  File "/usr/lib/python3/dist-packages/ospd/ospd.py", line 1077, in handle_command
    response = command.handle_xml(tree)
               ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/ospd/command/command.py", line 499, in handle_xml
    self._daemon.check_scan_process(scan_id)
  File "/usr/lib/python3/dist-packages/ospd/ospd.py", line 1301, in check_scan_process
    status = self.get_scan_status(scan_id)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/ospd/ospd.py", line 735, in get_scan_status
    status = self.scan_collection.get_status(scan_id)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/ospd/scan.py", line 364, in get_status
    status = self.scans_table.get(scan_id, {}).get('status', None)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<string>", line 2, in get
  File "/usr/lib/python3.11/multiprocessing/managers.py", line 818, in _callmethod
    self._connect()
  File "/usr/lib/python3.11/multiprocessing/managers.py", line 805, in _connect
    conn = self._Client(self._token.address, authkey=self._authkey)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/multiprocessing/connection.py", line 501, in Client
    c = SocketClient(address)
        ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/multiprocessing/connection.py", line 629, in SocketClient
    s.connect(address)
FileNotFoundError: [Errno 2] No such file or directory
OSPD[713123] 2023-02-24 22:18:57,523: WARNING: (ospd.ospd) Error sending data to the client while executing a scan fd47dfc4-aa48-477a-a7a4-4b24a1aee283.
OSPD[1413239] 2023-02-24 22:20:02,922: INFO: (ospd.main) Starting OSPd OpenVAS version 22.4.6.
OSPD[1413239] 2023-02-24 22:20:02,931: INFO: (ospd_openvas.messaging.mqtt) Successfully connected to MQTT broker

I install new openvas-scanner version(22.4.1-3)
It still didn’t work

OSPD[3979] 2023-03-04 21:21:04,625: INFO: (ospd.ospd) Currently 1 queued scans.
OSPD[3979] 2023-03-04 21:21:04,845: INFO: (ospd.ospd) Starting scan 192d4e9a-6569-442f-b8a8-214a27fbb663.
OSPD[3979] 2023-03-05 05:32:10,936: ERROR: (ospd.ospd) 192d4e9a-6569-442f-b8a8-214a27fbb663: Exception Error while reading from connection : (104, 'Connection reset by peer') while scanning
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/redis/connection.py", line 824, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/redis/connection.py", line 467, in read_response
    self.read_from_socket()
  File "/usr/lib/python3/dist-packages/redis/connection.py", line 421, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/ospd/ospd.py", line 596, in start_scan
    self.exec_scan(scan_id)
  File "/usr/lib/python3/dist-packages/ospd_openvas/daemon.py", line 1194, in exec_scan
    target_is_finished = kbdb.target_is_finished(scan_id)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/ospd_openvas/db.py", line 582, in target_is_finished
    status = self._get_single_item(f'internal/{scan_id}')
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/ospd_openvas/db.py", line 476, in _get_single_item
    return OpenvasDB.get_single_item(self.ctx, name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/ospd_openvas/db.py", line 274, in get_single_item
    return ctx.lindex(name, index)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/redis/commands/core.py", line 2564, in lindex
    return self.execute_command("LINDEX", name, index)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/redis/client.py", line 1238, in execute_command
    return conn.retry.call_with_retry(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/usr/lib/python3/dist-packages/redis/client.py", line 1242, in <lambda>
    lambda error: self._disconnect_raise(conn, error),
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/redis/client.py", line 1228, in _disconnect_raise
    raise error
  File "/usr/lib/python3/dist-packages/redis/retry.py", line 46, in call_with_retry
    return do()
           ^^^^
  File "/usr/lib/python3/dist-packages/redis/client.py", line 1239, in <lambda>
    lambda: self._send_command_parse_response(
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/redis/client.py", line 1215, in _send_command_parse_response
    return self.parse_response(conn, command_name, **options)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/redis/client.py", line 1254, in parse_response
    response = connection.read_response()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/redis/connection.py", line 830, in read_response
    raise ConnectionError(f"Error while reading from {hosterr}" f" : {e.args}")
redis.exceptions.ConnectionError: Error while reading from connection : (104, 'Connection reset by peer')
OSPD[3979] 2023-03-05 05:32:10,995: INFO: (ospd.ospd) 192d4e9a-6569-442f-b8a8-214a27fbb663: Host scan got interrupted. Progress: 23, Status: RUNNING
OSPD[3979] 2023-03-05 05:32:10,995: INFO: (ospd.ospd) 192d4e9a-6569-442f-b8a8-214a27fbb663: Scan interrupted.
OSPD[3979] 2023-03-05 05:32:15,113: INFO: (ospd.ospd) 192d4e9a-6569-442f-b8a8-214a27fbb663: Scan process is dead and its progress is 23

OK, a year later the problem still remains unsolved.

Scan still stops sometimes at 16-19%. The temporary solution was to add RAM to make the total 12GB. But after that the scan started stopping once in a while. I had to reboot the host after each scan. Now the scan even after rebooting can not fully scan all hosts.

The main problem is that at some point redis.server starts to use more memory than the host has. Scanner updated to version:
GVM-23.11
OpenVAS Scanner 22.7.9
Notus Scanner 22.6.2
ospd-OpenVAS 22.6.2
GVM Manager 23.1.0.

Seems to be quite outdated versions of the software stack components, e.g. those are the most recent ones:

For example the newer openvas-scanner and ospd-openvas releases includes these updates / fixes related to interrupted scans:

I am using the latest available versions in kali-rolling.
Yesterday I updated some components

└─# apt search gvm             
Sorting... Done
Full Text Search... Done
gsad/kali-rolling,now 22.9.1-0kali1 amd64 [installed,automatic]
  remote network security auditor - web interface

gvm/kali-rolling,now 23.11.2 all [installed]
  remote network security auditor - metapackage and useful scripts

gvm-tools/kali-rolling,now 24.3.0-1 all [installed]
  Remote control the Greenbone Vulnerability Manager

gvmd/kali-rolling,now 23.3.0-0kali2 amd64 [installed,automatic]
  Manager Module of Greenbone Vulnerability Manager

gvmd-common/kali-rolling,now 23.3.0-0kali2 all [installed,automatic]
  architecture independent files for Greenbone Vulnerability Manager

gvmd-dbgsym/kali-rolling 23.3.0-0kali2 amd64
  debug symbols for gvmd

libgvm-dev/kali-rolling 22.8.0-0kali1 amd64
  remote network security auditor - static libraries and headers

libgvm-doc/kali-rolling 22.8.0-0kali1 all
  remote network security auditor - libraries documentation

libgvm22/kali-rolling,now 22.8.0-0kali1 amd64 [installed,automatic]
  remote network security auditor - shared libraries

libgvm22-dbgsym/kali-rolling 22.8.0-0kali1 amd64
  debug symbols for libgvm22

openvas-scanner/kali-rolling,now 22.7.9-1 amd64 [installed]
  remote network security auditor - scanner

ospd-openvas/kali-rolling,now 22.7.1-1 all [installed]
  OSP server implementation to allow GVM to remotely control an OpenVAS Scanner

postgresql-16-pg-gvm/kali-rolling 22.6.4-0kali1 amd64 
  PostgreSQL extension for ical object manipulation

postgresql-16-pg-gvm-dbgsym/kali-rolling 22.6.4-0kali1 amd64
  debug symbols for postgresql-16-pg-gvm

python-gvm-doc/kali-rolling 24.3.0-1 all
  Greenbone Vulnerability Management Python Library (common documentation)

python3-gvm/kali-rolling 24.3.0-1 all 
  Greenbone Vulnerability Management Python Library (Python 3)

The screenshot shows the moment of scanning at 16%

As you can see on the graph the memory swap starts to grow sharply and redis-server already occupies 8.1Gb

In this screenshot memory swap is already at 100% and redis-server is already taking up 9.1GB

After a few minutes redis-server drastically reduces consumption to 1.3GB

After that the memory consumption will decrease Now the scan is at 70 percent and has such load figures

This time the scanner didn’t exceed the amount of memory available so it didn’t stop, but I’m sure the next time it scans it will still crash like it has many times before.
Is there any point in trying to increase swap?

And still the scan stopped at 99%

ospd-openvas.log

OSPD[3792] 2024-05-14 23:07:58,558: ERROR: (ospd.server) Error sending data to the client. [Errno 32] Broken pipe
OSPD[3792] 2024-05-15 22:49:24,881: INFO: (ospd.ospd) 19b5444b-f146-45a2-aa6e-512dba42fdb3: Host scan finished.
OSPD[3792] 2024-05-15 22:49:24,882: INFO: (ospd.ospd) 19b5444b-f146-45a2-aa6e-512dba42fdb3: Host scan got interrupted. Progress: 99, Status: RUNNING
OSPD[3792] 2024-05-15 22:49:24,883: INFO: (ospd.ospd) 19b5444b-f146-45a2-aa6e-512dba42fdb3: Scan interrupted.
OSPD[3792] 2024-05-15 22:49:28,205: INFO: (ospd.ospd) 19b5444b-f146-45a2-aa6e-512dba42fdb3: Scan process is dead and its progress is 99
OSPD[3792] 2024-05-15 22:49:28,206: INFO: (ospd.ospd) 19b5444b-f146-45a2-aa6e-512dba42fdb3: Scan interrupted.
OSPD[3792] 2024-05-15 22:49:28,210: INFO: (ospd.ospd) 19b5444b-f146-45a2-aa6e-512dba42fdb3: Scan process is dead and its progress is 99
OSPD[3792] 2024-05-15 22:49:28,211: INFO: (ospd.ospd) 19b5444b-f146-45a2-aa6e-512dba42fdb3: Scan interrupted.
OSPD[3792] 2024-05-15 22:49:28,250: INFO: (ospd.ospd) 19b5444b-f146-45a2-aa6e-512dba42fdb3: Scan process is dead and its progress is 99
OSPD[3792] 2024-05-15 22:49:28,250: INFO: (ospd.ospd) 19b5444b-f146-45a2-aa6e-512dba42fdb3: Scan interrupted.
OSPD[3792] 2024-05-15 22:49:28,262: INFO: (ospd.ospd) 19b5444b-f146-45a2-aa6e-512dba42fdb3: Scan process is dead and its progress is 99
OSPD[3792] 2024-05-15 22:49:28,262: INFO: (ospd.ospd) 19b5444b-f146-45a2-aa6e-512dba42fdb3: Scan interrupted.

This seems to be still outdated and doesn’t include the previous mentioned update on openvas-scanner side (which is only included in version 23.0.0 or later). Not even sure if using the version 22.7.1 of ospd-openvas (including the relevant update/fix) and the outdated scanner version 22.7.9 (not including the relevant update/fix) is supported / will work.

I would try to get back to the Kali packaging team and ask for an update of the scanner and then try again afterwards once the scanner package has received an update.

3 Likes

Some packages have been updated, but the scanner still stops at 19 percent

gsad/kali-rolling,now 22.9.1-1 amd64 [installed]
  remote network security auditor - web interface

gvm/kali-rolling,now 23.11.2 all [installed]
  remote network security auditor - metapackage and useful scripts

gvm-tools/kali-rolling,now 24.3.0-1 all [installed]
  Remote control the Greenbone Vulnerability Manager

gvmd/kali-rolling,now 23.5.2-1 amd64 [installed]
  Manager Module of Greenbone Vulnerability Manager

gvmd-common/kali-rolling,now 23.5.2-1 all [installed,automatic]
  architecture independent files for Greenbone Vulnerability Manager

libgvm-dev/kali-rolling 22.9.1-1 amd64
  remote network security auditor - static libraries and headers

libgvm-doc/kali-rolling 22.9.1-1 all
  remote network security auditor - libraries documentation

libgvm22t64/kali-rolling,now 22.9.1-1 amd64 [installed,automatic]
  remote network security auditor - shared libraries

openvas-scanner/kali-rolling,now 23.0.1-1 amd64 [installed]
  remote network security auditor - scanner

ospd-openvas/kali-rolling,now 22.7.1-1 all [installed]
  OSP server implementation to allow GVM to remotely control an OpenVAS Scanner

postgresql-16-pg-gvm/kali-rolling 22.6.5-1 amd64 [upgradable from: 22.6.2-1kali1]
  PostgreSQL extension for ical object manipulation

python-gvm-doc/kali-rolling 24.3.0-1 all
  Greenbone Vulnerability Management Python Library (common documentation)

python3-gvm/kali-rolling,now 24.3.0-1 all [installed]
  Greenbone Vulnerability Management Python Library (Python 3)