When my server run a couple of days, the cpu load will rise a lot, the thread stack is blow:
Thread 1 (process 31689):
#0 0x00007fabc470ad2f in do_futex_wait () from /usr/lib64/libpthread.so.0
#1 0x00007fabc470ae07 in __new_sem_wait_slow () from /usr/lib64/libpthread.so.0
#2 0x00007fabc470aea5 in sem_post@@GLIBC_2.2.5 () from /usr/lib64/libpthread.so.0
#3 0x00000000007edded in timed_wait (usecs=5000, this=) at /xxx/xxx/concurrentqueue/blockingconcurrentqueue.h:226
#4 waitWithPartialSpinning (timeout_usecs=, this=) at /XXX/XXX/concurrentqueue/blockingconcurrentqueue.h:282
#5 wait (timeout_usecs=5000, this=) at
/XXX/XXX/concurrentqueue/blockingconcurrentqueue.h:362
Whether the timed_wait method will cause deadlock?
When my server run a couple of days, the cpu load will rise a lot, the thread stack is blow:
Thread 1 (process 31689):
#0 0x00007fabc470ad2f in do_futex_wait () from /usr/lib64/libpthread.so.0
#1 0x00007fabc470ae07 in __new_sem_wait_slow () from /usr/lib64/libpthread.so.0
#2 0x00007fabc470aea5 in sem_post@@GLIBC_2.2.5 () from /usr/lib64/libpthread.so.0
#3 0x00000000007edded in timed_wait (usecs=5000, this=) at /xxx/xxx/concurrentqueue/blockingconcurrentqueue.h:226
#4 waitWithPartialSpinning (timeout_usecs=, this=) at /XXX/XXX/concurrentqueue/blockingconcurrentqueue.h:282
#5 wait (timeout_usecs=5000, this=) at
/XXX/XXX/concurrentqueue/blockingconcurrentqueue.h:362
Whether the timed_wait method will cause deadlock?