willy tarreau
2812edcde8
[MEDIUM] redispatch queued sessions if possible when a server goes down.
2006-05-04 12:09:37 +02:00
willy tarreau
45526ed05b
[MEDIUM] apply the contimeout to the queue by default.
...
An improvement will be to have a separate timeout for the queue.
2006-05-03 20:11:50 +02:00
willy tarreau
8cef8a9e78
[doc] updated the TODO
2006-05-02 23:45:50 +02:00
willy tarreau
4632c21c11
[MINOR] updated the sig_dump_state() output to show the conn queue state.
2006-05-02 23:32:51 +02:00
willy tarreau
f32f52404b
[MEDIUM] logs now show the time spent in the queue and the number of sessions
...
already waiting at accept() time. This number of session is global per instance
so it does not reflect one particular server.
2006-05-02 22:54:52 +02:00
willy tarreau
5e698ef509
[MEDIUM] slightly optimize the scheduler for non-expirable tasks.
...
The non-expirable tasks are now sent to a dedicated wait-queue so that
they do not pollute the other ones anymore. This is a temporary dirty
hack which will go away with the new O(log(n)) scheduler.
2006-05-02 14:51:00 +02:00
willy tarreau
dfece23f7d
[MAJOR] first limited implementation of connection queueing.
...
There is no timeout yet, and the server UP/DOWN events are not used
to export/import list of connections yet. It seems that the process
can sometimes eat lots of user CPU (~50%) if a maxconn is set on an
overloaded server.
2006-05-02 00:19:57 +02:00
willy tarreau
fd5c879b4d
[MINOR] print the proxy name on first line during dumps to avoid confusion.
2006-05-01 15:28:01 +02:00
willy tarreau
926a3575e6
[MAJOR] fixed missing checks for NULL srv pointers (possible in dispatch mode)
2006-05-01 15:26:35 +02:00
willy tarreau
cd655351b8
[MEDIUM] it was not possible to balance between backup servers in source hash mode.
2006-04-29 12:11:46 +02:00
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
80862a3b9e
[MINOR] imported mini-clist.h (circular lists) from librt. It might be wise to merge this with list.h and use sort of common structures.
2006-04-15 22:59:13 +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
a4197319b4
Merge branch 'haproxy-1.2.12'
2006-04-15 22:18:48 +02:00
willy tarreau
c0d4bbdc8d
[VERSION] updated everything to reflect version 1.2.12.
2006-04-15 21:47:50 +02:00
willy tarreau
9974d73d98
[BUILD] added haproxy-small.spec for smaller and embedded systems.
...
Not sure if it's the best way to proceed though...
2006-04-15 21:47:17 +02:00
willy tarreau
34f4530c3a
[doc] updated english and french docs with source and weight options.
2006-04-15 21:37:14 +02:00
willy tarreau
b3a64a797e
Revert "maintain the number of sessions per server and add this info to the logs"
...
This reverts c136461676
commit.
2006-04-15 21:10:36 +02:00
willy tarreau
8439e8c75c
Revert "added some comments to the places where we can send a pending connection"
...
This reverts 704f32b78c
commit.
2006-04-15 21:10:34 +02:00
willy tarreau
87ff241455
Revert "added the total number of sessions per server and per proxy"
...
This reverts b1c331fd8d
commit.
2006-04-15 21:10:32 +02:00
willy tarreau
393cfb7b50
Revert "added the 'weight' parameter to the servers, limited to 1..256."
...
This reverts 3b002c7a79
commit.
2006-04-15 21:10:30 +02:00
willy tarreau
6433c2bb5a
Revert "implemented the weighted load balancing based on a server map."
...
This reverts e0fa496576
commit.
2006-04-15 21:10:27 +02:00
willy tarreau
88d656fab4
Revert "updated TODO"
...
This reverts 1d176628c5
commit.
2006-04-15 21:10:25 +02:00
willy tarreau
3c4acb409a
Revert "ignore leading empty lines in HTTP requests (RFC2616)"
...
This reverts d13a3c8d2a
commit.
2006-04-15 21:10:21 +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
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