Unfortunately the same issue :(
Died after less than 10mins with:
[ALERT] 258/182824 (70506) : accept(): cannot set the socket in non
blocking mode. Giving up
On 2010. 09. 16. 19:23, Jozsef R.Nagy wrote:
On 2010. 09. 16. 18:14, Ross West wrote:
RNJ> Compiled from latest source, by make -f Makefile.bsd REGEX=pcre
RNJ> DEBUG= COPTS.generic="-Os -fomit-frame-pointer" (no mgnu)
Just getting caught up on this thread and the fact it's on Freebsd. :-)
Since you're not using gmake, you have to watch out that the
Makefile.bsd sets additional compile flags by default that might be
causing some issues. It's set for openbsd as a default with a tight
memory environment.
Give the following compilation string a try (all one line) to stop the
shrinking of the buffers.
make -f Makefile.bsd
TARGET=freebsd
REGEX=pcre
DEBUG=
COPTS.freebsd="-O2 -DENABLE_POLL -DENABLE_KQUEUE"
SMALL_OPTS=
Will try this in a few mins, thanks for the tip!
Also, can you do the output of "haproxy -vv"?
Currently -with the failing binary-, it is:
HA-Proxy version 1.5-dev2 2010/08/28
Copyright 2000-2010 Willy Tarreau <[email protected]>
Build options :
TARGET = openbsd
CPU = generic
CC = gcc
Default settings :
maxconn = 1024, bufsize = 8030, maxrewrite = 1030, maxpollevents = 200
Encrypted password support via crypt(3): no
Available polling systems :
kqueue : pref=300, test result OK
poll : pref=200, test result OK
select : pref=150, test result OK
Total: 3 (3 usable), will use kqueue.
Cheers,
Ross.
Joe