• Resolved pjv

    (@pjv)


    I’m really wanting to get redis object caching working on my server along with hhvm.

    I installed this plugin and when active, it makes hhvm work super hard. My overall cpu % usage goes up by about 4X with the drop in enabled and sustains that way with no letup (9 hours from when i enabled to just now when i finally figured out what was causing the CPU to run so hot and disabled it). It’s all the hhvm process.

    Can you think of what might be causing this?

    https://www.ads-software.com/plugins/redis-cache/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Till Krüss

    (@tillkruess)

    Hey!

    What HHVM version are you using? I’m running this plugin with HHVM 3.3.1 with no CPU issues.

    This isn’t my area of expertise, but I’d say try restarting HHVM and Redis.

    How does PHP-FPM run with this plugin enabled? If it runs well, maybe the HHVM team can help you.

    Thread Starter pjv

    (@pjv)

    ? hhvm –version
    HipHop VM 3.4.0 (rel)

    I’ll try restarting the servers as you suggest. I haven’t tried it with php-fpm yet – performance-wise, I’m a lot more wedded to HHVM than redis at the moment, but I would really like to get both working.

    Plugin Author Till Krüss

    (@tillkruess)

    I suggested trying PHP-FPM temporarily to exclude HHVM from the stack to make sure it’s HHVM and not Redis or another part of your setup.

    Thread Starter pjv

    (@pjv)

    i’ll try php-fpm.

    restarting hhvm and redis-server made no difference. as soon as i enable the dropin, CPU use multiplies dramatically.

    Plugin Author Till Krüss

    (@tillkruess)

    I could be that HHVM isn’t too happy with the Predis library.

    HHVM comes with it’s own Redis class, I might integrate that into the plugin in the future.

    Thread Starter pjv

    (@pjv)

    unfortunately, i see something pretty similiar, though not quite as dramatic, with php-fpm as i saw with hhvm.

    i am running ubuntu 14.04. i installed redis-server from apt and the only thing i changed from the stock redis-server config was setting maxmemory 500mb.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘High CPU use with dropin installed’ is closed to new replies.