Solved

Squid proxy server (performance / configuration)

Posted on 2010-11-29
2
431 Views
Last Modified: 2012-05-10
I've setup squid as a proxy server on one of my servers. It has about 120 IP addresses on it. When it is handling a lot of connections, cpu/mem usage goes up quite high (as one would expect). I also believe I/O is hit hard. I've had to increase the number of file descriptors at one point.

My question is, by default, is squid caching all of the requests users are making through these IP addresses? If so, is this necessary? Is there a way to disable it?

The entire goal of this squid installation is simply to provide a proxy/tunnel to users, not improve website performance or anything. Maybe I am wrong but isn't writing to cache files unnecessary and just wasting resources?

I just want to clarify this before I end up having to buy a new server.
0
Comment
Question by:mcainc
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 18

Accepted Solution

by:
Sanga Collins earned 500 total points
ID: 34236473
You can disable caching for a squid proxy. i use the following for my squid proxy server. I set it up with dansguardian to filter web content so i didnt need the caching and only wanted the filter. i use the following commands in the config.

cache deny all
cache_dir null /tmp

This will prevent caching as well as eliminate the need for a cache directory. You can also read more details on the squid faq. There is also a usefull option to prevent users from dowloading large files which may help your overall performance.

http://wiki.squid-cache.org/SquidFaq/ConfiguringSquid
0
 

Author Closing Comment

by:mcainc
ID: 34236501
Thanks that's what I was looking for!
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Linux FTP Error 5 58
The better OS Architecture 13 108
How to Issue Commands in Linux OS on Check Point Firewall in GAIA 15 57
Linux recover lost file deleted by mv 1 31
rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question