LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-16-2008, 04:44 AM   #1
xxxx
LQ Newbie
 
Registered: Aug 2007
Posts: 18

Rep: Reputation: 0
squid3 use only RAM


hi, we have huge party-picture site (3000+ ppl online browsing pictures).

I have installed 3 squid proxys (each 24GB ram) and 4+ IPs to round-robin the traffice for the browsers.

I analyzed the logs and still have a lot of "TCP_HIT" in it. Meaning there are still a lot of HDD hits, especially small always-used png, gif, css, js. The HDD of the Squids are very slow.

How can i tell squid3 to use ONLY 20GB of memory for caching, no more HDD?
Is that possible?

Here is my current config:

http_port 80 accel defaultsite=89.250.xxx.xxx
cache_peer 89.250.xxx.xxx parent 80 0 no-query originserver name=static
acl our_sites dstdomain 89.250.xxx.xxx
cache_peer_access static allow our_sites
acl from_all src 0.0.0.0/0.0.0.0
http_access allow our_sites from_all
#http_access deny all ##########weiter unten! nach acl all ################
cache_mem 20480 MB
maximum_object_size 1024 KB
maximum_object_size_in_memory 1 KB
ipcache_size 2048
cache_dir ufs /var/spool/squid3 1024 16 128

Thank You.

Sascha
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
squid2 or squid3 ? cccc Linux - Server 2 10-06-2008 02:23 PM
IPTables and Squid3 problem merlot2 Linux - Networking 1 09-09-2008 10:16 PM
SQUID3.0 dont know why it exits hemi_426 Linux - Server 2 06-17-2008 12:38 AM
Squid3 on Ubuntu TCP_MISS sscultima Ubuntu 2 01-08-2008 05:28 AM
Squid3 on Ubuntu Server 7.04 sscultima Ubuntu 9 08-13-2007 11:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration