Re: [squid-users] Multi processors

From: Marcos Camões Bourgeaiseau <marcoscamoes@dont-contact.us>
Date: Tue, 11 Mar 2008 17:34:05 -0300

Sorry about that.
It is a Ubuntu Feisty with a re-compiled Kernel version 2.6.15.7. We
just took out some harware modules. We tried some newer Kernel but we
couldn't make it work with the hadware that we have here.
And just for clarity: It was OK to put four or more instances running at
the same time, but all of those instances keep using the same processor
and only that ONE processor. It is such a waste. And we have very
limited material to work here.

Thanks again,

saul waizer escreveu:
> 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@rio.rj.gov.br]
> Sent: Tuesday, March 11, 2008 3:21 PM
> To: squid-users@squid-cache.org
> Subject: [squid-users] 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@gmail.com
e-mail institucional: marcoscamoes@rio.rj.gov.br
Received on Tue Mar 11 2008 - 14:35:03 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Apr 01 2008 - 13:00:05 MDT