Internet.com
Get your
ISP-News
courtesy of
internetnews.com




Search ISP-Lists
Search:
ISP Channel
CLEC-Planet
ISP Glossary
ISP News
ISP-Planet
ISP-Lists
E-mail Newsletters
Opt-in Announcements
Discussion Forums
internet.com
IT
Developer
Internet News
Small Business
Personal Technology
International

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

The ISP-Lists.com Email Discussion List Community

<- Previous Message | Next Message ->
Thread Index
[isp-caching] Re: unusually high cpu load with squid
have u checked ur system via

vmstat
ps auwx
top

regarding which process taking too much load. u did not show us ur complete
conf for squid. let us know

cache_mem
cache_dir

which file system you using?
you system load up due to squid or attacks ?

Best Regds,
Masood Ahmad Shah
Nexlinx
http://nexlinx.net.pk


----- Original Message ----- 
From: <thor@....sarkor.uz>
To: <isp-caching@isp-caching.com>
Cc: <isp-caching@isp-caching.com>
Sent: Wednesday, March 10, 2004 9:27 AM
Subject: [isp-caching] Re: unusually high cpu load with squid


> Thank you for your concern!
>
> Here is all non-comment lines of my squid.conf:
>
> tcp_outgoing_address XX.YY.ZZ.QQ
> hierarchy_stoplist cgi-bin ?
> acl QUERY urlpath_regex cgi-bin \?
> no_cache deny QUERY
> cache_mem 64 MB
> cache_swap_low 95
> cache_swap_high 98
> cache_dir ufs /var/spool/squid 10240 16 256
> request_body_max_size 10 MB
> half_closed_clients off
> acl all src 0.0.0.0/0.0.0.0
> acl manager proto cache_object
> acl localhost src 127.0.0.1/255.255.255.255
> acl SSL_ports port 443 563
> acl Safe_ports port 80          # http
> acl Safe_ports port 21          # ftp
> acl Safe_ports port 443 563     # https, snews
> acl Safe_ports port 70          # gopher
> acl Safe_ports port 210         # wais
> acl Safe_ports port 1025-65535  # unregistered ports
> acl Safe_ports port 280         # http-mgmt
> acl Safe_ports port 488         # gss-http
> acl Safe_ports port 591         # filemaker
> acl Safe_ports port 777         # multiling http
> acl Safe_ports port 901         # SWAT
> acl purge method PURGE
> acl CONNECT method CONNECT
> acl dialup src XX.YY.ZZ1.0/24
> acl dialup src XX.YY.ZZ2.0/24
> http_access allow manager localhost
> http_access deny manager
> http_access allow purge localhost
> http_access deny purge
> http_access deny !Safe_ports
> http_access deny CONNECT !SSL_ports
> http_access allow localhost
> http_access allow dialup
> http_access deny all
> icp_access allow all
> httpd_accel_port 80
> httpd_accel_host virtual
> httpd_accel_with_proxy on
> httpd_accel_uses_host_header on
>
> Thanks again!
>
> Timur Irmatov.
>
> On Tue, Mar 09, 2004 at 07:32:12PM -0300, infomatik wrote:
> >
> > Hi Timur
> >
> > this is Jo?o form Brazil at http://info.matik.com.br
> >
> > I am highly specialized in squid
> >
> > this indeed is not a normal behaviour but its hard to say because I do
not
> > know you configurations
> >
> > your final decision using freebsd is clearly a wise one, use 4.9-Stable
to get
> > a runner
> >
> > shure your system should be tuned for beeing a cache, don't forget it
> >
> > we get on machines with similar charge ~200 cache hits and max 10% cpu
load :)
> >
> > What are your squid.conf settings?
> >
> > Jo?o
> >
> >
> >
> > On Friday 05 March 2004 13:51, thor@....sarkor.uz wrote:
> > > Hi!
> > >
> > >
> > > I'm running squid as transparent proxy server for dial-up users.
> > > Everything seems to be ok except CPU load.  With 1.5 Mbit/s (35
requests
> > > per second) traffic through proxy, squid consumes about 50-60% of cpu
> > > (from which 40-45% is system time).  And with a load of 3-3.5 Mbit/s
> > > processor load comes to 90%.
> > >
> > > The server is single-processor Xeon 2.66 Mhz, 1Gb RAM, 36.6 Gb SCSI
> > > disks on AIC7902 controllers.  OS is Debian Linux 3.0, kernel 2.4.24.
> > >
> > > Users are redirected to proxy by iptables nat rule.
> > >
> > > I have already asked this question in squid-users@...
> > > mailing list, and received no answer except confirmation that such
> > > behaviour is really unusual.
> > >
> > > 'half_closed_clients off' does not change anything..
> > >
> > > I'm really desperate.  If anybody have any ideas, I will be glad to
> > > experiment!  Now the only thing I could try is to install FreeBSD
> > > instead of Debian/Linux and see, how it will perform.
> > >
> > >
> > > Sincerely Yours,
> > > Timur Irmatov.
>
>




> To unsubscribe via postal mail, please contact us at:
> Jupitermedia Corp.
> Attn: Discussion List Management
> 475 Park Avenue South
> New York, NY 10016
>
> Please include the email address which you have been contacted with.
>
> ------------------------ANNOUNCEMENT---------------------------------
> ---------------------------------------------------------------------
>         - ISPCON Spring 2004 - Washington DC Hilton & Towers -
>
>              - The ISP and WISP event - www.ispcon.com -
>
>         - Where the industry shares its formulas for success!.
> ----------------------------------------------------------------------
> ----------------------------------------------------------------------
>







To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.

Replies
[isp-caching] Re: unusually high cpu load with squid, Timur Irmatov
Replies
[isp-caching] unusually high cpu load with squid, thor
[isp-caching] Re: unusually high cpu load with squid, thor
<- Previous Message | Next Message ->
Thread Index

ISP Glossary
Find an ISP Term

Need Help?

JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

Solutions
Whitepapers and eBooks
IBM Whitepaper: Innovative Collaboration to Advance Your Business
Internet.com eBook: Real Life Rails
Avaya Article: Call Control XML - Powerful, Standards-Based Call Control
Tripwire Whitepaper: Seven Practical Steps to Mitigate Virtualization Security Risks
Internet.com eBook: The Pros and Cons of Outsourcing
Go Parallel Article: Scalable Parallelism with Intel(R) Threading Building Blocks
Internet.com eBook: Best Practices for Developing a Web Site
IBM CXO Whitepaper: The 2008 Global CEO Study "The Enterprise of the Future"
Avaya Article: Call Control XML in Action - A CCXML Auto Attendant
Go Parallel Article: James Reinders on the Intel Parallel Studio Beta Program
IBM CXO Whitepaper: Unlocking the DNA of the Adaptable Workforce--The Global Human Capital Study 2008
Adobe Acrobat Connect Pro: Web Conferencing and eLearning Whitepapers
Go Parallel Article: Getting Started with TBB on Windows
HP eBook: Storage Networking , Part 1
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
Go Parallel Video: Intel(R) Threading Building Blocks: A New Method for Threading in C++
HP Video: Is Your Data Center Ready for a Real World Disaster?
Microsoft Partner Portal Video: Microsoft Gold Certified Partners Build Successful Practices
HP On Demand Webcast: Virtualization in Action
Go Parallel Video: Performance and Threading Tools for Game Developers
Rackspace Hosting Center: Customer Videos
Intel vPro Developer Virtual Bootcamp
HP Disaster-Proof Solutions eSeminar
HP On Demand Webcast: Discover the Benefits of Virtualization
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
Microsoft Download: Silverlight 2 Software Development Kit Beta 2
30-Day Trial: SPAMfighter Exchange Module
Red Gate Download: SQL Toolbelt
Iron Speed Designer Application Generator
Microsoft Download: Silverlight 2 Beta 2 Runtime
MORE DOWNLOADS, EKITS, AND FREE TRIALS
Tutorials and Demos
IBM IT Innovation Article: Green Servers Provide a Competitive Advantage
Microsoft Article: Expression Web 2 for PHP Developers--Simplify Your PHP Applications
Featured Algorithm: Intel Threading Building Blocks - parallel_reduce
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES