Hi,
On 2019-09-18 at 01:23 +0200 Lukas Tribus sent off:
> On Wed, Sep 18, 2019 at 1:14 AM PR Bot <haproxy-pr-bot-no-re...@ltri.eu> 
> wrote:
> > Description:
> >    systemd by default limits the max open files to 1k, which also limits
> >    the socket connections to 1k, the service script must be told to
> >    remove the limit.
> 
> Since haproxy is started as root we have the privilege to bump the
> ulimit ourselfs. We cannot rely on init scripts or systemd to set
> correct values. The values are computed automatically based on maxconn
> configuration and then set accordingly by haproxy itself.

hm, and how come that the stats page shows:

system limits: memmax = unlimited; ulimit-n = 1023
maxsock = 1023; maxconn = 240; maxpipes = 0

unless the systemd limit is removed with the change I made in the systemd
service file?

Björn

Reply via email to