Skip to main content

Memcached (again?!?)

Comments

17 comments

  • SimpleSonic
    If using memcached, it's best to add it to chksrvd so in the event the memcached service fails or you restart the server, the memcached service will be restarted automagically for you.
    0
  • xpy-xpy
    1. Should I even be using Memcached? Or would one of the other listed options be better? Or should I be going in an entirely different direction here? *shrug*

    WordPress lists object cache under "recommended improvements", not "critical issues". You don't implement object cache just to get rid of the message, you do that to improve performance which may or may not be necessary in each individual case. Whether your WordPress website will benefit from object cache depends upon a number of factors including your webserver software and page caching plugins used. Statistically, only a small percentage of WordPress websites will noticeably benefit from object cache on a typical shared server with a properly optimized webserver and page caching. Sometimes there can even be negative impact on performance from implementing object cache.
    0
  • cPRex Jurassic Moderator
    I wouldn't expect the memcached service to be crashing frequently. If your license is purchased through us, that's something we'd want to look into for sure. I'd start with checking /var/log/messages to see if you can find more details about *why* that service is crashing.
    0
  • rivermobster
    I wouldn't expect the memcached service to be crashing frequently. If your license is purchased through us, that's something we'd want to look into for sure. I'd start with checking /var/log/messages to see if you can find more details about *why* that service is crashing.

    Yes it was, and I can open a ticket, but i really didn't want to waste time on it, if it really ISN'T the best option here! This is basically what I want to explore first, what the BEST option is for caching, and speeding up the website. Would the Lightspeed server be a better option than anything else? Or is that a whole different deal? Let's start with This question first... :)
    0
  • cPRex Jurassic Moderator
    Litespeed is a whole different deal. It's not a bad deal, just different, and many people do see improvement when switching to that. Once you have Litespeed installed, there is a WordPress plugin option to utilize that for caching, but none of that would be related to the cPanel side of things.
    0
  • rivermobster
    Litespeed is a whole different deal. It's not a bad deal, just different, and many people do see improvement when switching to that. Once you have Litespeed installed, there is a WordPress plugin option to utilize that for caching, but none of that would be related to the cPanel side of things.

    And what about these other options? Redis, APC, eAccelerator, XCache and WinCache.
    0
  • cPRex Jurassic Moderator
    We don't offer support for any of those tools. eaccelerator has long been deprecated (GitHub - eaccelerator/eaccelerator: DEPRECATED: eAccelerator PHP opcode cache), Redis is only available in containers, APC hasn't been offered for years, Xcache has also been deprecated for many years, and Wincache has that "Win" in front of it so that won't be an option.
    0
  • rivermobster
    We don't offer support for any of those tools. eaccelerator has long been deprecated (
    Excellent. Good info. Thanks. So the only real options are Memcached and LiteSpeed, IF i'm understanding this right?
    0
  • rivermobster
    Upon further review (Google searches) LiteSpeed replaces Apache. Page/Object is still an option for both. So I guess the Real question is, what options does cPanel support??
    0
  • cPRex Jurassic Moderator
    Yes, Litespeed is a separate webserver that replaces Apache, and gives you the option for lscache. As you found, many users do report it is faster than the standard Apache configuration, is is fully integrated into cPanel:
    0
  • SimpleSonic
    As someone that has used both Apache and LiteSpeed extensively, I can say the extra cost of LiteSpeed is well worth the money spent. LiteSpeed scales better and uses far less system resources than Apache. If you're looking to improve overall speed of your web server(s), LiteSpeed is an excellent option.
    0
  • rivermobster
    Yes, Litespeed is a separate webserver that replaces Apache, and gives you the option for lscache. As you found, many users do report it is faster than the standard Apache configuration, is is fully integrated into cPanel:
    0
  • rivermobster
    How does moving to LiteSpeed affect this issue? [QUOTE] cPanel & WHM version 110 will be the last version that supports CentOS 7. Support for version 110 will end June 30, 2024. We encourage you to
    0
  • cPRex Jurassic Moderator
    @rivermobster - it doesn't at all.
    0
  • rivermobster

    Long term follow up...

    I gave up on memcached.  It was one issue after another!  Would give 0 stars if possible.  :P

    My hosting company installed NGINX for me and it seems to be working fabulously.  A lot less drain on my server resources and all my sites Definitely seem to load faster. 5 stars so far.

    -Joe

     

    0
  • cPRex Jurassic Moderator

    Thanks for sharing that follow-up!  I too am a fan of Nginx, so I'm glad to hear it's working well for you.

    0
  • consultant

    Ya I saw the persistent object cache recommendation in Wordpress lately.  I run WP Fastest Cache on my sites.  I know that is different than a memory based cache.  My sites all run great and I have a 4 dedicated CPU VDS with 8GB memory and it is way underutilized.  1Gbit ethernet speed.  You confirmed my gut that messing around with installing persistent object cache's may just cause headaches.  We can sometimes get a little too obsessed with performance outside practical user experience and thereby the saying "if it ain't broke, don't try to fix it, applies"  After 30 years sysadmin experience that saying has saved me hundreds of hours of beating my head against the wall (especially in the days I was dealing with Windows Servers!)

     

    0

Please sign in to leave a comment.