Re: [squid-users] Failed to select source for ...assert failure...

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Thu, 26 Jun 2008 08:52:25 +0200

On tor, 2008-06-26 at 10:32 +0800, Roy M. wrote:

> If I set the number of fd to 65535, that's mean I can have 65535
> concurrent client (in theory) ?

That means the total number of connetions (both client and server) plus
disk files Squid can keep open at any given time is up to 65535.

A cacheable cache miss of noticeable size uses 3 (client, server, disk)

A cache hit uses 2 (client, disk)

A memory cache hit uses 1 (client)

A non-cachable requests uses 2 (client, server)

Persistent connections stay used between requests, optimizing the setup
time for the next request (eleminated), making a huge difference over
WAN links.

With 65K filedescriptors you can probably support somewhere in the range
of 30k-40k concurrent users with persistent connections, a little
depending on how you define concurrent..

Regards
Henrik

Received on Thu Jun 26 2008 - 06:52:30 MDT

This archive was generated by hypermail 2.2.0 : Thu Jun 26 2008 - 12:00:04 MDT