Search squid archive

Re: Regarding memory utilization

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Hi Mark Elsen

Thanks for your reply. my cache dir size is 50GB and my RAM is 3GB. is this sufficient ?

i am using fedora core 2 .

also i install malloc for batter performance of memory utilization .

But the problem still exists.



please see my configuration. if any this wrong ...



      # gzip -dc malloc.tar.gz | tar xf -
      #cd malloc
      # make
      #cp  libmalloc.a /usr/lib/libgnumalloc.a
      #cp malloc.h /usr/include/gnumalloc.h
after install malloc I compile squid again

      compile Squid

      # ./configure ...
      # make
       # make install
and my squid configuration is



#cat squid.conf | egrep -v '^#([^#]|$)' | uniq | sed -e 's/##/#/'


http_port 8080
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 4 MB
cache_swap_low 90
maximum_object_size  2048 KB
cache_dir diskd /cache 45000 32 256
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
refresh_pattern ^ftp:           1440    20%     10080
refresh_pattern ^gopher:        1440    0%      1440
refresh_pattern .               0       20%     4320
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 to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 80          # http
acl Safe_ports port 21          # ftp
acl Safe_ports port 443 563     # https, snews
acl Safe_ports port 70          # gopher
acl Safe_ports port 210         # wais
acl Safe_ports port 1025-65535  # unregistered ports
acl Safe_ports port 280         # http-mgmt
acl Safe_ports port 488         # gss-http
acl Safe_ports port 591         # filemaker
acl Safe_ports port 777         # multiling http
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
acl our_networks src 203.x.x.x/19
http_access allow our_networks
http_access allow localhost
http_access deny all
http_reply_access allow all
icp_access allow all
visible_hostname proxy.link3.net
httpd_accel_port 80
httpd_accel_host virtual
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
memory_pools  off
wccp_router  203.x.x.x
coredump_dir /var/spool/squid
ignore_unknown_nameservers off


----- Original Message ----- From: "Mark Elsen" <mark.elsen@xxxxxxxxx>
To: "Shahnawaz IQBAL" <siqbal@xxxxxxxxx>
Cc: <squid-users@xxxxxxxxxxxxxxx>
Sent: Sunday, December 11, 2005 6:39 PM
Subject: Re:  Regarding memory utilization


Hello there,



My ISP is running squid with wccp version 1. I have monitored my switch port
which is connected with squid

Box and this port is uses 7mbps on an average. My squid box consumed full
memory and finally hanged.



Is there any configuration in squid regarding memory utilization?


It´s the reverse : the total size of the configured cache dir(s) is related
to the overall memory usage of SQUID.
Check the squid FAQ for more info.

M.



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux