- Clone repository
- Make sure
dockeranddocker-composeare installed on the system cd haproxy-memory-leak- Start containers
docker-compose up --build - Open Grafana on http://localhost:3000/
- There are two dashboards -
HAProxy 2 Full(all HAProxy metrics) andDocker Containers - Open
Docker Containersdashboard in Grafana, scroll toContainer Memory Usagewidget - Pick
haproxy23andhaproxy24containers - Observe that
haproxy24container does not free memory - Stop containers
docker-compose down - Comment lines 18-21 and 4 in
application/main.go(do not return HTTP 500 errors) - Repeat test
- Observe that now
haproxy24maintains memory correctly
This repository was archived by the owner on Dec 18, 2022. It is now read-only.
danielleontiev/haproxy-memory-leak
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|