Skip to main content

Memcached + Apache 2.2 crashes site every 5-10 minutes

Comments

7 comments

  • User Avatar
    63bus
    For reference, in EasyApache I have these selected, among other things: MPM Prefork eAccelerator 0.9.6.1 Mod FastCGI v2.3.9 Mod Security 2.8.0 Just in case any of those are causing some conflict or should be altered to have memcached work.
    0
  • User Avatar
    63bus
    Resolution to this issue: There was no issue with memcached. Originally my site was overloading because one of my tables had grown so large (120M rows) that the mySQL queries against it could not be processed in a timely fashion. Even though I had used memcached to cache a lot of my "busy" queries, Apache and my site were still overloading because the mySQL Query Cache was off. A combination of redesigning the large table design and my queries against it, turning the Query cache back on, some mySQL database parameter tuning, and using memcached for my high-volume queries has my site running smooth now with a low load. Notes: My server had auto-updated Memcached to version 1.4.21 while I was working on these issues but I don't believe this had any effect. I am also back on Apache 2.4.
    0
  • User Avatar
    cPanelMichael
    I am happy to see the issue has been resolved. Thank you for updating us with the outcome.
    0
  • User Avatar
    James.Simpson
    Just out of interest, how did you install memcached on Apache 2.4, as the official guide states Memcached is not compatible with this version of Apache?
    0
  • User Avatar
    63bus
    Just out of interest, how did you install memcached on Apache 2.4, as the official guide states Memcached is not compatible with this version of Apache?

    Memcached site: memcached - a distributed memory object caching system Where does it says that? It's working fine for me since installing it above.
    0
  • User Avatar
    63bus
    The Apache module mod_cache is not the same as memcached.
    0

Please sign in to leave a comment.