We are seeing 100% cpu usage by redis-server process. It was up for atleast 60-90 mins. Then we restarted it. During this time output of info command returned in 20-40 seconds.
We are not using slow commands like keys etc. Also only 20 connections were present all the time.
[root@CSS-FU-2 bin]# gdb -ex "set pagination 0" -ex "thread apply all bt" \
> --batch -p 15742
[Thread debugging using libthread_db enabled]
[New Thread 0x42d91940 (LWP 15745)]
[New Thread 0x42590940 (LWP 15744)]
0x0000003d2080d96b in write () from /lib64/libpthread.so.0
Thread 3 (Thread 0x42590940 (LWP 15744)):
#0 0x0000003d2080af59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x000000000043142b in bioProcessBackgroundJobs (arg=<value optimized out>) at bio.c:119
#2 0x0000003d2080677d in start_thread () from /lib64/libpthread.so.0
#3 0x0000003d1f8d30dd in clone () from /lib64/libc.so.6
Thread 2 (Thread 0x42d91940 (LWP 15745)):
#0 0x0000003d2080af59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x000000000043142b in bioProcessBackgroundJobs (arg=<value optimized out>) at bio.c:119
#2 0x0000003d2080677d in start_thread () from /lib64/libpthread.so.0
#3 0x0000003d1f8d30dd in clone () from /lib64/libc.so.6
Thread 1 (Thread 0x7f26e9ad6700 (LWP 15742)):
#0 0x0000003d2080d96b in write () from /lib64/libpthread.so.0
#1 0x00000000004180ed in sendReplyToClient (el=<value optimized out>, fd=45, privdata=<value optimized out>, mask=-1) at networking.c:589
#2 0x000000000040bdea in aeProcessEvents (eventLoop=0x7f26e8c47000, flags=3) at ae.c:346
#3 0x000000000040c04e in aeMain (eventLoop=0x7f26e8c47000) at ae.c:387
#4 0x0000000000410d8d in main (argc=<value optimized out>, argv=0x7fff66068238) at redis.c:1680
Can you please check it out?