# Strange scan behaviour -- wait for free process warning

**URL:** <https://forum.greenbone.net/t/strange-scan-behaviour-wait-for-free-process-warning/11148>\
**Category:** Greenbone Community Edition\
**Created:** [January 4, 2022, 3:53pm UTC](https://forum.greenbone.net/t/strange-scan-behaviour-wait-for-free-process-warning/11148 "2022-01-04T15:53:32Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![momferatus](https://forum.greenbone.net/letter_avatar/momferatus/32/6_449c533f586939b6e5f246632a46421f.png) [@momferatus](https://forum.greenbone.net/u/momferatus)\
**Post date:** [January 4, 2022, 3:53pm UTC](https://forum.greenbone.net/t/strange-scan-behaviour-wait-for-free-process-warning/11148/1 "2022-01-04T15:53:32Z")

</div>

Hello and happy new year,

We are facing a problem where scans are getting stuck while printing out warnings in the openvas logs.

This is from the openvas.log:

> sd main:WARNING:2022-01-02 23h13.25 utc:1620: pluginlaunch\_wait\_for\_free\_process: Invalid argument  
> sd main:WARNING:2022-01-02 23h13.25 utc:1621: pluginlaunch\_wait\_for\_free\_process: Invalid argument  
> sd main:WARNING:2022-01-02 23h13.25 utc:1620: pluginlaunch\_wait\_for\_free\_process: Invalid argument  
> sd main:WARNING:2022-01-02 23h13.25 utc:1621: pluginlaunch\_wait\_for\_free\_process: Invalid argument

The log above keeps growing rapidly with these warnings and eventually server runs out of disk space.

I haven’t found any solution yet, i hope you can help me 🙂

Thanks!

### GVM versions

**gsad:** 21.4.3  
**gvmd:** 21.4.3  
**openvas-scanner:** 21.4.3  
**gvm-libs:** 21.4.3

### Environment

**Operating system:**  
**Kernel:** Linux 20.04.1-Ubuntu  
**Installation method / source:**

---

<div class="post-metadata">

**Author:** ![DeeAnn](https://forum.greenbone.net/user_avatar/forum.greenbone.net/deeann/32/2239_2.png) [@DeeAnn](https://forum.greenbone.net/u/DeeAnn)\
**Post date:** [January 5, 2022, 12:37pm UTC](https://forum.greenbone.net/t/strange-scan-behaviour-wait-for-free-process-warning/11148/2 "2022-01-05T12:37:24Z")

</div>

Hi @momferatus and happy new year to you too 🙂

I couldn’t find anything on that error, but gvmd is currently at 21.4.4  
so you’ll want to check that the components are up to date here: [New releases for GVM 20.08 and GVM 21.04](https://community.greenbone.net/t/new-releases-for-gvm-20-08-and-gvm-21-04/10385)

---

<div class="post-metadata">

**Author:** ![momferatus](https://forum.greenbone.net/letter_avatar/momferatus/32/6_449c533f586939b6e5f246632a46421f.png) [@momferatus](https://forum.greenbone.net/u/momferatus)\
**Post date:** [January 5, 2022, 4:22pm UTC](https://forum.greenbone.net/t/strange-scan-behaviour-wait-for-free-process-warning/11148/3 "2022-01-05T16:22:19Z")

</div>

Hi @DeeAnn ,

Thank you for the reply! will try to upgrade it and test it.

It seems to get stuck when running `nmap.nasl`, and particularly in [here](https://github.com/greenbone/openvas-scanner/blob/a7340d1d1b8a7d1ea55d4a478cad9615054f2810/src/pluginlaunch.c#L525). It complains that there are no available running processes. Could you explain please what these `running processes` are and how many?

Is there any dependency on `nmap` version for the openvas `21.04`? We are currently using `nmap v7.80`.

---

<div class="post-metadata">

**Author:** ![DeeAnn](https://forum.greenbone.net/user_avatar/forum.greenbone.net/deeann/32/2239_2.png) [@DeeAnn](https://forum.greenbone.net/u/DeeAnn)\
**Post date:** [January 6, 2022, 11:39am UTC](https://forum.greenbone.net/t/strange-scan-behaviour-wait-for-free-process-warning/11148/4 "2022-01-06T11:39:26Z")

</div>

Hi @momferatus,

You’re welcome and for the first question, I don’t know what the running processes are or how many, but if one of the developers sees this perhaps they can explain it.

For the second question- yep the versions make a difference so you can try updating nmap to current (v7.90 as of this post) to see if that helps.

---

<div class="post-metadata">

**Author:** ![momferatus](https://forum.greenbone.net/letter_avatar/momferatus/32/6_449c533f586939b6e5f246632a46421f.png) [@momferatus](https://forum.greenbone.net/u/momferatus)\
**Post date:** [January 6, 2022, 6:33pm UTC](https://forum.greenbone.net/t/strange-scan-behaviour-wait-for-free-process-warning/11148/5 "2022-01-06T18:33:12Z")

</div>

A little update on my side:

I have upgraded all `openvas` components based on the suggested releases, but the problem still remains.

I have also upgraded nmap to `v7.90`, no luck there too.

It seems that openvas, when running `nmap.nasl` (plugin), it is caught in a loop in which loads of warning messages are emitted in the `openvas.log` and the server runs out of disk space after a while.

a) Has anyone noticed any strange behavior recently when running `nmap`?  
b) Is it possible to somehow throttle [these warning messages](https://github.com/greenbone/openvas-scanner/blob/main/src/pluginlaunch.c#L551)?

---

<div class="post-metadata">

**Author:** ![system](https://forum.greenbone.net/uploads/default/original/2X/4/4660e797edfaea797a8c9965246072ea26732804.png) [@system](https://forum.greenbone.net/u/system)\
**Post date:** [April 7, 2025, 10:13am UTC](https://forum.greenbone.net/t/strange-scan-behaviour-wait-for-free-process-warning/11148/6 "2025-04-07T10:13:28Z")

</div>

Closed on April 7, 2025, 10:13am UTC


