Hi Willy,

On 7/15/09 10:27 AM, Willy Tarreau wrote:
Hi Robbie,

On Wed, Jul 15, 2009 at 10:09:28AM +0200, Robbie Aelter wrote:
Also, if you can reproduce that on unitary tests, could you please run
"strace -o /tmp/haproxy.trace -p $(pidof haproxy)" and send me the file
/tmp/haproxy.trace ?


I will try to reproduce this today and send you the file.

well, please try the patches from the other mail first, as I
managed to reproduce the issue here and to fix it. If you feel
uneasy with applying patches, you can use the latest snapshot
here instead :

   
http://haproxy.1wt.eu/download/1.3/src/snapshot/haproxy-1.3.18-patches-20090715.tar.gz

Regards,
Willy

I applied the 2 patches, 0013 - 0014, if I am correct, no success. But I noticed some co-workers have no problem at all. I think it is due to the cookie, that contains illegal stuff. I'll try to put a webservice on the local box of haproxy to see the errors, because now i can't see where in the header parsing it goes wrong. I base myself on the PH-- and the -1 you noticed, that means that the header parsing contained errors. Is there a way around this? I'll diff the cookies to check any differences. If you still want the strace i can provide you this. The tcpdump is a little more difficult since everything has to happen live, alot of info flows through. I cannot filter on client ip since haproxy hides it. But i saw resets on the backend box, when i performend the logout.

# /var/log/apache2# tcpdump -i eth0.2 -l "tcp dst port 80 and ((tcp[tcpflags] & tcp-rst) = tcp-rst)"
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0.2, link-type EN10MB (Ethernet), capture size 96 bytes
12:39:07.027292 IP proxy.52835 > web.www: R 3926970814:3926970814(0) ack 970538910 win 227 <nop,nop,timestamp 352042308 285313103>
12:39:07.027360 IP proxy.52835 > web.www: R 3926970814:3926970814(0) win 0

I'll mail you the strace in private.

kind regards,

Robbie


--

Robbie Aelter
System/Network Engineer

NETLOG NV
Emile Braunplein 18
B-9000 Gent
http://corporate.netlog.com/
Tel  +32 2 400 43 21
Fax +32 2 400 43 20

rob...@netlog.com
http://netlog.com/robbieaelter
GSM +32 474 933298


Reply via email to