On Saturday 31 May 2003 08.31, Sukhjit Singh wrote: > Dear all the squid gurus, > > kindly solve my problem. > > I am using squid2.5 stable+wccp v2 > i have 512Mbps of RAM and PIII- 1Ghz processor and 33GB SCSI > i am getting 200-300 hits/s
For 200-300 hits/s (ca 20-30Mbps of HTTP traffic) you need to quite a bit of tuning, and design your system correctly. This is about as fast as it is practically possible to build a single Squid proxy server today with correct tuning. Sidenote: reverse proxies may have a higher workload and perform fine, depending on the workload size. * You need several cache drives and use aufs/diskd (which to use depends on your OS). Squid puts a quite high load on harddrive seek times. * You need to tune your system for many filedescriptors. 200-300 hits/s you will certainly run into the default limit of 1024 filedescriptors/process after a while. Depending on your OS type you also may need to tune the max number of sockets open, network I/O buffers etc. * You need to reconfigure the system to have many unbound TCP/IP ports available for applications to use. At these rates you need to have a range of unbound TCP/IP ports of at least 30000 ports, preferably the double (max possible). * Also make sure to read the Squid FAQ chapter on memory usage. Regards Henrik -- Donations welcome if you consider my Free Squid support helpful. https://www.paypal.com/xclick/business=hno%40squid-cache.org If you need commercial Squid support or cost effective Squid or firewall appliances please refer to MARA Systems AB, Sweden http://www.marasystems.com/, [EMAIL PROTECTED]
