Re: [squid-users] Max open files

From: John Doe <jdmls_at_yahoo.com>
Date: Wed, 3 Sep 2008 09:24:48 -0700 (PDT)

> > what max open files should I set for an "average" squid reverse-proxy config?
> > By default it is 1024 on my linux distrib and I was wondering if it would be
> enough...
> > I did set FD=64000.
> >
>
> How many req/sec are you expecting? multiply by 3, then multiply by the
> time in seconds you expect an 'average' connection to stay open (I'd
> expect 1-5 seconds on a fast system).
>
> Does the number you come up with seem reasonable to use? if not how
> close can you get.

Let's say 100r/s, with 1s average requests => 300, which seems reasonable.
But, I might have from times to times a wave of people (with potentialy slow connections) requesting big videos at the same time.
So the connections are going to stay open for many seconds, maybe even minutes...
So, to stay on the safe side, I guess I will raise it to 4096.

Thx,
JD

      
Received on Wed Sep 03 2008 - 16:25:00 MDT

This archive was generated by hypermail 2.2.0 : Wed Sep 03 2008 - 12:00:02 MDT