Re: openfiles / ulimit

From: Willy Tarreau <w#1wt.eu>
Date: Thu, 6 Oct 2011 22:12:11 +0200


Hi Gerd,

On Tue, Oct 04, 2011 at 09:21:13AM +0200, Gerd Mueller wrote:
> Hi all,
>
> Since Friday I am watching the openfiles (/proc/sys/fs/file-nr) on my
> haproxy. The graph looks very interesting to me. Even with constantly
> increasing or decreasing concurrent connections it looks to me that the
> amount of openfiles do not change very much. We had a lot of traffic
> (bandwidth and connections) on Sunday and the graph showed no
> difference. HAProsy's stats site gives me following values: system
> limits: memmax = unlimited; ulimit-n = 60135
>
> I wonder if I have a ulimit problem or not. Anybody andy thoughts?

I'm quite sure that either your frontend (or defaults) maxconn is limited, please check your config, this should very likely be the reason.

Regards,
Willy Received on 2011/10/06 22:12

This archive was generated by hypermail 2.2.0 : 2011/10/06 22:15 CEST