Hello lizj3624,
we are gonna need the configuration, at least redacted. Especially
important are timeouts and maxconn values. Also provide the output of
haproxy -vv.
Am 21.04.2017 um 08:56 schrieb lizj3624 lizj3624:
Why run a period of time, while dealing with a large number of HTTP
request, memory soared from 300m to 1G?
Because as connection slots are getting used, more memory is allocated.
What are your maxconn values?
Please help me analyze, the relevant information is as follows:
1、Our production environment:
OS: Linux-2.6.32-431.el6.x86_64
Haproxy:
version: 1.5.12, On the basis of that, we made some patches.
You probably wanna try a a current vanilla release then (although I can't
remember any memory leaks).
(not a release with 107 known bugs, 10 of the MAJOR and 44 of them MEDIUM:
lukas@dev:~/haproxy-1.5$ git log --oneline v1.5.12.. | grep BUG | wc -l
107
lukas@dev:~/haproxy-1.5$ git log --oneline v1.5.12.. | grep BUG | grep
MAJ | wc -l
10
lukas@dev:~/haproxy-1.5$ git log --oneline v1.5.12.. | grep BUG | grep
MED | wc -l
44
lukas@dev:~/haproxy-1.5$
)
Regards,
Lukas