This has been bugging me for a while:
Squid 1.1.22 on FreeBSD 2.2.6 with 256MB RAM and 3 GIG cache_swap
After machine is rebooted and squid starts it takes aproximately 2 hours to
get the Free Memory go below 1 MB. It just keeps decreasing as squid takes
requests.
Then memory stays at aproximately 784K and squid keeps running. It can run
for 3 days without any problems. Any ideas?
My kernel is compiled with:
maxusers 256
options "DFLDSIZ=(128*1024*1024)"
options "SOMAXCONN=128"
options "MAXDSIZ=(256*1024*1024)"
options "NMBCLUSTERS=10240"
---- TOP: last pid: 5697; load averages: 0.09, 0.12, 0.08 08:39:39 25 processes: 1 running, 24 sleeping CPU states: 1.9% user, 0.0% nice, 1.9% system, 6.6% interrupt, 89.5% idle Mem: 179M Active, 604K Inact, 31M Wired, 39M Cache, 8348K Buf, 784K Free Swap: 256M Total, 64K Used, 256M Free VMSTAT: procs memory page faults cpu r b w avm fre flt re pi po fr sr s0 in sy cs us sy id 1 1 0 180868 40764 2 0 0 0 4 0 24 549 1584 59 11 14 75 VMSTAT -m: Memory statistics by bucket size Size In Use Free Requests HighWater Couldfree 16 33 735 3545 1280 0 32 170 1494 404597 640 302 64 22265 647 6142285 320 13157 128 44417 991 8703320 160 58 256 21989 2379 12364257 80 408 512 41 31 5783 40 0 1K 9 419 3582881 20 3094992 2K 216 4 706913 10 78212 4K 6 2 128 5 0 16K 2 0 2 5 0 32K 1 0 1 5 0 64K 6 0 21 5 0 Memory usage type by bucket size Size Type(s) 16 devbuf, pcb, routetbl, vnodes, proc, temp, sysctl 32 devbuf, pcb, routetbl, pgrp, session, subproc, temp 64 devbuf, routetbl, ifaddr, namecache, VM mapent, file, lockf, in_multi, temp 128 pcb, routetbl, zombie, ifaddr, cred, vnodes, VM map, VM object, file desc, temp, ttys 256 devbuf, socket, pcb, routetbl, ioctlops, vnodes, VM map, file desc, subproc, FFS node, NFS srvsock, NFS daemon, temp, isa_devlist, select 512 devbuf, pcb, ioctlops, mount, UFS mount, file desc, proc, temp, isa_devlist, BIO buffer, select 1K devbuf, namei, UFS mount, file desc, proc, NQNFS Lease, temp, BIO buffer, select 2K devbuf, UFS mount, file desc, ttys, BIO buffer 4K devbuf, file desc, proc, temp 16K mbuf, devbuf 32K MSDOSFS mount 64K NFS node, namecache, UFS quota, UFS mount, VM pgdata Memory statistics by type Type Kern Type InUse MemUse HighUse Limit Requests Limit Limit Size(s) mbuf 1 16K 16K 19661K 1 0 0 16K devbuf 30 36K 36K 19661K 63 0 0 16,32,64,256,512,1K,2K,4K,16K socket 272 68K 348K 19661K 4590314 0 0 256 pcb 536 101K 518K 19661K 9105929 0 0 16,32,128,256,512 routetbl 238 32K 441K 19661K 792472 0 0 16,32,64,128,256 zombie 0 0K 1K 19661K 5674 0 0 128 ifaddr 9 2K 2K 19661K 9 0 0 64,128 namei 0 0K 6K 19661K 3566789 0 0 1K ioctlops 0 0K 1K 19661K 5 0 0 256,512 cred 23 3K 4K 19661K 2521 0 0 128 pgrp 13 1K 1K 19661K 1356 0 0 32 session 11 1K 1K 19661K 1320 0 0 32 mount 4 2K 2K 19661K 4 0 0 512 NFS node 1 64K 64K 19661K 1 0 0 64K vnodes 21296 2662K 2671K 19661K 24804 0 0 16,128,256 namecache 21267 1394K 1394K 19661K 21267 0 0 64,64K UFS quota 1 64K 64K 19661K 1 0 0 64K UFS mount 10 76K 76K 19661K 10 0 0 512,1K,2K,64K VM map 35 8K 11K 19661K 5709 0 0 128,256 VM mapent 872 55K 55K 19661K 872 0 0 64 VM object 16180 2023K 2035K 19661K 1266240 0 0 128 VM pgdata 2 128K 256K 19661K 17 0 0 64K file 99 7K 46K 19661K 6119738 0 0 64 file desc 31 10K 12K 19661K 5712 0 0 128,256,512,1K,2K,4K lockf 1 1K 1K 19661K 153 0 0 64 proc 35 24K 28K 19661K 5711 0 0 16,512,1K,4K subproc 34 3K 4K 19661K 11382 0 0 32,256 FFS node 21258 5315K 5317K 19661K 2842803 0 0 256 NQNFS Lease 1 1K 1K 19661K 1 0 0 1K NFS srvsock 2 1K 1K 19661K 2 0 0 256 NFS daemon 1 1K 1K 19661K 1 0 0 256 in_multi 2 1K 1K 19661K 2 0 0 64 MSDOSFS mount 1 32K 32K 19661K 1 0 0 32K temp 6495 815K 842K 19661K 2818893 0 0 16,32,64,128,256,512,1K,4K ttys 169 25K 30K 19661K 871 0 0 128,2K isa_devlist 1 1K 1K 19661K 2 0 0 256,512 sysctl 0 0K 1K 19661K 1 0 0 16 BIO buffer 210 417K 419K 19661K 723014 0 0 512,1K,2K select 14 5K 5K 19661K 69 0 0 256,512,1K Memory Totals: In Use Free Requests 13381K 1268K 31913734 This ^^ system was up for 3 days: 8:41AM up 3 days, 21:40, 2 users, load averages: 0.21, 0.14, 0.09 ******** * * * * * * * * * * Mark Dabrowski - Systems Engineer * ICA Canada On-Line Inc. * Tel. (416) 324-2663 ext. 5067 * ICQ# 6583668 ******** * * * * * * * * *Received on Tue Aug 18 1998 - 05:42:27 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:41:38 MST