Hi Georges-Etienne, On Mon, Feb 02, 2015 at 08:35:21AM -0500, Georges-Etienne Legendre wrote: > Thanks for your help. > > The configuration is now back to 5000 maxconn, and Haproxy has been running > with this config over the last weekend. The memory footprint is now >1G.
OK, so there's no doubt about it. > # ps -u nobody u > USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND > nobody 9103 0.7 3.9 1334192 1291740 ? Ss Jan30 30:03 > /usr/sbin/haproxy -D -f /etc/haproxy/haproxy.cfg -p /var/run/haproxy.pid > > # telnet localhost 1935 > show pools > Dumping pools usage. Use SIGQUIT to flush them. > - Pool pipe (32 bytes) : 5 allocated (160 bytes), 5 used, 3 users [SHARED] > - Pool capture (64 bytes) : 0 allocated (0 bytes), 0 used, 1 users > [SHARED] > - Pool channel (80 bytes) : 168 allocated (13440 bytes), 6 used, 1 users > [SHARED] > - Pool task (112 bytes) : 149 allocated (16688 bytes), 67 used, 1 users > [SHARED] > - Pool uniqueid (128 bytes) : 0 allocated (0 bytes), 0 used, 1 users > [SHARED] > - Pool connection (320 bytes) : 168 allocated (53760 bytes), 6 used, 1 > users [SHARED] > - Pool hdr_idx (416 bytes) : 84 allocated (34944 bytes), 2 used, 1 users > [SHARED] > - Pool session (864 bytes) : 85 allocated (73440 bytes), 3 used, 1 users > [SHARED] > - Pool requri (1024 bytes) : 21 allocated (21504 bytes), 0 used, 1 users > [SHARED] > - Pool buffer (16416 bytes) : 168 allocated (2757888 bytes), 6 used, 1 > users [SHARED] > Total: 10 pools, 2971824 bytes allocated, 111984 used. Impressive, nothing *seems* to be used here. So we're leaking somewhere else. I spent the whole afternoon on Friday trying to reproduce various cases using connection probes, with/without data, with/without request, etc, but couldn't come to anything related to what you're seeing. > I've also executed the tcpdump + strace for about 30 seconds. There should > be no confidential info, but to be sure, I will send them to you personally. Great, thank you, I'll study all this. I really appreciate your help on this bug! I hope I can reproduce it and spot what is happening. Best regards, Willy