On Tue, Feb 24, 2004 at 06:18:16PM -0800, Norbert Kiesel wrote:

Hi,


> while hunting for some other problem I noticed that for plugins which
> use get_kb_item() for a multi-valued key (e.g. Services/www), there
> seems to be a hardcoded 120 second timeout in plug_get_key():
[...]
>      alarm(120);

Correct.

> Two questions:
> 1) Should this not use the plugin timeout from nessus.rc?

We _should_ but I've been lazy. And in anyway, this does not really
matter- the parent process is subject to the nessusrc plugin timeout,
and if it dies it will kill the son.

> 2) AFAICS, these forked processes are not counted against the max.
> number of concurrent processes.  Is this a correct observation?

This is correct, but notice that they don't run in parallel - it's one
after the other (see the call to wait() made by the parent process).
The fork() call is merely there to have the same context for every script.


                                -- Renaud
_______________________________________________
Nessus mailing list
[EMAIL PROTECTED]
http://mail.nessus.org/mailman/listinfo/nessus

Reply via email to