On Tue, Apr 27, 2010 at 02:54:24PM -0700, Dustin Moskovitz wrote: > Yea, I should have thought of that - certainly we are on the cutting edge > :) > > Unfortunately, when I try to upgrade from 1.4.0, I am unable to get the > proxy up and handling requests (forgetting the virtual hosts thing, just > trying to use the config I already had working). The only thing I see in the > log output is: > Available polling systems : > poll : pref=200, test result OK > select : pref=150, test result OK > Total: 2 (2 usable), will use poll. > Using poll() as the polling mechanism.
First, depending on the system you'll use it on, you could get better performance. On Linux, use "TARGET=linux26" to get support for epoll(), and on FreeBSD/OpenBSD, use the appropriate makefile to get support for kqueue(). > [ALERT] 116/214946 (671) : socket for logger #1 failed: Address family not > supported by protocol (errno=97) Huh ? It's the first time I ever see that ! Looks like you can't create a UDP socket to send your logs ! Did you perform a "make clean" before rebuilding ? It is possible that some struct members have moved between the two versions and that you rebuilt without replacing all of your .o files. > Requests just seem to hang from the client's perspective and I don't see > anything on the console indicating they are being handled. Depending on the reason for the anomaly above, it could be anything. It's possible that the process is spinning or waiting forever or doing anything stupid. > There is nothing > in the log, which makes sense given the logging alert. I will get a separate > alert for each backend block I have defined, regardless of whether it > actually has a log line or what options I try using there. Is it possible > that the new haproxy somehow enforces ipv6 addresses? No, there is no reason for this. And you would not get such a strange message anyway. If you want, you can send me your config in private, I'll retry here, just in case. If I can reproduce, whatever the reason we have to work on it so that either it cannot happen anymore or at least there are indications of the reason ! Regards, Willy

