futex
Apache mod_perl processes hang in futex_wait state
I run a fairly popular browser-based web game, running under Apache (worker) and mod_p开发者_如何转开发erl. During peak times, when the server is handling about 4200 requests per minute, once every 3-[详细]
2023-04-13 02:44 分类:问答Profiling synchronization operations in Linux
I want to profile synchr开发者_JAVA百科onization operations, such as locking and unlocking of mutexes, semaphores etc. in Linux.[详细]
2023-04-09 22:55 分类:问答Deferred bcast wakeup for condition variables - is it valid?
I\'m implementing pthread condition variables (based on Linux futexes) and I have an idea for avoiding the \"stampede effect\" on pthread_cond_broadcast with process-shared condition variables. For no[详细]
2023-04-06 22:10 分类:问答Linux futex syscall spurious wakes with return value 0?
I\'ve run into an issue with the Linux futex syscall (FUTEX_WAIT operation) sometimes returning early seemingly without cause. The documentation specifies certain conditions that may cause it to retur[详细]
2023-04-04 16:22 分类:问答Python hangs in futex calls
I have a Python daemon running in production. It employs between 7 and 120 threads. Recently the smallest instance (7 threads) started to show hangs while all other instances never showed this kind o开[详细]
2023-01-19 17:48 分类:问答messed up using do_futex?
I\'m getting a weird error. I implemented these two functions: int flag_and_sleep(volatile unsigned int *flag)[详细]
2023-01-13 17:42 分类:问答Too many futex() calls
We are observing unusual delays in one of our Java apps on a Linux RedHat machine while trying to publish to an external MQ queue (It never happened before). Did a quick health check on the box and th[详细]
2023-01-10 10:21 分类:问答Can I mix futex-based mutexes with glibc-2.2 linuxthreads mutexes?
If you don\'t know what is futex and linuxthreads-0.9, please, don\'t reply. Can I mix in one program futex-based mutex with mutex from linuxthreads-0.8 or -0.9 (which was used in all glibc <=2.2[详细]
2022-12-19 15:51 分类:问答