| | |

WordPress Redis Object Cache breaking

Just worked through a small problem with a friend who had sporadic issues with the wordpress “redis object cache” plugin. “socket read errors” were not uncommon, and sometimes “script already running” messages from redis itself.

I didn’t quickly get a handle on what the plugin is trying to cache, or how, but my sense is that it was bundling a lot of data in one request. The redis server in question was also set up to persist to disk. This shouldn’t be something they need. The source of the data is already in wordpress; the ‘caching’ should only be being used to speed things up, but not fail if the data is missing (redis gets reset or the value is evicted, for example).

Disabling persistence altogether (removing all ‘save’ references in the redis.conf) *seems* to have resolved the issue.

Similar Posts

  • |

    Importance of backups

    Well… here we are.  10 years later, and … no backups.  Or… none of the data that’s important. Recently had a drive crash in my main server where this blog is hosted.  Had it happen 2 years ago, but the data was recovered, and I put everything on automatic backups.  Using virtualmin, a great control…

  • |

    CyclopsMonitor

    I’ve been posting more about this new service over on linkedin, but haven’t posted much here. CyclopsMonitor is a web monitoring service – checking if a web address is up, how fast it responds, if specific content is available, when SSL/TLS certs expire, when domain name expires, and… sending you notifications when problems occur. Currently,…

  • |

    chunked file uploads with plupload

    Holy tamole… Have been wrestling with a client project using ‘plupload’ with a user base consistently uploading files from 150-500meg on a daily basis. They’d been uploading to youtube/vimeo mostly, because the experience with the older uploader (still plupload earlier version) was bad – slow, mostly, but some issues about determining whether items were uploaded/processed…

  • |

    Bad I9 PDF form

    Have been needing to programmatically fill out an I9 PDF, retrieved from gov site. Should be fairly straightforward, right? Well… the field names are… a mess. Field names like topmostSubform[0].Page1[0].U\.S\._Social_Security_Number__Last_4_numbers_[0]topmostSubform[0].Page1[0].expiration_date__if_applicable__mm_dd_yyyy[0] topmostSubform[0].Page2[0].Employers_Business_or_Organization_Address_Street_Number_and_Name[0] and so on make it pretty… not straightforward to create a usable key/value combination to search and replace. But… today, I noticed it got…

Leave a Reply

Your email address will not be published. Required fields are marked *