Search squid archive

RE: Multi processors

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

 



Marcos,

What OS are you running squid on?

According to the Docs, squid cannot take advantage of an SMP kernel but
there is a reference about having multiple instances of squid running,
However some OS's are very specific on how they handle processes, a little
more information about your setup would be helpful

Saul 
-----Original Message-----
From: Marcos Camões Bourgeaiseau [mailto:marcoscamoes@xxxxxxxxxxxxx] 
Sent: Tuesday, March 11, 2008 3:21 PM
To: squid-users@xxxxxxxxxxxxxxx
Subject:  Multi processors

I have compiled squid with those options below:

squid -v
Squid Cache: Version 2.5.STABLE12
configure options:  --sysconfdir=/etc/squid 
--enable-storeio=aufs,coss,diskd,ufs --enable-poll --enable-delay-pools 
--enable-linux-netfilter --enable-htcp --enable-carp --with-pthreads 
--enable-underscores --enable-external --enable-arp-acl 
--with-maxfd=16384 --enable-async-io=50 --enable-snmp

It runs in a machine with 4 Itel Xeon processors, but squid no matter 
how many instances i start, uses only one processor, and my other three 
processors stay idle.

My Squid.conf is this: (I have cutted-out my acls and http_acces)

http_port 8080
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin aspx \?
no_cache deny QUERY

# OPTIONS WHICH AFFECT THE CACHE SIZE
cache_mem 3072000 KB
maximum_object_size 20000 KB
minimum_object_size 0 KB
maximum_object_size_in_memory 4 MB
cache_replacement_policy lru
memory_replacement_policy lru

# LOGFILE PATHNAMES AND CACHE DIRECTORIES
cache_dir ufs /var/spool/squid 5000 16 256
cache_access_log /var/log/squid/access.log
cache_log none
cache_store_log none
pid_filename /var/run/squid.pid

# OPTIONS FOR EXTERNAL SUPPORT PROGRAMS
ftp_list_width 32
ftp_passive on

auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off

# OPTIONS FOR TUNING THE CACHE
refresh_pattern ^ftp:           1440    20%     10080
refresh_pattern ^gopher:        1440    0%      1440
refresh_pattern .               0       20%     4320
quick_abort_pct 98

# MISCELLANEOUS
append_domain .rio.rj.gov.br
memory_pools_limit 50 MB
log_icp_queries off
snmp_port 3401


Does anyone have an idea?
I have looked up in this list old mails, and have not found anything.

Thanks a lot,
-- 
Marcos Camões Bourgeaiseau - KIKO
================================================
e-mail pessoal: mcbourgeaiseau@xxxxxxxxx
e-mail institucional: marcoscamoes@xxxxxxxxxxxxx

No virus found in this incoming message.
Checked by AVG. 
Version: 7.5.518 / Virus Database: 269.21.7/1325 - Release Date: 3/11/2008
1:41 PM
 

No virus found in this outgoing message.
Checked by AVG. 
Version: 7.5.518 / Virus Database: 269.21.7/1325 - Release Date: 3/11/2008
1:41 PM
 



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

  Powered by Linux