* Thijs Stuurman <thijs.stuur...@internedservices.nl>:
> Hani,
> 
> - Can you get a backtrace for the stuck processes ? The 4 nvts ones + the 
> "testing xxxx" parent.
> - Could it be related to your Redis setup ? You can monitor it with: 
> redis-cli -s /tmp/redis.sock MONITOR
> 
> Strange, it floods with:
> 
> """
> ...
> 1495622782.133505 [1 unix:/var/run/redis/redis.sock] "SRANDMEMBER" 
> "oid:1.3.6.1.4.1.25623.1.0.94181:category"
> 1495622782.133559 [1 unix:/var/run/redis/redis.sock] "SRANDMEMBER" 
> "oid:1.3.6.1.4.1.25623.1.0.869756:category"
> 1495622782.133601 [1 unix:/var/run/redis/redis.sock] "SRANDMEMBER" 
> "oid:1.3.6.1.4.1.25623.1.0.870215:category"
> 1495622782.133667 [1 unix:/var/run/redis/redis.sock] "SRANDMEMBER" 
> "oid:1.3.6.1.4.1.25623.1.0.902298:category"
> 1495622782.133728 [1 unix:/var/run/redis/redis.sock] "SRANDMEMBER" 
> "oid:1.3.6.1.4.1.25623.1.0.869970:category"
> 1495622782.133813 [1 unix:/var/run/redis/redis.sock] "SRANDMEMBER" 
> "oid:1.3.6.1.4.1.25623.1.0.865412:category"
> 1495622782.133859 [1 unix:/var/run/redis/redis.sock] "SRANDMEMBER" 
> "oid:1.3.6.1.4.1.25623.1.0.801558:category"
> ...
> """
> 
> Strace on openvassd show's:
> 
> """
> ...
> read(5, "$1\r\n3\r\n", 16384)           = 7
> write(5, "*2\r\n$11\r\nSRANDMEMBER\r\n$40\r\noid:1"..., 69) = 69
> read(5, "$1\r\n3\r\n", 16384)           = 7
> write(5, "*2\r\n$11\r\nSRANDMEMBER\r\n$41\r\noid:1"..., 70) = 70
> read(5, "$1\r\n3\r\n", 16384)           = 7
> write(5, "*2\r\n$11\r\nSRANDMEMBER\r\n$41\r\noid:1"..., 70) = 70
> read(5, "$1\r\n3\r\n", 16384)           = 7
> write(5, "*2\r\n$11\r\nSRANDMEMBER\r\n$40\r\noid:1"..., 69) = 69
> ...
> """
> 
> Both redis and openvassd are consuming all CPU resources together.

Seeing the same. I recently posted my observation here, that we're
seeing LOTS of "SRANDMEMBER" queries, hogging the CPU

-- 
Ralf Hildebrandt                   Charite Universitätsmedizin Berlin
ralf.hildebra...@charite.de        Campus Benjamin Franklin
https://www.charite.de             Hindenburgdamm 30, 12203 Berlin
Geschäftsbereich IT, Abt. Netzwerk fon: +49-30-450.570.155
_______________________________________________
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to