[Openvas-discuss] openvassd recvfrom infinite loop

Thijs Stuurman Thijs.Stuurman at internedservices.nl
Fri Oct 28 14:23:00 CEST 2016


OpenVAS Users,

I notice one particular scan is never really ending. The openvassd just eats CPU resources such as:

root     14054 35.7  0.5 131564 48096 ?        RN   14:14   2:07 openvassd: testing 83.219.68.115 (/opt/openvas/var/lib/openvas/plugins/pre2008/htdig_xss.nasl)

When I strace this, it floods my screen with:

"""
recvfrom(8, 0x4916b90, 5, 0, 0, 0)      = -1 EAGAIN (Resource temporarily unavailable)
select(9, [8], [8], NULL, {1, 0})       = 1 (out [8], left {0, 999999})
recvfrom(8, 0x4916b90, 5, 0, 0, 0)      = -1 EAGAIN (Resource temporarily unavailable)
select(9, [8], [8], NULL, {1, 0})       = 1 (out [8], left {0, 999999})
recvfrom(8, 0x4916b90, 5, 0, 0, 0)      = -1 EAGAIN (Resource temporarily unavailable)
select(9, [8], [8], NULL, {1, 0})       = 1 (out [8], left {0, 999999})
recvfrom(8, 0x4916b90, 5, 0, 0, 0)      = -1 EAGAIN (Resource temporarily unavailable)
select(9, [8], [8], NULL, {1, 0})       = 1 (out [8], left {0, 999999})
recvfrom(8, 0x4916b90, 5, 0, 0, 0)      = -1 EAGAIN (Resource temporarily unavailable)
"""

Anyone any idea what is going wrong it? I believe recvfrom should be blocking under normal circumstances.
I have no idea what is actually not available here. Anyone any idea?


Thijs Stuurman
Security Operations Center
PGP Key-ID: 0x16ADC048
Fingerprint: 2EDB 9B42 D6E8 7D4B 6E02 8BE5 6D46 8007 16AD C048

Internedservices - a KPN Company
Wielingenstraat 8 | 1441 ZR Purmerend | The Netherlands
T: +31(0)299476185 | M: +31(0)624366778
W: https://www.internedservices.nl<https://www.internedservices.nl/> | L: http://nl.linkedin.com/in/thijsstuurman

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wald.intevation.org/pipermail/openvas-discuss/attachments/20161028/e94dc34c/attachment.html>


More information about the Openvas-discuss mailing list