Hi Henry, On Fri, Apr 12, 2013 at 05:06:31AM +0000, Henry Qian wrote: > 3) Tried to trace what haproxy process is doing though "strace -c -p $(pid of > haproxy)". However it returns nothing as well.
Which means it's looping in user mode. > 4) Used GDB to step though the haproxy process, and find the haproxy is loop > though the following code endlessly. For detail, please see attached file > GDB_haproxy.txt. > > 444 in ebtree/ebtree.h > 327 in src/lb_chash.c > 330 in src/lb_chash.c > 340 in src/lb_chash.c > 341 in src/lb_chash.c Seems like something in relation to consistent hashing > 44 in src/queue.c > 46 in src/queue.c > 53 in src/queue.c > 61 in src/queue.c ... or ping-pong between queue and consistent hashing. Very little has changed in this area over the last few years, which could explain why the issue is consistent over several versions. As others have suggested, please share your configuration. Also take a look at your logs to see if you notice something unusual (eg: all servers down, or queue reaching certain high values). I'll check at the code at the same time and compare it with your trace to see if something pops up. Thanks, Willy

