Search squid archive

Re: Max open files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > 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


      


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux