Socket ospd-openvas.sock not found

I know you are in no way obliged to answer so first of all, thank you for time and attention.

I have a scanner running on which I run some scans, usually it performs without problems but on certain times I get this error:

  File "/usr/lib/python3.7/multiprocessing/connection.py", line 619, in SocketClient
    s.connect(address)
FileNotFoundError: [Errno 2] No such file or directory

The output a bit more detailed here
It looks like this is a problem with nested multiprocessing managers.

self.scan_processes = dict()

Has anyone else seen this behaviour?

I was not sure if I should have posted this at the ospd-openvas repo or at this forum. Let me know if should move this to the repo.

GVM versions

gsad: Greenbone Security Assistant 21.4.3
gvmd: Greenbone Vulnerability Manager 21.4.4
openvas-scanner: OpenVAS 21.4.3
gvm-libs: gvm-libs 21.4.3

Environment

Operating system: Linux Ubuntu
Kernel: Linux 5.4.0-72 Ubuntu SMP x86_64 GNU/Linux
Installation method / source: source

Hi @drm,

I’m not sure this is a match, but take a look at "OSP get_scan uuid: Couldn't send get_scans command to scanner" break scan task · Issue #1061 · greenbone/gvmd · GitHub and openvas finishes task, ospd-openvas keeps looking elsewhere... · Issue #259 · greenbone/ospd-openvas · GitHub to see if it’s related.