1. 02 Oct, 2019 1 commit
    • Oran Agra's avatar
      RED-31295 - redis: avoid race between dlopen and thread creation · 2e19b941
      Oran Agra authored
      It seeems that since I added the creation of the jemalloc thread redis
      sometimes fails to start with the following error:
      
      Inconsistency detected by ld.so: dl-tls.c: 493: _dl_allocate_tls_init: Assertion `listp->slotinfo[cnt].gen <= GL(dl_tls_generation)' failed!
      
      This seems to be due to a race bug in ld.so, in which TLS creation on the
      thread, collide with dlopen.
      
      Move the creation of BIO and jemalloc threads to after modules are loaded.
      
      plus small bugfix when trying to disable the jemalloc thread at runtime
      2e19b941
  2. 02 Jun, 2019 1 commit
    • Oran Agra's avatar
      make redis purge jemalloc after flush, and enable background purging thread · 09f99c2a
      Oran Agra authored
      jemalloc 5 doesn't immediately release memory back to the OS, instead there's a decaying
      mechanism, which doesn't work when there's no traffic (no allocations).
      this is most evident if there's no traffic after flushdb, the RSS will remain high.
      
      1) enable jemalloc background purging
      2) explicitly purge in flushdb
      09f99c2a
  3. 15 May, 2019 1 commit
    • antirez's avatar
      Narrow the effects of PR #6029 to the exact state. · 074d24df
      antirez authored
      CLIENT PAUSE may be used, in other contexts, for a long time making all
      the slaves time out. Better for now to be more specific about what
      should disable senidng PINGs.
      
      An alternative to that would be to virtually refresh the slave
      interactions when clients are paused, however for now I went for this
      more conservative solution.
      074d24df
  4. 13 May, 2019 1 commit
  5. 08 May, 2019 3 commits
  6. 07 May, 2019 3 commits
  7. 06 May, 2019 21 commits
  8. 05 May, 2019 1 commit
  9. 29 Apr, 2019 1 commit
  10. 26 Apr, 2019 2 commits
  11. 24 Apr, 2019 1 commit
  12. 17 Apr, 2019 1 commit
  13. 11 Apr, 2019 1 commit
  14. 10 Apr, 2019 1 commit
  15. 09 Apr, 2019 1 commit