Hello,
i've got a little problem with Squid configuration tuning :
I've got Squid 2.3 STABLE 3 under Solaris 8
My server is quite powerful : Sun Fire E-280 with 2 procs & 1 Go Ram
I want to have my squid deal as most simultaneous connections as possible
(for its tuning)
To measure connections, I use little tool which send HTTP requests of 1k
cacheable pages to 'squid'
If it can help, here is my request : "GET http://192.xxx.xxx.xxx/1k.html/
HTTP/1.1"
My problem is that I can't deal with more than 1000 'simultaneous hits'
(whereas I get more than 2000 with other caches of little size)
I have checked CPU & Memory, it's OK :
I've got 30% Free on 1 CPU, and 60% on the other (besides, how does squid
deal with multi processors?)
Also, I've got more than enough RAM (or swap) free
So, my question is : why not more than 1000 connections ?
Is it due to File Descriptors limitation ?
I have set Soft limit to 1024 and Hard Limit to 4096 (it seems that Squid
can't manage more than 1024 FD).
I use poll() method for file access.
I'm almost sure there is one parameter i need to change, but I can't find it
(i've tried almost all Squid Tags)
here is my squid.conf file (it's really minimal ...)
# NETWORK OPTIONS
http_port 3128
icp_port 0
cache_effective_user squid
cache_effective_group squid
cache_mem 500 MB
maximum_object_size 4096 KB
minimum_object_size 0 KB
# OPTIONS WHICH AFFECT THE LOGs
pid_filename /usr/local/squid/logs/squid.pid
cache_dir ufs /usr/local/squid/cache 2500 16 256
cache_log /usr/local/squid/logs/cache.log
cache_access_log /dev/null
pid_filename /usr/local/squid/logs/squid.pid
# OPTIONS FOR EXTERNAL SUPPORT PROGRAMS
ftp_passive on
dns_children 5
refresh_pattern . 5 20% 4000
http_access allow All
Any help will be greatly appreciated... !
Bye,
Richard.
*************************************************************************
Ce message et toutes les pieces jointes (ci-apres le "message") sont
confidentiels et etablis a l'intention exclusive de ses destinataires.
Toute utilisation ou diffusion non autorisee est interdite.
Tout message electronique est susceptible d'alteration.
La SOCIETE GENERALE et ses filiales declinent toute responsabilite au titre de ce message s'il a ete altere, deforme ou falsifie.
********
This message and any attachments (the "message") are confidential and
intended solely for the addressees.
Any unauthorised use or dissemination is prohibited.
E-mails are susceptible to alteration.
Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified.
*************************************************************************
Received on Wed Aug 22 2001 - 10:40:05 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:01:53 MST