Displaying 14 results from an estimated 14 matches for "cache_mem".
2003 Sep 06
1
Squid memory leaks in -stable using libc malloc
...alloc), seems to stop the
memory leaks. For my own purposes, I'll be using dlmalloc from now
unless someone has other suggestions.
For the record, I'm using 4.8-RELEASE and Squid 2.5.STABLE3 (recently
installed from ports with all the patches there). I have Squid servers
with 4 GB RAM, and cache_mem is set to 2 GB currently.
Cheers,
--
Anders.
2007 Aug 10
1
TRANSEPARENT PROXY WITH SQUID 2.6
Hi,
I am running squid as a TRANSEPARENT PROXY WITH SQUID 2.5 on CENTOS 4.5.
Pls see below for squid.con file.
http_port 3128
cache_mem 64 MB
cache_dir ufs /var/spool/squid 100 16 256
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
# INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS
# Example rule allowing access from your local networks. Adap...
2012 Oct 03
1
squid cache question
...ccessed by the other clients, if
we remove download restriction for that client then the software
gets downloaded.
Is there any way we can allow any client to access objects/files in cache
without removing the download restriction. We are using Squid 2.6 on Centos
5 64-bit.
Cache configuration:
cache_mem 128 MB
maximum_object_size_in_memory 1024 KB
cache_dir ufs /var/spool/squid 400000 16 256
maximum_object_size 4096 MB
refresh_pattern -i
\.(deb|rpm|exe|zip|tar|tgz|ram|rar|bin|ppt|doc|tiff|dmg|pkg|ipa)$
10080 90% 43200 override-expire ignore-no-cache ignore-private
reply_body_max_size 0 allow sp-...
2015 Mar 06
2
Squid on CentOS 7: few questions
...488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
# R?gles d'acc?s
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localnet
# Port du proxy
http_port 3128
# Taille du cache dans la RAM
cache_mem 256 MB
# Vidage syst?me
coredump_dir /var/spool/squid
# Dur?e de vie des fichiers sans date d'expiration
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern . 0
--8<-------------------------------------------...
2007 Feb 09
1
trouble https multiple uplinks... how?
...rce 172.18.1.1
------------
squid config :
------------
visible_hostname my_isp.net
icp_port 0
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
http_port 3128
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
cache_mem 512 MB
cache_replacement_policy heap GDSF
memory_replacement_policy heap GDSF
cache_dir ufs /cache 6000 14 256
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl localnet src 10.14.1.0/255.255.255.0
acl SSL_ports port 443 563
acl Safe_ports p...
2018 Mar 09
3
SELinux breaks Squid's ssl_crtd helper
...amic_cert_mem_cache_size=4MB
# Emplacement de ssl_crtd et du cache des certificats TLS
sslcrtd_program /usr/lib64/squid/ssl_crtd -s /var/lib/ssl_db -M 4MB
sslcrtd_children 8 startup=1 idle=1
# SSL-Bump
acl step1 at_step SslBump1
ssl_bump peek step1
ssl_bump bump all
# Taille du cache dans la RAM
cache_mem 2048 MB
# Emplacement et taille du cache sur le disque
# cache_dir ufs /var/spool/squid 100 16 256
# Vidage syst?me
coredump_dir /var/spool/squid
# Dur?e de vie des fichiers sans date d'expiration
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0...
2007 Jun 12
1
How to setup both Transpaent Proxy and firewall on the same Machine.
...--state ESTABLISHED,RELATED -j ACCEPT
iptables -A OUTPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A INPUT DROP
iptables -A FORWARD DROP
iptables -A OUTPUT DROP
in addition to that, There are many rules , ALL work fine.
in squid.conf file, I have added below rules,
http_port 3128
cache_mem 64 MB
cache_dir ufs /var/spool/squid 100 16 256
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
And, Then, I did below comm...
2015 Mar 06
0
Squid on CentOS 7: few questions
...orts port 777 # multiling http
> acl CONNECT method CONNECT
>
> # R?gles d'acc?s
> http_access deny !Safe_ports
> http_access deny CONNECT !SSL_ports
> http_access allow localnet
>
> # Port du proxy
> http_port 3128
>
> # Taille du cache dans la RAM
> cache_mem 256 MB
>
> # Vidage syst?me
> coredump_dir /var/spool/squid
>
> # Dur?e de vie des fichiers sans date d'expiration
> refresh_pattern ^ftp: 1440 20% 10080
> refresh_pattern ^gopher: 1440 0% 1440
> refresh_pattern -i (/cgi-bin/|\?) 0 0%...
2020 Jul 30
1
ntlm authentication issues
...: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nis
#/ETC/KRB5.CONF
[libdefaults]
dns_lookup_realm = false
dns_lookup_kdc = true
default_realm = EMPRESA.COM.BR
#/ETC/SQUID/SQUID.CONF
http_port 3128
cache_mem 512 MB
cache_swap_low 80
cache_swap_high 90
maximum_object_size 512 MB
minimum_object_size 0 KB
maximum_object_size_in_memory 4096 KB
cache_replacement_policy heap LFUDA
memory_replacement_policy heap LFUDA
quick_abort_min -1 KB
detect_broken_pconn on
fqdncache_size 1024
refresh_pattern ^ftp...
2009 Dec 28
2
Samba4 and Squid3 with ntlm_auth
...ly = no
[sysvol]
path = /usr/local/samba/var/locks/sysvol
read only = no
[compartido]
path = /home/compartido
read only = no
## End of file
My squid.conf file is simple too:
visible_hostname pantro.mydomain.lan
cache_mgr myemail at mydomain.com.ve
http_port 3128
cache_mem 128 MB
cache_dir ufs /var/spool/squid3 200 16 256
access_log /var/log/squid3/access.log squid
# Configuraci?n de proxy detras de un proxy
cache_peer 192.168.3.10 parent 3128 3130 proxy-only default
##### Reglas de autenticacion
auth_param ntlm program /usr/local/samba/bin/ntlm_auth...
2017 May 25
0
CentOS6 and squid34 package ...
...http_access allow localnet
http_access allow localhost
http_access deny all
http_reply_access allow all
http_port 3128
cache_dir ufs /var/spool/squid 16400 16 256
coredump_dir /var/spool/squid
nonhierarchical_direct off
visible_hostname proxy.local
unique_hostname proxy.local
forwarded_for off
cache_mem 2560 MB
icon_directory /usr/share/squid/icons
error_directory /etc/squid/errors
as_whois_server whois.ra.net
logformat combined %>A %[ui %[un [%tl] "%rm %ru HTTP/%rv" %>Hs %<st
"%{Referer}>h" "%{User-Agent}>h" %Ss:%Sh
access_log /var/log/squid/access...
2006 Mar 20
16
Swap size
Hi All,
This is out of the topic question, but I''m hoping that you can help me. If for
example I''m going to install a Fedora 4 64-bit with 8 to 12 Gig of physical
memory, how much swap file of directory do I need to create?
Thank you very much,
Wennie
2013 Oct 02
2
Problem with squid+ntlm+samba
...log /var/squid/logs/access.logcache_log /var/squid/logs/cache.logreferer_log /var/squid/logs/referer.loglogfile_rotate 0cache_store_log noneshutdown_lifetime 3 seconds# Allow local network(s) on interface(s)acl localnet src 192.168.0.0/255.255.255.0uri_whitespace stripdns_nameservers 208.67.222.222cache_mem 8 MBmaximum_object_size_in_memory 32 KBmemory_replacement_policy heap GDSFcache_replacement_policy heap LFUDAcache_dir ufs /var/squid/cache 100 16 256minimum_object_size 0 KBmaximum_object_size 4 KBoffline_mode offcache_swap_low 90cache_swap_high 95
url_rewrite_program /usr/local/bin/redirectorurl_...
2005 Apr 05
0
Informal HOWTO - transparent authentication and optional outbound web filtering using Samba 3.0.13, Squid 2.5.STABLE7, SmartFilter 4.01, RedHat 9.0 in a Win2003 AD domain
...ble the following directives in
Squid.conf.
(See http://squid.visolve.com/white_papers/trans_caching.htm)
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
***************** Now from SmartFilter documentation
Make sure of these parameters:
cache_mem 8MB
cache_dir /usr/local/squid/cache 100 16 256
Change http_access deny all to http_access allow all. (May not need
this!)
Uncomment the cache_effective_user "username" statement and change
"username to "squid" to match the user/group created above.
Uncomment the "...