0

I know if you restart memcached the data is lost. What about when an update happens? I am not 100% sure even how to do an update, but I think yum will do it automatically and it would be very bad if the data was flushed on update.

1 Answer 1

2

Yes, the service will be restarted when the package is updated.

Unless you have something running yum update automatically, you can control when the update happens; schedule it for off-hours when the rebuilding of cache won't hurt too much.

2
  • I am using memcache for php sessions so I wouldn't want to do a restart at any point. Is there a way to keep the data? Jul 6, 2014 at 19:45
  • 3
    @ChrisMuench Not that I know of. I'd recommend Redis instead if you need data persistence and/or replication. Jul 6, 2014 at 19:48

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .