Developers Documentation

×

Warning

301 error for file:https://clearos.com/dokuwiki2/lib/exe/css.php?t=dokuwiki&tseed=82873f9c9a1f5784b951644363f20ef8

User Tools

Site Tools


Checking up on Squid

This guide contains some useful information about the Squid system in ClearOS. This guide can be used for command line queries or as a template for the development of reporting features for squid.

Access files

The access file for squid is useful for troubleshooting and proving authentications, hits from clients and other useful info:

tail -f /var/log/squid/access.log

To watch a specific IP address (i.e. 192.168.1.123):

tail -f /var/log/squid/access.log |grep 192.168.1.123

Error log

The error log is also useful for watching for errors in the web proxy's handling of pages:

tail -f /var/log/squid/error.log

Running Configuration

To see the running configuration for squid type the following from command line:

squidclient -h 127.0.0.1 mgr:info

There are a number of very useful lines here:

  • Maximum number of file descriptors:(this should be 16384 on a default install)

Help

content/en_us/kb_troubleshooting_checking_up_on_squid.txt · Last modified: 2015/01/30 09:07 (external edit)

https://clearos.com/dokuwiki2/lib/exe/indexer.php?id=content%3Aen_us%3Akb_troubleshooting_checking_up_on_squid&1710827806