I understand that the global maxconn is the maximum number of concurrent connections per process. If I want my HAProxy to be able to handle 120k concurrent connections max and I have specified ‘nbproc 4’, I will set the global maxconn to 30000.
Imagine I have a single frontend and a single backend defined, and I want to allow for 120k max concurrent connections to them, too. When I am running with ‘nbproc 4’, should maxconn for the frontend binds and for the backend also be set to 30000? Or is maxconn in these sections specifying aggregate maximum connections for the frontend/backend across all running haproxy processes?
If it makes a difference, I am using HAProxy 1.5.