Commit Graph

13974 Commits

Author SHA1 Message Date
willy tarreau
2c51373bfa [MINOR] optionnal '-s' command line argument could clobber '-st' and '-sf' 2006-04-15 19:25:16 +02:00
willy tarreau
91b76215c2 * updated TODO 2006-04-15 19:05:42 +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
d13a3c8d2a * ignore leading empty lines in HTTP requests (RFC2616) 2006-04-10 21:01:39 +02:00
willy tarreau
1d176628c5 * updated TODO 2006-04-10 20:34:25 +02:00
willy tarreau
e0fa496576 * implemented the weighted load balancing based on a server map.
Weighted roundrobin and weighted source hash are now supported.
2006-04-10 20:32:43 +02:00
willy tarreau
3b002c7a79 * 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-08 21:52:24 +02:00
willy tarreau
b1c331fd8d * added the total number of sessions per server and per proxy
and we now report it in the dumps.
2006-04-07 18:23:29 +02:00
willy tarreau
704f32b78c * added some comments to the places where we can send a pending connection
to a server in case of throttling.
2006-04-07 17:37:55 +02:00
willy tarreau
c136461676 maintain the number of sessions per server and add this info to the logs 2006-04-07 16:28:28 +02:00
willy tarreau
a60214e260 * once again, forgot to update haproxy.spec 2006-03-30 18:03:39 +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
b8d29e4361 * some regression test files for active/backup conditions. 2006-03-25 20:33:14 +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
aaff30e62e Updated CHANGELOG for v1.2.10 2006-03-19 21:30:41 +01:00
willy tarreau
e114bf94a3 cleaned the 'tar' target and allowed the 'clean' target to remove the tar.gz file. 2006-03-19 21:30:14 +01:00
willy tarreau
cee272fff4 Added the 'tar' target to build the tar.gz archive directly from git. 2006-03-19 21:16:26 +01:00
willy tarreau
d8b1fa5269 Released version 1.2.10 2006-03-19 21:01:07 +01:00
willy tarreau
d38e72d567 Separated OpenBSD build from the main Makefile into a new one. 2006-03-19 20:56:52 +01:00
willy tarreau
fd6e535154 provided a patch to enable epoll on RHEL3 kernels. 2006-03-19 20:13:37 +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
3c407cd544 ENORMOUS long standing bug affecting the epoll polling system.
event_data is a union, not a structure !
2006-03-19 19:33:33 +01:00
willy tarreau
779dc897e7 assert.h is needed when DEBUG is defined. 2006-03-19 19:32:29 +01:00
willy tarreau
e4c2e10a98 fixed haproxy.spec to build correctly on RHEL3 2006-03-15 20:47:25 +01:00
willy tarreau
50be0170d1 Updated version to 1.2.9 2006-03-15 19:41:19 +01:00
willy tarreau
b6da47990b New .spec for RHEL from DAG 2006-03-15 19:41:10 +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