12-23-2010
Yes, it is best not to be too greedy, as a little cache does a lot of good, and twice as much only helps a little more at a cost to the misses that begins to erode the virtue very quickly.
I am not sure I am size-adverse, as the data will flow through the first time regardless, disk is cheap and the savings is that much greater. My primary focus would be on the size of the cache directory that must be searched. I hope squid uses a nice hash map with a large, prime number of buckets, or an extensible map! Maybe setting limits to nearby prime numbers will help prod squid in that direction!
9 More Discussions You Might Find Interesting
1. Linux
hi all...
i installed Red Hat 9...but i can use a proxy server with service squid...
in my job i have a direct internet connection in the linux, but i configurate squid.conf...ports...ip's....
but still not working...with the windows machines....
in the linux server if i put the 127.0.0.0 port... (1 Reply)
Discussion started by: chanfle
1 Replies
2. IP Networking
Hi,
1-What is bandewidth ?
2-How to calculate ?
3-How to measure ? Any free software to measure it ?
Many thanks. (4 Replies)
Discussion started by: big123456
4 Replies
3. IP Networking
hi
i am having problem with proxy logs
the log file in /var/log/squid/access.log is having 0 size
i am using red hat linux enterprise edition
squid version->Version 2.5.STABLE6 with default conf file
and it is running but whatever i access from internet it is not... (1 Reply)
Discussion started by: madhusudankh
1 Replies
4. Linux
Configured Squid2.0 on linux9. Browsing is very slow in client side. takes atleast 1min to open the page. can anybody tell me what to do
Thaks in Advance (0 Replies)
Discussion started by: teenasuresh
0 Replies
5. UNIX for Dummies Questions & Answers
I have squid version 2.6 running on ubuntu linux as a proxycache although caching is not being used, the problem I have is that certain websites that require the user to log into do not seem to pass through the squid, the only thing I see is that the website is trying to access a file called... (1 Reply)
Discussion started by: Simon Young
1 Replies
6. Red Hat
Dear All
I m running Linux Proxy Server on RHEL-5 64bit for providing http access to users in my office, i m facing a problem while using msn messenger on LAN, we access msn messenger through above mentioned proxy server, whenever I sign in to msn messenger, it gets signed on but after a short... (1 Reply)
Discussion started by: surfer24
1 Replies
7. Debian
Hi There
I have a network where im running squid proxy in transparent mode. All sites are blocked by default and the users can only browse sites listed in a file called allowed-sites. I have to block a group of users in department A from accessing 5 sites that the rest of the company can access.... (0 Replies)
Discussion started by: linuxjunkie
0 Replies
8. IP Networking
Hello,
I have a pretty useless satellite link at home (far from any civilization), so I wanted to set up caching in order to speed things up. My Squid 2.6 runs "3128 transparent" and is set up quite well on a separate machine.
I also have my dd-wrt router to move all port 80 traffic through... (0 Replies)
Discussion started by: theWojtek
0 Replies
9. Linux
Hi dear
I came with such a question, I ask you not to kick much)
I have rules for iptables
ip rule add fwmark 0x01/0x01 table 100
ip route add local 0.0.0.0/0 dev lo table 100
iptables -t mangle -N REDSOCKS2
iptables -t mangle -A REDSOCKS2 -p udp -j TPROXY --on-port 10053 --tproxy-mark... (0 Replies)
Discussion started by: andreich_kms
0 Replies
LEARN ABOUT DEBIAN
squid3_session
squid_session(8) System Manager's Manual squid_session(8)
NAME
squid_session - Squid session tracking external acl group helper
SYNOPSIS
squid_session [-t idle_timeout] [-b dbpath] [-a]
DESCRIPTION
This helper maintains a concept of sessions by monitoring requests and timing out sessions if no requests have been seen for the idle time-
out timer.
Intended use is for displaying "terms of use" pages, ad popups etc.
-t idletimeout (default 3600)
Specifies the session idle timeout timer.
-b dbpath
Path to persistent database. If not specified the session details will be kept in memory only and all sessions will reset each time
Squid restarts it's helpers (Squid restart or rotation of logs).
-a Active mode. In this mode sessions are started by evaluating an acl with the argument LOGIN, or terminated by the argument LOGOUT.
Without this flag the helper automatically starts the session after the first request.
EXAMPLE
Configuration example using the default automatic mode
external_acl_type session ttl=300 negative_ttl=0 children=1 concurrency=200 %LOGIN /usr/local/squid/libexec/squid_session
acl session external session
http_access deny !session
deny_info http://your.server/bannerpage?url=%s session
Then set up http://your.server/bannerpage to display a session startup page and then redirect the user back to the requested URL given in
the url query parameter.
AUTHOR
This helper and documentation was written by Henrik Nordstrom <henrik@henriknordstrom.net>
QUESTIONS
Any questions on usage can be sent to Squid Users <squid-users@squid-cache.org>.
REPORTING BUGS
Report bugs or bug-fixes to Squid Bugs <squid-bugs@squid-cache.org> or ideas for new improvements to Squid Developers <squid-dev@squid-
cache.org>
SEE ALSO
squid(8)
Version 1.0 19 March 2006 squid_session(8)