[squid-users] external logging
Does any Squid version support external logging? (for example, logging into MySQL) wbr, Ilya
Re: [squid-users] squid + cocks5
On Sun, 14 Mar 2004, Ilya wrote: > Can squid communicate with socks-servers? > (socks-client ---> socks ---> squid) Depends on the socks server. If the socks server supports forwarding of HTTP requests to a HTTP proxy then yes, else no. > Or can it work as socks-server? > (socks-client ---> squid) No. Squid is a HTTP proxy, not a SOCKS proxy. Regards Henrik
Res: [squid-users] Squid LOGs - access.log
> Hello, Hi > I want to know what means access.log entries like this: > > 1079207828.459 2085 200.163.208.0 TCP_MISS/200 4317 GET > http://www.orangenet.com.br/mural.php - > DIRECT/www.orangenet.com.br > text/html > > What does TCP_MISS means? How can I know if some page is really stored > in cache and that some clients are getting the pages from cache? This is a FAQ, so take a look at FAQ page: http://www.squid-cache.org/Doc/FAQ/FAQ.html And your answers you will find at: http://www.squid-cache.org/Doc/FAQ/FAQ-6.html#ss6.6 and http://www.squid-cache.org/Doc/FAQ/FAQ-6.html#ss6.7 and you will see what TCP_MISS and TCP_HIT means. bests wishes Lucas Brasilino __ EMPREL, http://www.recife.pe.gov.br
[squid-users] Squid LOGs - access.log
Hello, I want to know what means access.log entries like this: 1079207828.459 2085 200.163.208.0 TCP_MISS/200 4317 GET http://www.orangenet.com.br/mural.php - DIRECT/www.orangenet.com.br text/html What does TCP_MISS means? How can I know if some page is really stored in cache and that some clients are getting the pages from cache? Att, Nataniel Klug
Re: [squid-users] PAM and Squid problem
Henrik Nordstrom wrote: On Wed, 10 Mar 2004, Jim Gifford wrote: I have been trying to get squid to work with PAM. Don't use PAM unless there is no other options. Henrik, Why did you say 'Don't use PAM unless there is no other options'? We use PAM without any problems, and it's easy to configure...at least that's what I think. rgrds, Bart
[squid-users] squid + cocks5
Hello! Can squid communicate with socks-servers? (socks-client ---> socks ---> squid) Or can it work as socks-server? (socks-client ---> squid) wbr, Ilya
Re: [squid-users] WARNING! Your cache is running out of filedescriptors (on RH 9.0 Squid2.5.Stable5)
> > Where should I put the command "ulimit -SHn 2048"? In rc.local or > > /root/.bashrc? > > Somewhere before where Squid is started, ensuring that the new ulimit is > active when Squid is started. > > In addition you need this setting before you compile Squid. > > /root/.bashrc is not such place. This only changes the ulimit on > interactive login as root. > > I usually place this in the boot script that starts Squid, just before > Squid is started. > > In addition I change the hard limit for all interactive users in > /etc/security/limits.conf but leaving the soft limit at its default, > allowing all users raise their limit at any time. > > It is not wise to change the system wide soft limit. Most if not all > applications assumes the limit <= 1024. > > > I tried to put in rc.local, but my RH9 could not boot with the such setting > > and still display 1024 of open file when I typed ulimit -a. But cache.log > > reported there is 2048 of file descriptors. > > This is ok. > > > If I put in /root/.bashrc, the RH9 recognize open file 2048 but cache.log > > reported only 1024 of file descriptors. > > This is not. > > Regards > Henrik Thank you very much Henrik ! Thx & Rgds, Awie
Re: [squid-users] WARNING! Your cache is running out of filedescriptors (on RH 9.0 Squid2.5.Stable5)
On Sat, 13 Mar 2004, Awie wrote: > Where should I put the command "ulimit -SHn 2048"? In rc.local or > /root/.bashrc? Somewhere before where Squid is started, ensuring that the new ulimit is active when Squid is started. In addition you need this setting before you compile Squid. /root/.bashrc is not such place. This only changes the ulimit on interactive login as root. I usually place this in the boot script that starts Squid, just before Squid is started. In addition I change the hard limit for all interactive users in /etc/security/limits.conf but leaving the soft limit at its default, allowing all users raise their limit at any time. It is not wise to change the system wide soft limit. Most if not all applications assumes the limit <= 1024. > I tried to put in rc.local, but my RH9 could not boot with the such setting > and still display 1024 of open file when I typed ulimit -a. But cache.log > reported there is 2048 of file descriptors. This is ok. > If I put in /root/.bashrc, the RH9 recognize open file 2048 but cache.log > reported only 1024 of file descriptors. This is not. Regards Henrik