(Kali) Out of memory issues and/or unfinished jobs? Please look here

Edit- please read the entire thread before responding, thank you! :slight_smile:

New reports of the issue should be directed to the Kali Bug Tracker, Bug ID 9420: https://bugs.kali.org/view.php?id=9420 opened by @dadoXYZ and the rest of this thread will stay up for reference.


Hi everyone,

As we are seeing new reports about OOM (out of memory) issues and unfinished jobs we need to narrow it down to see where the issue is. If you are affected please respond to this thread with:

  1. Operating system and version of operating system

  2. Greenbone Community Edition version

  3. Install Method

  4. Is this a virtual install? yes/no

4(a). If yes, what what is your virtualization environment? (name of virtualization manager and resource allocation configuration)

  1. Is this a container install? yes/no

5(a). if yes, please name the container source (ex. official Greenbone container from…)

  1. Is it reliably reproducible with each run?

If you have any additional information like (for example) error codes, OpenVAS log entries, etc. please let us know (using the post formatting described here).

I realize that this is not a comprehensive set of questions but the point is to narrow it down some. We might have followup questions requesting additional information. If this exact issue (out of memory or unfinished jobs) does not affect you, please do not post in this thread. Thank you!

1 Like

Hi DeeAnn,
I’m running into a persistent OOM-killer issue on Kali 2025.4.
During large scans, the scanner gradually ramps memory usage until the kernel kills it, taking Redis down with it and restarting the gvm services

Environment:

  • Kali GNU/Linux 2025.4

  • Kernel: 6.16.8

  • GVM versions:

    • gvm: 25.04.1
      gvm-tools: 25.4.1-1
      gvmd: 26.12.1-0kali1
      gvmd-common: 26.12.1-0kali1
      libgvm22t64: 22.33.0-0kali1
      postgresql-17: 17.6-1
      postgresql-17-pg-gvm: 22.6.11-1
      postgresql-18: 18.1-1
      postgresql-18-jit: 18.1-1
      postgresql-18-pg-gvm: 22.6.11-2
      python3-gvm: 26.7.0-1
      gsad: 24.7.0-1
      openvas-scanner: 23.30.1-1+b1
      ospd-openvas: 22.9.0-2
      redis-server: 8.0.5-1
      redis-tools: 8.0.5-1
      greenbone-feed-sync: 25.1.6-1
      greenbone-security-assistant: 25.3.1-0kali1
      greenbone-security-assistant-common: 22.4.0-0kali1
      libxml++2.6-2v5: 2.42.3-2+b1
      libxml2: 2.12.7+dfsg+really2.9.14-2.2
      libxml2-16: 2.14.6+dfsg-0.1
      libxml2-dev: 2.14.6+dfsg-0.1
      libxml2-utils: 2.14.6+dfsg-0.1
      python3-lxml: 6.0.2-1
      Python: 3.13.9

Installed from official Kali packages (apt install gvm).

Repeated OOM on openvas processes, example:

oom-kill:constraint=CONSTRAINT_NONE ... task=openvas
Out of memory: Killed process ... total-vm:20GB, anon-rss:4.8GB
  • OOM killing Redis:
Killed process redis-server ... anon-rss:1561512kB
  • systemd logs showing killer events:
ospd-openvas.service: The kernel OOM killer killed some processes in this unit.
ospd-openvas.service: Failed with result 'oom-kill'.

gvmd aborts with backtraces

During the OOM event, gvmd produces repeated backtraces and aborts:

md   main:MESSAGE: Received Aborted signal
...
BACKTRACE: gvmd: Serving (+0x13e5b9) [0x55cafc2f85b9]
BACKTRACE: /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x12)
BACKTRACE: /lib/x86_64-linux-gnu/libc.so.6(abort+0x22)

After gvmd aborts, it repeatedly loses connection to the scanner

md manage:WARNING: OSP get_scan: Couldn't send get_scans command to scanner
md manage:WARNING: Connection lost with the scanner at /run/ospd/ospd.sock.
md manage:WARNING: Could not connect to Scanner at /run/ospd/ospd.sock
md manage:WARNING: osp_scanner_feed_version: failed to connect

Please let me know if you have recommendations to address this problem or if you need more detailed logs.

1 Like

Hi @dadoXYZ and welcome to the forum,

This is exactly what we need to see and thank you so much. :slight_smile:

We don’t have any recommendations yet but we might have additional questions (from myself or others at Greenbone).

Is anyone else reading this affected too? It would be good to compare with what dadoXYZ is seeing. Thanks!

I’m confused because these recent issues are all seem to be related to Kali 2025.4. It is not officially released yet and not available on the downloads page only 2025.3 and weekly builds. Also, not in the list of images or release history.

So, how did @dadoXYZ / others get access to 2025.4? :thinking:

Not sure if relevant but gvmd seems to be most current 26.12.1 similar to gvm-libs with 22.33.0 while all other versions are lacking some versions behind (e.g. for openvas-scanner version 23.32.5 is current, similar ospd-openvas with version 22.9.1).

Mixing different older and most current versions could be problematic, if this issue is only affecting Kali users maybe some one want to contact the Kali packaging team and asking to update all components to the most recent / current versions.

1 Like

I have also experienced memory issues with the host_details.nasl process running on an 8GB RPi 500. Full and Fast scans will almost complete, and then crash.

Kali = 2025.4

Kernel = 6.12.34+rpt-rpi-2712

OpenVas = 23.30.1

gvm-libs = 22.30.0

gvmd = 26.5.0

Thank you @ttheweepster and welcome to the forum, :slight_smile:

All combined it looks like we have enough to report to Kali. We will need someone who is currently affected to submit the report and followup here https://bugs.kali.org/ (perhaps @dadoXYZ , @ttheweepster or someone else reading who is affected and can reproduce it). In the report if you could cross-reference Kali bug ID 9413 (which matches @cfi ‘s observation upthread) and also point a link to this thread here, it can help make it easier for them. Thank you so much!

Edit to add- updated the thread title, moved it and marking this as solved so it bumps this post closer to the top. And if this doesn’t solve the OOM issue or if the exact same issue appears across release types (Greenbone containers, etc.) we can look further.

1 Like