weird cpu usage

bewell's Avatar


02 Nov, 2015 01:21 PM


I saw on the news that REST service is available in nightlies and tried that out. It works! well that's really nice and I thank you for that great feature.
Though there is one mysterial moment how after like 5 hours of working the ruby process starts crunching the CPU with 100% usage. At first I thought "what's happening" when my coolers of the laptop fired up, but then I saw that ruby process takes all the cpu, stopped REST service and everything went to normal again.

I don't think that's an outstanding issue at the moment, but just so you know. Maybe you'll spot something accidentally while debugging one evening.

  1. Support Staff 1 Posted by Tasos Laskos on 02 Nov, 2015 01:25 PM

    Tasos Laskos's Avatar


    Does this happen when you run the scan via the CLI?

  2. 2 Posted by bewell on 02 Nov, 2015 01:25 PM

    bewell's Avatar

    I haven't experienced that yet, so at the moment -- no.

  3. Support Staff 3 Posted by Tasos Laskos on 02 Nov, 2015 01:27 PM

    Tasos Laskos's Avatar

    Just to be clear, I don't mean in general, I mean about the exact same scan.

  4. 4 Posted by bewell on 02 Nov, 2015 01:28 PM

    bewell's Avatar

    well the cpu went up just by having the REST server open/running. There was no scanning active. None of the scans were initiated, it was just sitting and listening.

  5. Support Staff 5 Posted by Tasos Laskos on 02 Nov, 2015 01:30 PM

    Tasos Laskos's Avatar

    Ok, yeah, that's super weird. Anything in the console output?
    Maybe something started hitting it? Was there a full moon? Anything?

  6. 6 Posted by bewell on 02 Nov, 2015 01:33 PM

    bewell's Avatar

    Full moon was last week, so we can rule that out.. :)

    As for other things, the console was just listening, nothing much there. Just one fact, I had it running for like 5 or 6 hours. If that could a hint.
    If I'll reproduce it, I'll give you a note. As for now, I'm just reporting, maybe somebody else will hit this by accident, or maybe you will.

  7. Support Staff 7 Posted by Tasos Laskos on 02 Nov, 2015 01:35 PM

    Tasos Laskos's Avatar

    I'll keep an eye out, thanks for the heads up man.
    Also, can you give me the specs of your system please?

  8. 8 Posted by bewell on 02 Nov, 2015 01:36 PM

    bewell's Avatar

    It's a KaliVM with 10GB of RAM and 4 CPUs

  9. Support Staff 9 Posted by Tasos Laskos on 02 Nov, 2015 02:16 PM

    Tasos Laskos's Avatar

    Thanks, if anything else looks suspicious please let me know.
    Since the issue occurs while everything is idling it's probably in the HTTP server, which can be changed quite easily.

    I'm monitoring an idle process myself, I'll let it run for a day or so and see what happens.

  10. Support Staff 10 Posted by Tasos Laskos on 03 Nov, 2015 06:34 PM

    Tasos Laskos's Avatar

    Nothing happened in my case.
    I'm writing this off as a fluke but if it happens again please open up an issue on GH.

    Thanks for the feedback.

  11. Tasos Laskos closed this discussion on 03 Nov, 2015 06:34 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac