willy tarreau
a5e8c663a9
[MINOR] stupid bug which caused two different session flags to use the same bit.
...
Fortunately, this had no side effect because they were not used in same areas.
2006-04-29 10:43:46 +02:00
willy tarreau
0889c962b5
[CLEANUP] cleaned some comments.
2006-04-24 14:36:48 +02:00
willy tarreau
7feab59518
[MINOR] always process the run queue from the head.
...
This ensures that any task wan wake any other task up and that it will be
processed too.
2006-04-22 15:13:16 +02:00
willy tarreau
898db9d595
[MEDIUM] now the round-robin load balancer uses two passes to avoid saturated servers. The first avoids servers which have filled with maxconn connections, and a second pass can enforce the selection of one of them if the first pass found no candidate.
2006-04-15 22:59:58 +02:00
willy tarreau
18a957c325
[MEDIUM] added the necessary infrastructure to support per-server session limits : - the "maxconn" config option - the new SV_STCPEND state (connection pending) - a per-server pending connections queue
2006-04-15 22:59:34 +02:00
willy tarreau
14b4d43db3
[MEDIUM] added the total number of sessions per server and per proxy and we now report it in the dumps.
2006-04-15 22:47:12 +02:00
willy tarreau
cfbb218b42
[MINOR] added some comments to the places where we can send a pending connection to a server in case of throttling.
2006-04-15 22:46:38 +02:00
willy tarreau
a647c7051e
[MINOR] maintain the number of sessions per server and add this info to the logs
2006-04-15 22:45:52 +02:00
willy tarreau
c0d4bbdc8d
[VERSION] updated everything to reflect version 1.2.12.
2006-04-15 21:47:50 +02:00
willy tarreau
2c51373bfa
[MINOR] optionnal '-s' command line argument could clobber '-st' and '-sf'
2006-04-15 19:25:16 +02:00
willy tarreau
cc1e2bda20
* implemented the weighted load balancing based on a server map.
...
Weighted roundrobin and weighted source hash are now supported.
2006-04-15 19:02:24 +02:00
willy tarreau
e3f023f677
* added the 'weight' parameter to the servers, limited to 1..256.
...
It is factored between all the servers so that the servers map
will be smaller and easier to construct.
2006-04-15 19:01:09 +02:00
willy tarreau
43b1512834
* ignore leading empty lines in HTTP requests (RFC2616)
2006-04-15 18:50:09 +02:00
willy tarreau
e0dd269db8
* Released version 1.2.11.1
2006-03-30 16:27:34 +02:00
willy tarreau
06a1205f57
* it might have been possible that a flapping server would not have been
...
detected UP is responding just before being declared down.
2006-03-30 15:03:36 +02:00
willy tarreau
d2058dc491
* updated CHANGELOG and haproxy.c to display version 1.2.11
2006-03-25 20:35:41 +01:00
willy tarreau
bf8ff3d4cc
* added the '-db' command-line option to disable backgrounding.
2006-03-25 20:33:48 +01:00
willy tarreau
53e99701c6
* added the -sf/-st command-line arguments which are used to specify
...
a list of pids to send a FINISH or TERMINATE signal upon startup.
They will also be asked to release their port if a bind fails.
2006-03-25 20:33:42 +01:00
willy tarreau
41310e7d9d
* reworked the startup mechanism to allow the sending of a signal to a list
...
of old pids if a socket cannot be bound, with a retry for a limited amount
of time (1 second by default).
2006-03-25 20:33:33 +01:00
willy tarreau
746e26b180
* added the ability to enforce limits on memory usage.
2006-03-25 20:33:22 +01:00
willy tarreau
1a3442daee
* added the 'source' load-balancing algorithm which uses the source IP(v4|v6)
2006-03-25 20:33:17 +01:00
willy tarreau
4c8c2b5f08
* re-architectured the server round-robin mechanism to ease integration of
...
other algorithms. It now relies on the number of active and backup servers.
2006-03-25 20:33:10 +01:00
willy tarreau
62084d4f2d
* added a counter for the number of active and backup servers, and report
...
these numbers upon SIGHUP or state change.
2006-03-25 20:33:07 +01:00
willy tarreau
bfad574854
Released 1.2.10.1
2006-03-23 14:19:11 +01:00
willy tarreau
72e583d030
While fixing the backup server round-robin "feature", a new bug was introduced
...
which could miss some backup servers.
2006-03-23 11:27:02 +01:00
willy tarreau
1fb3493492
* The displayed proxy name was wrong when dumping upon SIGHUP.
2006-03-23 11:22:10 +01:00
willy tarreau
d8b1fa5269
Released version 1.2.10
2006-03-19 21:01:07 +01:00
willy tarreau
fd6dfe7c76
Fixed some messages to ease parsing of alerts.
2006-03-19 19:38:19 +01:00
willy tarreau
25424f8558
Make health-checks be more regular, and faster to retry after a timeout.
2006-03-19 19:37:48 +01:00
willy tarreau
c2becdc403
Limit the number of consecutive accept() in multi-process mode.
...
This produces a more evenly distributed load across the processes and slightly
improves performance by reducing bottlenecks.
2006-03-19 19:36:48 +01:00
willy tarreau
05be12bb20
Make fd management more robust and easier to debug. Also some micro-optimisations.
2006-03-19 19:35:00 +01:00
willy tarreau
779dc897e7
assert.h is needed when DEBUG is defined.
2006-03-19 19:32:29 +01:00
willy tarreau
50be0170d1
Updated version to 1.2.9
2006-03-15 19:41:19 +01:00
Willy TARREAU
2bfdd8e26a
* haproxy could not be stopped after being paused.
2006-03-12 18:03:05 +01:00
Willy TARREAU
dd676173f0
* automatically deduce ulimit-n from maxsock
2006-03-12 18:01:33 +01:00
Willy TARREAU
203b0b624f
* account for the sockets needed for listeners and checks
...
during computation of maximum number of sockets.
2006-03-12 18:00:28 +01:00
Willy TARREAU
13032e769e
* added the ability to enforce a maximum number of connections at compile time via SYSTEM_MAXCONN.
2006-03-12 17:49:02 +01:00
willy tarreau
b5669e94ae
* implemented support for multi-line headers as required by RFC2616.
2006-03-02 16:50:45 +01:00
Willy TARREAU
3759f98d44
* health checks sent to servers configured with identical intervals
...
were sent in perfect synchronisation because the initial time was
the same for all. This could induce high load peaks when fragile
servers were hosting tens of instances for the same application.
Now the load is spread evenly across the smallest interval amongst
a listener.
2006-03-01 22:44:17 +01:00
Willy TARREAU
767ba71444
* the default 'httpclose' option only sets the 'Connection:' headers
...
to 'close', but does not actually close any connection. The problem
is, there are some servers which don't close the connection even if
the proxy tells them 'Connection: close'. A workaround was added by
the way of a new option 'forceclose' (which implies 'httpclose'),
and which makes the proxy close the outgoing channel to the server
once it has sent all its headers. Just don't use this with the
'CONNECT' method of course !
2006-03-01 22:40:50 +01:00
Willy TARREAU
3481c46368
* there was a bug in the way the backup servers were handled. They
...
were erroneously load-balanced while the doc said the opposite.
Since load-balanced backup servers is one of the features some
people have been asking for, the problem was fixed to reflect the
documented behaviour and a new option 'allbackups' was introduced
to provide the feature to those who need it.
2006-03-01 22:37:57 +01:00
Willy TARREAU
b45124729a
* some commented out debug code was not usable. This is fixed.
2006-03-01 22:34:48 +01:00
Willy TARREAU
1cec83c754
* a never ending connect() could lead to a fast select() loop if
...
its timeout times the number of retransmits exceeded the server
read or write timeout, because the later was used to compute
select()'s timeout while the connection timeout was not reached.
2006-03-01 22:33:49 +01:00
Willy TARREAU
c9a643998f
* fixed some tv_cmp_ms() computations. Strictly speaking, there was
...
a very short window of 1 microsecond every millisecond during which
two events were not considered as 1 ms apart from each other.
2006-03-01 22:30:20 +01:00
Willy TARREAU
a9e75f6eff
* now we initialize the libc's localtime structures very early so
...
that even under OOM conditions, we can still send dated error
messages without segfaulting.
2006-03-01 22:27:48 +01:00
Willy TARREAU
e3283d1cd3
* daemon mode must imply 'quiet' and disable 'verbose' as
...
stdout/stderr file descriptors are closed.
2006-03-01 22:15:29 +01:00
willy tarreau
726618c761
* fixed a few missing dates
2006-01-29 22:42:06 +01:00
willy tarreau
065f1c0798
* bumped version to 1.2.8 and updated CHANGELOG accordingly
2006-01-29 22:10:07 +01:00
willy tarreau
cb2e562ad7
* recent change for pause/play mode broke compilation due to sockaddr_storage.
2006-01-29 21:55:30 +01:00
willy tarreau
808b4e6f61
* do not respect the grace time when switching from PAUSED to STOPPED state.
2006-01-29 21:39:33 +01:00