Closed alfredbaudisch closed 6 years ago
Judging by this output, the cache owner process is not running. Can you confirm that it has in fact restarted?
I also wonder how did the cache owner process crash in the first place. That process does fairly simple work which is related only to expiring of items, so it shouldn't crash (unless there's a bug of course). Can you find a log record of the cache process crashing?
Sorry for the delay. It was something like this:
Application
|
+--Some Supervisor
|
+-- con_cache
+-- something else
Some Supervisor crashed, and after restarting, con_cache was in that state. Unfortunately after my report I wasn't able to reproduce anymore.
This doesn't leave much to go on :(
In any case, you may want to upgrade you con_cache (assuming you're on Elixir 1.4). It now uses the official Registry (previously a custom one has been used). It also nests lock processes in the cache hierarchy (previously it was global). Perhaps both of these changes eliminate the problem.
Unfortunately I don't have much more information to try to reproduce, but if ConCache crashes, after the Supervisor restarts it keeps repeating: