Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use sigtimedwait() instead of waitpid(). #289

Merged
merged 2 commits into from
Mar 25, 2019

Conversation

kroosec
Copy link
Contributor

@kroosec kroosec commented Mar 19, 2019

Fixes an issue with stuck scans where only a single plugin is running
and is beyond its timeout. Blocking indefinitely with waitpid() prevents
update_running_processes() from being called to cleanup finished plugins
and from checking timeouts.

Fixes an issue with stuck scans where only a single plugin is running
and is beyond its timeout. Blocking indefinitely with waitpid() prevents
update_running_processes() from being called to cleanup finished plugins
and from checking timeouts.
jjnicola added a commit that referenced this pull request Mar 25, 2019
@jjnicola jjnicola merged commit 262c239 into greenbone:master Mar 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants