Squid not caching properly


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Squid not caching properly
# 1  
Old 08-26-2006
Squid not caching properly

Hi guys,

Not sure if this post is in the right thread, if not please let me know and I'll ask for it to be moved ) :

I've set up the Squid proxy on my linux box (SuSE 10.1). About 4 people connect to the Internet via the proxy at the moment, and it's working fine.

However - in the access.log, everything is mostly TCP_MISS, very rarely does it actually cache something. If it doesn't cache it doesn't really have much use, does it? Is there a setting I'm missing somewhere?

Thanks in advance.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Solaris

Is there disk-level caching in Solaris 11?

I have an iSCSI disk at /dev/rdsk/c5t6d0 I have made a partition (slice with UEFI label) at: /dev/rdsk/c5t6d0s0 Now I write some data to the slice: echo "xyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxy" >/text dd if=/text of=/dev/dsk/c5t6d0s0 If I dump the disk contents I... (2 Replies)
Discussion started by: dorbaruch
2 Replies

2. Filesystems, Disks and Memory

SSD Caching, how its done, right choice?

Hello, someone needed VPS with SSD caching, he want to use server for websites hosting. What does that mean, this SSD caching and is it optimal solution for this? Also i listen some SSD dont like too much of writting so how one can recognise certain SSD is made the way that its not destroyed... (1 Reply)
Discussion started by: postcd
1 Replies

3. Red Hat

Squid Caching Issue

Hi frnds I recently configured Squid 2.5 stable version on my redhat machine.Caches are storing in my disk (/var/spool/squid) but my access.log file always shows tcp_miss for every site i access as well as store.log file shows release on every action. some of the records of my... (6 Replies)
Discussion started by: Vaibhav.T
6 Replies

4. Shell Programming and Scripting

Caching find command

Hi, Is there a command which caches the results of the find, so the subsequent searches for file/file-pat are faster. Thanks, Nagarajan G (2 Replies)
Discussion started by: ennstate
2 Replies

5. IP Networking

Squid vs iptables = no Squid access.log?

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

6. Linux

caching in squid

hi, i installed fedora core 12, and i installed squid v 3, i need to know how can i cache everything. anyone can help me please (1 Reply)
Discussion started by: zazoo
1 Replies

7. UNIX for Dummies Questions & Answers

Caching while spliting a large file

Hi The scenario is like this. I need to split 5 files having size 3GB, 2GB, 4GB, 30GB and 20 GB respectively. The machine has 15GB heap space. Before starting split proces it was showing 15gb free space. Once the split process completed it showed 100 mb free and around 12GB cached. My... (3 Replies)
Discussion started by: siba.s.nayak
3 Replies

8. Filesystems, Disks and Memory

Hard Disk parameters (caching/dma)

Linux uses hdparm to set these parameters, my question is: what tool uses BSD systems (FreeBSD/OpenBSD/NetBSD)? There is another thing which FreeBSD implements on their filesystems: softupdates. If I forgot to enable this option when I partitioned the disk, how could I enable it at a later time? (1 Reply)
Discussion started by: eNTer
1 Replies
Login or Register to Ask a Question
pam_auth(8)						      System Manager's Manual						       pam_auth(8)

NAME
pam_auth - Squid PAM authentication helper SYNOPSIS
squid_pam_auth [-n "service name"] [-t TTL] [-o] [-1] DESCRIPTION
This helper allows Squid to connect to a mostly any available PAM database to validate the user name and password of Basic HTTP authentica- tion. -s service-name Specifies the PAM service name Squid uses, defaults to "squid" -t TTL Enables persistent PAM connections where the connection to the PAM database is kept open and reused for new logins. The TTL speci- fies how long the connection will be kept open (in seconds). Default is to not keep PAM connections open. Please note that the use of persistent PAM connections is slightly outside the PAM specification and may not work with all PAM configurations. -o Do not perform the PAM account management group (account expiration etc) CONFIGURATION
The program needs a PAM service to be configured in /etc/pam.conf or /etc/pam.d/<servicename> The default service name is "squid", and the program makes use of the 'auth' and 'account' management groups to verify the password and the accounts validity. For details on how to configure PAM services, see the PAM documentation for your system. This manual does not cover PAM configuration details. NOTES
When used for authenticating to local UNIX shadow password databases the program must be running as root or else it won't have sufficient permissions to access the user password database. Such use of this program is not recommended, but if you absolutely need to then make the program setuid root chown root pam_auth chmod u+s pam_auth Please note that in such configurations it is also strongly recommended that the program is moved into a directory where normal users can- not access it, as this mode of operation will allow any local user to brute-force other users passwords. Also note the program has not been fully audited and the author cannot be held responsible for any security issues due to such installations. AUTHOR
Squid pam_auth and this manual is written by Henrik Nordstrom <hno@squid-cache.org> COPYRIGHT
Squid pam_auth and this manual is Copyright 1999,2002,2003 Henrik Nordstrom <hno@squid-cache.org> QUESTIONS
Questions on the usage of this program can be sent to the Squid Users <squid-users@squid-cache.org> mailing list. 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
pam(8), PAM Systems Administrator Guide Squid PAM Auth 5 Sep 2003 pam_auth(8)