Hi Ricardo,
haproxy sets those values itself. If you want custom settings, adjust
the configuration (although its not recommended, because this is
automatically computed based on maxconn configuration):
http://cbonte.github.io/haproxy-dconv/configuration-1.6.html#3.1-ulimit-n
Also see:
http://cbonte.github.io/haproxy-dconv/configuration-1.6.html#3.2-maxconn
I would suggest you only configure maxconn in the haproxy configuration,
and not enforce artificial ulimits, otherwise things will break when the
kernel starts enforcing those limits.
Regards,
Lukas