[squid-users] Total Free Mem = 0%

From: Guruh Mandala <guruh@dont-contact.us>
Date: Sun, 11 Dec 2005 20:20:35 +0700 (WIT)

hi all,

Im new in this forum, and want to ask something about squid perfomance,
just want to ask, i look into my cachemgr.cgi, and it told me:

Memory usage for squid via mallinfo():
        Total space in arena: 111536 KB
        Ordinary blocks: 111320 KB 36 blks
        Small blocks: 0 KB 0 blks
        Holding blocks: 1844 KB 4 blks
        Free Small blocks: 0 KB
        Free Ordinary blocks: 215 KB
        Total in use: 113164 KB 100%
        Total free: 215 KB 0%
        Total size: 113380 KB

And my squid.conf look like this:
================================================================
http_port 0.0.0.0:3128
icp_port 0
udp_incoming_address 0.0.0.0
udp_outgoing_address 255.255.255.255
icp_query_timeout 0
maximum_icp_query_timeout 2000
mcast_icp_query_timeout 2000
dead_peer_timeout 10 seconds
hierarchy_stoplist cgi-bin
hierarchy_stoplist ?
hierarchy_stoplist .js
hierarchy_stoplist .jsp
no_cache Deny QUERY
cache_mem 134217728 bytes
cache_swap_low 90
cache_swap_high 95
maximum_object_size 134217728 bytes
minimum_object_size 0 bytes
maximum_object_size_in_memory 65536 bytes
ipcache_size 10240
ipcache_low 98
ipcache_high 99
fqdncache_size 10240
cache_replacement_policy LFUDA
memory_replacement_policy heap GDSF
cache_dir ufs /cache 20000 16 256
cache_access_log /var/log/squid/access.log
cache_log none
cache_store_log none
emulate_httpd_log off
log_ip_on_direct on
mime_table /etc/squid/mime.conf
log_mime_hdrs off
pid_filename /var/run/squid.pid
debug_options ALL,1
log_fqdn off
client_netmask 255.255.255.255
ftp_user Squid@
ftp_list_width 32
ftp_passive on
ftp_sanitycheck on
ftp_telnet_protocol on
dns_retransmit_interval 5 seconds
dns_timeout 120 seconds
hosts_file /etc/hosts
diskd_program /usr/lib/squid/diskd
unlinkd_program /usr/lib/squid/unlinkd
redirect_children 5
redirect_rewrites_host_header on
authenticate_cache_garbage_interval 3600 seconds
authenticate_ttl 3600 seconds
authenticate_ip_ttl 0 seconds
wais_relay_port 0
request_header_max_size 20480 bytes
request_body_max_size 0 bytes

==================================================

Im running squid 2.5Stable 9,
My box is p4 2.8ghz, 2gb ecc ram, 80gb sata hardisk

Is there something wrong with my Total Free Mem= 0% ? or i pushed my box
to far?

NB:
I looked from the running proccess through top, it show:

[root@gx ~]# top
top - 19:18:50 up 16 days, 28 min, 1 user, load average: 0.10, 0.05, 0.01
Tasks: 51 total, 2 running, 49 sleeping, 0 stopped, 0 zombie
Cpu(s): 3.3% us, 0.7% sy, 0.0% ni, 96.0% id, 0.0% wa, 0.0% hi, 0.0% si
Mem: 2075644k total, 2009940k used, 65704k free, 373304k buffers
Swap: 3381660k total, 208k used, 3381452k free, 951508k cached

  PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
 5794 root 15 0 42356 40m 1096 S 3.3 2.0 38:02.57 bgpd
  924 squid 15 0 120m 118m 1344 S 0.7 5.8 0:30.67 squid
 2884 root 15 0 1536 464 404 S 0.3 0.0 3:33.09 klogd
    1 root 16 0 1684 544 472 S 0.0 0.0 0:00.98 init
    2 root 34 19 0 0 0 S 0.0 0.0 0:01.50 ksoftirqd/0

and when i look deeply, the Free Mem is reduced very fast.....and the
squid process grew quickly instead.

Someone can help me to understand this?

Thank you in Advance,

-- 
Mandala,
-------------------------------------------------------------------------------------
This e-mail is confidential and may also be privileged. If you are not the intended recipient, please delete it and notify us immediately! you should not copy or use it for any purpose, nor disclose its contents to any other person. Thank you.
Received on Sun Dec 11 2005 - 05:10:56 MST

This archive was generated by hypermail pre-2.1.9 : Sat Dec 31 2005 - 12:00:02 MST