Hi,
I'm using Squid 3.1.0.5 on my amd64 system (Debian unstable), and I'm having
problems that it seems to use RAM without bounds (about 1GB/week) even though
my cache_mem is only 128MB. I ran it through valgrind, and it showed a few
leaks and lots of memory that was still reachable. (I started Squid using
-NYC, and exited it with Ctrl-C.) I hope someone can find and fix these issues; restarting Squid every week is not a very good option :-)
==21688==
==21688== Syscall param write(buf) points to uninitialised byte(s)
==21688== at 0x4E33720: __write_nocancel (in /lib/libpthread-2.7.so)
==21688== by 0x4DEE3B: default_write_method(int, char const*, int) (fd.cc:167)
==21688== by 0x582C46: UFSCleanLog::write(StoreEntry const&) (store_dir_ufs.cc:941)
==21688== by 0x552B11: storeDirWriteCleanLogs (store_dir.cc:475)
==21688== by 0x520273: _ZL13SquidShutdownv (main.cc:1686)
==21688== by 0x5216C2: main (main.cc:1352)
==21688== Address 0x10aa0c41 is 1 bytes inside a block of size 16,384 alloc'd
==21688== at 0x4C203E4: calloc (vg_replace_malloc.c:397)
==21688== by 0x5C4DF1: xcalloc (util.c:688)
==21688== by 0x585834: UFSSwapDir::writeCleanStart() (store_dir_ufs.cc:883)
==21688== by 0x552867: storeDirWriteCleanLogs (store_dir.cc:445)
==21688== by 0x520273: _ZL13SquidShutdownv (main.cc:1686)
==21688== by 0x5216C2: main (main.cc:1352)
==21688==
==21688== Syscall param write(buf) points to uninitialised byte(s)
==21688== at 0x4E33720: __write_nocancel (in /lib/libpthread-2.7.so)
==21688== by 0x4DEE3B: default_write_method(int, char const*, int) (fd.cc:167)
==21688== by 0x582DA1: UFSSwapDir::writeCleanDone() (store_dir_ufs.cc:971)
==21688== by 0x552AC1: storeDirWriteCleanLogs (store_dir.cc:487)
==21688== by 0x520273: _ZL13SquidShutdownv (main.cc:1686)
==21688== by 0x5216C2: main (main.cc:1352)
==21688== Address 0x10aa0c41 is 1 bytes inside a block of size 16,384 alloc'd
==21688== at 0x4C203E4: calloc (vg_replace_malloc.c:397)
==21688== by 0x5C4DF1: xcalloc (util.c:688)
==21688== by 0x585834: UFSSwapDir::writeCleanStart() (store_dir_ufs.cc:883)
==21688== by 0x552867: storeDirWriteCleanLogs (store_dir.cc:445)
==21688== by 0x520273: _ZL13SquidShutdownv (main.cc:1686)
==21688== by 0x5216C2: main (main.cc:1352)
==21688==
==21688== Invalid read of size 1
==21688== at 0x56DEEC: comm_remove_close_handler(int, RefCount<AsyncCall>&) (comm.cc:1704)
==21688== by 0x56E038: DeferredReadManager::popHead(CbDataListContainer<DeferredRead>&) (comm.cc:2521)
==21688== by 0x56E142: DeferredReadManager::flushReads() (comm.cc:2557)
==21688== by 0x56E215: DeferredReadManager::~DeferredReadManager() (comm.cc:2479)
==21688== by 0x525C38: MemObject::~MemObject() (MemObject.cc:129)
==21688== by 0x5490D3: StoreEntry::destroyMemObject() (store.cc:376)
==21688== by 0x54AA16: destroyStoreEntry(void*) (store.cc:389)
==21688== by 0x5BFAC5: hashFreeItems (hash.c:308)
==21688== by 0x550768: StoreHashIndex::~StoreHashIndex() (store_dir.cc:718)
==21688== by 0x550A22: StoreSearchHashIndex::~StoreSearchHashIndex() (RefCount.h:100)
==21688== by 0x60849CC: exit (in /lib/libc-2.7.so)
==21688== by 0x520333: _ZL13SquidShutdownv (main.cc:1765)
==21688== by 0x5216C2: main (main.cc:1352)
==21688== Address 0xff28 is not stack'd, malloc'd or (recently) free'd
==21688==
==21688== Process terminating with default action of signal 11 (SIGSEGV)
==21688== Access not within mapped region at address 0xFF28
==21688== at 0x56DEEC: comm_remove_close_handler(int, RefCount<AsyncCall>&) (comm.cc:1704)
==21688== by 0x56E038: DeferredReadManager::popHead(CbDataListContainer<DeferredRead>&) (comm.cc:2521)
==21688== by 0x56E142: DeferredReadManager::flushReads() (comm.cc:2557)
==21688== by 0x56E215: DeferredReadManager::~DeferredReadManager() (comm.cc:2479)
==21688== by 0x525C38: MemObject::~MemObject() (MemObject.cc:129)
==21688== by 0x5490D3: StoreEntry::destroyMemObject() (store.cc:376)
==21688== by 0x54AA16: destroyStoreEntry(void*) (store.cc:389)
==21688== by 0x5BFAC5: hashFreeItems (hash.c:308)
==21688== by 0x550768: StoreHashIndex::~StoreHashIndex() (store_dir.cc:718)
==21688== by 0x550A22: StoreSearchHashIndex::~StoreSearchHashIndex() (RefCount.h:100)
==21688== by 0x60849CC: exit (in /lib/libc-2.7.so)
==21688== by 0x520333: _ZL13SquidShutdownv (main.cc:1765)
==21688== by 0x5216C2: main (main.cc:1352)
==21688==
==21688== ERROR SUMMARY: 272 errors from 4 contexts (suppressed: 36 from 3)
==21688== malloc/free: in use at exit: 420,542,422 bytes in 1,745,984 blocks.
==21688== malloc/free: 97,945,064 allocs, 96,199,080 frees, 10,219,430,838 bytes allocated.
==21688== For counts of detected errors, rerun with: -v
==21688== searching for pointers to 1,745,984 not-freed blocks.
==21688== checked 380,363,680 bytes.
==21688==
==21688==
==21688== 32 bytes in 1 blocks are still reachable in loss record 1 of 30
==21688== at 0x4C203E4: calloc (vg_replace_malloc.c:397)
==21688== by 0x6102548: (within /lib/libc-2.7.so)
==21688== by 0x6104272: (within /lib/libc-2.7.so)
==21688== by 0x610431F: (within /lib/libc-2.7.so)
==21688== by 0x6104708: (within /lib/libc-2.7.so)
==21688== by 0x61060E2: regcomp (in /lib/libc-2.7.so)
==21688== by 0x52749C: mimeInit (mime.cc:461)
==21688== by 0x520C8A: _ZL14mainInitializev (main.cc:971)
==21688== by 0x52161F: main (main.cc:1313)
==21688==
==21688==
==21688== 536 (104 direct, 432 indirect) bytes in 2 blocks are definitely lost in loss record 2 of 30
==21688== at 0x4C2260E: malloc (vg_replace_malloc.c:207)
==21688== by 0x612E52F: (within /lib/libc-2.7.so)
==21688== by 0x612ED06: __nss_database_lookup (in /lib/libc-2.7.so)
==21688== by 0x69B131F: ???
==21688== by 0x69B23D6: ???
==21688== by 0x60ECEA2: getpwnam_r (in /lib/libc-2.7.so)
==21688== by 0x60EC85F: getpwnam (in /lib/libc-2.7.so)
==21688== by 0x4A2A00: parseConfigFile(char const*) (cache_cf.cc:622)
==21688== by 0x5212B5: main (main.cc:1232)
==21688==
==21688==
==21688== 144 bytes in 9 blocks are indirectly lost in loss record 3 of 30
==21688== at 0x4C2260E: malloc (vg_replace_malloc.c:207)
==21688== by 0x612E119: __nss_lookup_function (in /lib/libc-2.7.so)
==21688== by 0x69B133A: ???
==21688== by 0x69B23D6: ???
==21688== by 0x60ECEA2: getpwnam_r (in /lib/libc-2.7.so)
==21688== by 0x60EC85F: getpwnam (in /lib/libc-2.7.so)
==21688== by 0x4A2A00: parseConfigFile(char const*) (cache_cf.cc:622)
==21688== by 0x5212B5: main (main.cc:1232)
==21688==
==21688==
==21688== 288 bytes in 9 blocks are indirectly lost in loss record 4 of 30
==21688== at 0x4C2260E: malloc (vg_replace_malloc.c:207)
==21688== by 0x611DEC3: tsearch (in /lib/libc-2.7.so)
==21688== by 0x612E0B9: __nss_lookup_function (in /lib/libc-2.7.so)
==21688== by 0x69B133A: ???
==21688== by 0x69B23D6: ???
==21688== by 0x60ECEA2: getpwnam_r (in /lib/libc-2.7.so)
==21688== by 0x60EC85F: getpwnam (in /lib/libc-2.7.so)
==21688== by 0x4A2A00: parseConfigFile(char const*) (cache_cf.cc:622)
==21688== by 0x5212B5: main (main.cc:1232)
==21688==
==21688==
==21688== 568 bytes in 1 blocks are still reachable in loss record 5 of 30
==21688== at 0x4C2260E: malloc (vg_replace_malloc.c:207)
==21688== by 0x60B4749: (within /lib/libc-2.7.so)
==21688== by 0x4C6873: _ZL12debugOpenLogPKc (debug.cc:264)
==21688== by 0x4C7943: _db_init (debug.cc:461)
==21688== by 0x5207F1: _ZL14mainInitializev (main.cc:868)
==21688== by 0x52161F: main (main.cc:1313)
==21688==
==21688==
==21688== 624 bytes in 2 blocks are still reachable in loss record 6 of 30
==21688== at 0x4C22741: realloc (vg_replace_malloc.c:429)
==21688== by 0x5C4E67: xrealloc (util.c:631)
==21688== by 0x54641B: storeReplAdd (store.cc:1714)
==21688== by 0x52127F: main (main.cc:1221)
==21688==
==21688==
==21688== 756 bytes in 189 blocks are still reachable in loss record 7 of 30
==21688== at 0x4C2260E: malloc (vg_replace_malloc.c:207)
==21688== by 0x60F6E19: (within /lib/libc-2.7.so)
==21688== by 0x60F634B: (within /lib/libc-2.7.so)
==21688== by 0x61048EC: (within /lib/libc-2.7.so)
==21688== by 0x61060E2: regcomp (in /lib/libc-2.7.so)
==21688== by 0x52749C: mimeInit (mime.cc:461)
==21688== by 0x520C8A: _ZL14mainInitializev (main.cc:971)
==21688== by 0x52161F: main (main.cc:1313)
==21688==
==21688==
==21688== 1,008 bytes in 63 blocks are still reachable in loss record 8 of 30
==21688== at 0x4C2260E: malloc (vg_replace_malloc.c:207)
==21688== by 0x60FB1CB: (within /lib/libc-2.7.so)
==21688== by 0x6104CF7: (within /lib/libc-2.7.so)
==21688== by 0x61060E2: regcomp (in /lib/libc-2.7.so)
==21688== by 0x52749C: mimeInit (mime.cc:461)
==21688== by 0x520C8A: _ZL14mainInitializev (main.cc:971)
==21688== by 0x52161F: main (main.cc:1313)
==21688==
==21688==
==21688== 1,672 bytes in 292 blocks are still reachable in loss record 9 of 30
==21688== at 0x4C2260E: malloc (vg_replace_malloc.c:207)
==21688== by 0x60F8356: (within /lib/libc-2.7.so)
==21688== by 0x60FAF96: (within /lib/libc-2.7.so)
==21688== by 0x6104CF7: (within /lib/libc-2.7.so)
==21688== by 0x61060E2: regcomp (in /lib/libc-2.7.so)
==21688== by 0x49876F: _ZL20parse_refreshpatternPP10_refresh_t (cache_cf.cc:2314)
==21688== by 0x4A0B26: _ZL10parse_linePc (cf_parser.h:1042)
==21688== by 0x4A182D: _ZL18parseOneConfigFilePKcj (cache_cf.cc:357)
==21688== by 0x4A258F: parseConfigFile(char const*) (cache_cf.cc:392)
==21688== by 0x5212B5: main (main.cc:1232)
==21688==
==21688==
==21688== 1,968 bytes in 15 blocks are still reachable in loss record 10 of 30
==21688== at 0x4C22741: realloc (vg_replace_malloc.c:429)
==21688== by 0x60F892A: (within /lib/libc-2.7.so)
==21688== by 0x60F89D7: (within /lib/libc-2.7.so)
==21688== by 0x60F8CDD: (within /lib/libc-2.7.so)
==21688== by 0x60F8F3E: (within /lib/libc-2.7.so)
==21688== by 0x6104957: (within /lib/libc-2.7.so)
==21688== by 0x61060E2: regcomp (in /lib/libc-2.7.so)
==21688== by 0x52749C: mimeInit (mime.cc:461)
==21688== by 0x520C8A: _ZL14mainInitializev (main.cc:971)
==21688== by 0x52161F: main (main.cc:1313)
==21688==
==21688==
==21688== 3,120 bytes in 3 blocks are still reachable in loss record 11 of 30
==21688== at 0x4C203E4: calloc (vg_replace_malloc.c:397)
==21688== by 0x6084B87: (within /lib/libc-2.7.so)
==21688== by 0x6084C60: __cxa_atexit (in /lib/libc-2.7.so)
==21688== by 0x5C9155: (within /usr/sbin/squid3)
==21688== by 0x47E9AA: (within /usr/sbin/squid3)
==21688==
==21688==
==21688== 4,632 bytes in 162 blocks are still reachable in loss record 12 of 30
==21688== at 0x4C2260E: malloc (vg_replace_malloc.c:207)
==21688== by 0x6104774: (within /lib/libc-2.7.so)
==21688== by 0x61060E2: regcomp (in /lib/libc-2.7.so)
==21688== by 0x49876F: _ZL20parse_refreshpatternPP10_refresh_t (cache_cf.cc:2314)
==21688== by 0x4A0B26: _ZL10parse_linePc (cf_parser.h:1042)
==21688== by 0x4A182D: _ZL18parseOneConfigFilePKcj (cache_cf.cc:357)
==21688== by 0x4A258F: parseConfigFile(char const*) (cache_cf.cc:392)
==21688== by 0x5212B5: main (main.cc:1232)
==21688==
==21688==
==21688== 4,728 bytes in 9 blocks are possibly lost in loss record 13 of 30
==21688== at 0x4C2260E: malloc (vg_replace_malloc.c:207)
==21688== by 0x5C4F07: xmalloc (util.c:506)
==21688== by 0x51249C: httpHeaderBuildFieldsInfo (SquidNew.h:56)
==21688== by 0x50C8AE: httpHeaderInitModule (HttpHeader.cc:288)
==21688== by 0x52088C: _ZL14mainInitializev (main.cc:936)
==21688== by 0x52161F: main (main.cc:1313)
==21688==
==21688==
==21688== 7,396 bytes in 1,657 blocks are still reachable in loss record 14 of 30
==21688== at 0x4C2260E: malloc (vg_replace_malloc.c:207)
==21688== by 0x60F6DDC: (within /lib/libc-2.7.so)
==21688== by 0x60F8D92: (within /lib/libc-2.7.so)
==21688== by 0x6104957: (within /lib/libc-2.7.so)
==21688== by 0x61060E2: regcomp (in /lib/libc-2.7.so)
==21688== by 0x49876F: _ZL20parse_refreshpatternPP10_refresh_t (cache_cf.cc:2314)
==21688== by 0x4A0B26: _ZL10parse_linePc (cf_parser.h:1042)
==21688== by 0x4A182D: _ZL18parseOneConfigFilePKcj (cache_cf.cc:357)
==21688== by 0x4A258F: parseConfigFile(char const*) (cache_cf.cc:392)
==21688== by 0x5212B5: main (main.cc:1232)
==21688==
==21688==
==21688== 7,872 bytes in 15 blocks are still reachable in loss record 15 of 30
==21688== at 0x4C22741: realloc (vg_replace_malloc.c:429)
==21688== by 0x60F8957: (within /lib/libc-2.7.so)
==21688== by 0x60F89D7: (within /lib/libc-2.7.so)
==21688== by 0x60F8CDD: (within /lib/libc-2.7.so)
==21688== by 0x60F8F3E: (within /lib/libc-2.7.so)
==21688== by 0x6104957: (within /lib/libc-2.7.so)
==21688== by 0x61060E2: regcomp (in /lib/libc-2.7.so)
==21688== by 0x52749C: mimeInit (mime.cc:461)
==21688== by 0x520C8A: _ZL14mainInitializev (main.cc:971)
==21688== by 0x52161F: main (main.cc:1313)
==21688==
==21688==
==21688== 7,872 bytes in 15 blocks are still reachable in loss record 16 of 30
==21688== at 0x4C22741: realloc (vg_replace_malloc.c:429)
==21688== by 0x60F8948: (within /lib/libc-2.7.so)
==21688== by 0x60F89D7: (within /lib/libc-2.7.so)
==21688== by 0x60F8CDD: (within /lib/libc-2.7.so)
==21688== by 0x60F8F3E: (within /lib/libc-2.7.so)
==21688== by 0x6104957: (within /lib/libc-2.7.so)
==21688== by 0x61060E2: regcomp (in /lib/libc-2.7.so)
==21688== by 0x52749C: mimeInit (mime.cc:461)
==21688== by 0x520C8A: _ZL14mainInitializev (main.cc:971)
==21688== by 0x52161F: main (main.cc:1313)
==21688==
==21688==
==21688== 7,872 bytes in 15 blocks are still reachable in loss record 17 of 30
==21688== at 0x4C22741: realloc (vg_replace_malloc.c:429)
==21688== by 0x60F8911: (within /lib/libc-2.7.so)
==21688== by 0x60F89D7: (within /lib/libc-2.7.so)
==21688== by 0x60F8CDD: (within /lib/libc-2.7.so)
==21688== by 0x60F8F3E: (within /lib/libc-2.7.so)
==21688== by 0x6104957: (within /lib/libc-2.7.so)
==21688== by 0x61060E2: regcomp (in /lib/libc-2.7.so)
==21688== by 0x52749C: mimeInit (mime.cc:461)
==21688== by 0x520C8A: _ZL14mainInitializev (main.cc:971)
==21688== by 0x52161F: main (main.cc:1313)
==21688==
==21688==
==21688== 10,240 bytes in 5 blocks are still reachable in loss record 18 of 30
==21688== at 0x4C203E4: calloc (vg_replace_malloc.c:397)
==21688== by 0x60FEE09: (within /lib/libc-2.7.so)
==21688== by 0x61002D9: (within /lib/libc-2.7.so)
==21688== by 0x610118D: regexec (in /lib/libc-2.7.so)
==21688== by 0x5265BB: _ZL12mimeGetEntryPKci (mime.cc:236)
==21688== by 0x5266FA: mimeGetContentType (mime.cc:324)
==21688== by 0x526B61: MimeIcon::load() (mime.cc:523)
==21688== by 0x527270: mimeInit (mime.cc:497)
==21688== by 0x520C8A: _ZL14mainInitializev (main.cc:971)
==21688== by 0x52161F: main (main.cc:1313)
==21688==
==21688==
==21688== 18,528 bytes in 162 blocks are still reachable in loss record 19 of 30
==21688== at 0x4C2260E: malloc (vg_replace_malloc.c:207)
==21688== by 0x61047AD: (within /lib/libc-2.7.so)
==21688== by 0x61060E2: regcomp (in /lib/libc-2.7.so)
==21688== by 0x49876F: _ZL20parse_refreshpatternPP10_refresh_t (cache_cf.cc:2314)
==21688== by 0x4A0B26: _ZL10parse_linePc (cf_parser.h:1042)
==21688== by 0x4A182D: _ZL18parseOneConfigFilePKcj (cache_cf.cc:357)
==21688== by 0x4A258F: parseConfigFile(char const*) (cache_cf.cc:392)
==21688== by 0x5212B5: main (main.cc:1232)
==21688==
==21688==
==21688== 18,528 bytes in 162 blocks are still reachable in loss record 20 of 30
==21688== at 0x4C2260E: malloc (vg_replace_malloc.c:207)
==21688== by 0x610479A: (within /lib/libc-2.7.so)
==21688== by 0x61060E2: regcomp (in /lib/libc-2.7.so)
==21688== by 0x49876F: _ZL20parse_refreshpatternPP10_refresh_t (cache_cf.cc:2314)
==21688== by 0x4A0B26: _ZL10parse_linePc (cf_parser.h:1042)
==21688== by 0x4A182D: _ZL18parseOneConfigFilePKcj (cache_cf.cc:357)
==21688== by 0x4A258F: parseConfigFile(char const*) (cache_cf.cc:392)
==21688== by 0x5212B5: main (main.cc:1232)
==21688==
==21688==
==21688== 18,528 bytes in 162 blocks are still reachable in loss record 21 of 30
==21688== at 0x4C2260E: malloc (vg_replace_malloc.c:207)
==21688== by 0x6104494: (within /lib/libc-2.7.so)
==21688== by 0x61060E2: regcomp (in /lib/libc-2.7.so)
==21688== by 0x49876F: _ZL20parse_refreshpatternPP10_refresh_t (cache_cf.cc:2314)
==21688== by 0x4A0B26: _ZL10parse_linePc (cf_parser.h:1042)
==21688== by 0x4A182D: _ZL18parseOneConfigFilePKcj (cache_cf.cc:357)
==21688== by 0x4A258F: parseConfigFile(char const*) (cache_cf.cc:392)
==21688== by 0x5212B5: main (main.cc:1232)
==21688==
==21688==
==21688== 20,152 bytes in 229 blocks are still reachable in loss record 22 of 30
==21688== at 0x4C203E4: calloc (vg_replace_malloc.c:397)
==21688== by 0x60FAF76: (within /lib/libc-2.7.so)
==21688== by 0x6104CF7: (within /lib/libc-2.7.so)
==21688== by 0x61060E2: regcomp (in /lib/libc-2.7.so)
==21688== by 0x49876F: _ZL20parse_refreshpatternPP10_refresh_t (cache_cf.cc:2314)
==21688== by 0x4A0B26: _ZL10parse_linePc (cf_parser.h:1042)
==21688== by 0x4A182D: _ZL18parseOneConfigFilePKcj (cache_cf.cc:357)
==21688== by 0x4A258F: parseConfigFile(char const*) (cache_cf.cc:392)
==21688== by 0x5212B5: main (main.cc:1232)
==21688==
==21688==
==21688== 28,096 bytes in 177 blocks are still reachable in loss record 23 of 30
==21688== at 0x4C203E4: calloc (vg_replace_malloc.c:397)
==21688== by 0x61044C5: (within /lib/libc-2.7.so)
==21688== by 0x61060E2: regcomp (in /lib/libc-2.7.so)
==21688== by 0x49876F: _ZL20parse_refreshpatternPP10_refresh_t (cache_cf.cc:2314)
==21688== by 0x4A0B26: _ZL10parse_linePc (cf_parser.h:1042)
==21688== by 0x4A182D: _ZL18parseOneConfigFilePKcj (cache_cf.cc:357)
==21688== by 0x4A258F: parseConfigFile(char const*) (cache_cf.cc:392)
==21688== by 0x5212B5: main (main.cc:1232)
==21688==
==21688==
==21688== 43,296 bytes in 405 blocks are still reachable in loss record 24 of 30
==21688== at 0x4C2260E: malloc (vg_replace_malloc.c:207)
==21688== by 0x4C22797: realloc (vg_replace_malloc.c:429)
==21688== by 0x6105037: (within /lib/libc-2.7.so)
==21688== by 0x61060E2: regcomp (in /lib/libc-2.7.so)
==21688== by 0x49876F: _ZL20parse_refreshpatternPP10_refresh_t (cache_cf.cc:2314)
==21688== by 0x4A0B26: _ZL10parse_linePc (cf_parser.h:1042)
==21688== by 0x4A182D: _ZL18parseOneConfigFilePKcj (cache_cf.cc:357)
==21688== by 0x4A258F: parseConfigFile(char const*) (cache_cf.cc:392)
==21688== by 0x5212B5: main (main.cc:1232)
==21688==
==21688==
==21688== 45,312 bytes in 177 blocks are still reachable in loss record 25 of 30
==21688== at 0x4C2260E: malloc (vg_replace_malloc.c:207)
==21688== by 0x6106073: regcomp (in /lib/libc-2.7.so)
==21688== by 0x49876F: _ZL20parse_refreshpatternPP10_refresh_t (cache_cf.cc:2314)
==21688== by 0x4A0B26: _ZL10parse_linePc (cf_parser.h:1042)
==21688== by 0x4A182D: _ZL18parseOneConfigFilePKcj (cache_cf.cc:357)
==21688== by 0x4A258F: parseConfigFile(char const*) (cache_cf.cc:392)
==21688== by 0x5212B5: main (main.cc:1232)
==21688==
==21688==
==21688== 1,251,224 bytes in 12,031 blocks are indirectly lost in loss record 26 of 30
==21688== at 0x4C2260E: malloc (vg_replace_malloc.c:207)
==21688== by 0x5C4F07: xmalloc (util.c:506)
==21688== by 0x574501: DeferredReadManager::delayRead(DeferredRead const&) (SquidNew.h:48)
==21688== by 0x547596: StoreEntry::delayAwareRead(int, char*, int, RefCount<AsyncCall>) (store.cc:241)
==21688== by 0x502C4A: HttpStateData::maybeReadVirginBody() (http.cc:1332)
==21688== by 0x50150D: HttpStateData::processReplyBody() (http.cc:1301)
==21688== by 0x501177: HttpStateData::readReply(CommIoCbParams const&) (http.cc:1107)
==21688== by 0x578B7A: JobDialer::dial(AsyncCall&) (AsyncJob.cc:215)
==21688== by 0x4968D2: AsyncCall::make() (AsyncCall.cc:34)
==21688== by 0x495C9F: AsyncCallQueue::fireNext() (AsyncCallQueue.cc:53)
==21688== by 0x495E57: AsyncCallQueue::fire() (AsyncCallQueue.cc:39)
==21688== by 0x4DAB1B: EventLoop::runOnce() (EventLoop.cc:131)
==21688== by 0x4DABF7: EventLoop::run() (EventLoop.cc:95)
==21688== by 0x5216B3: main (main.cc:1346)
==21688==
==21688==
==21688== 1,286,064 (34,840 direct, 1,251,224 indirect) bytes in 257 blocks are definitely lost in loss record 27 of 30
==21688== at 0x4C2260E: malloc (vg_replace_malloc.c:207)
==21688== by 0x5C4F07: xmalloc (util.c:506)
==21688== by 0x4B0A60: ConnStateData::readSomeData() (SquidNew.h:48)
==21688== by 0x4B2BF8: ConnStateData::clientReadRequest(CommIoCbParams const&) (client_side.cc:2602)
==21688== by 0x578B7A: JobDialer::dial(AsyncCall&) (AsyncJob.cc:215)
==21688== by 0x4968D2: AsyncCall::make() (AsyncCall.cc:34)
==21688== by 0x495C9F: AsyncCallQueue::fireNext() (AsyncCallQueue.cc:53)
==21688== by 0x495E57: AsyncCallQueue::fire() (AsyncCallQueue.cc:39)
==21688== by 0x4DAB1B: EventLoop::runOnce() (EventLoop.cc:131)
==21688== by 0x4DABF7: EventLoop::run() (EventLoop.cc:95)
==21688== by 0x5216B3: main (main.cc:1346)
==21688==
==21688==
==21688== 487,664 bytes in 1 blocks are possibly lost in loss record 28 of 30
==21688== at 0x4C203E4: calloc (vg_replace_malloc.c:397)
==21688== by 0x5C4DF1: xcalloc (util.c:688)
==21688== by 0x5BFA73: hashFreeItems (hash.c:301)
==21688== by 0x550768: StoreHashIndex::~StoreHashIndex() (store_dir.cc:718)
==21688== by 0x550A22: StoreSearchHashIndex::~StoreSearchHashIndex() (RefCount.h:100)
==21688== by 0x60849CC: exit (in /lib/libc-2.7.so)
==21688== by 0x520333: _ZL13SquidShutdownv (main.cc:1765)
==21688== by 0x5216C2: main (main.cc:1352)
==21688==
==21688==
==21688== 176,509,196 bytes in 1,716,982 blocks are still reachable in loss record 29 of 30
==21688== at 0x4C2260E: malloc (vg_replace_malloc.c:207)
==21688== by 0x5C4F07: xmalloc (util.c:506)
==21688== by 0x5A591D: _GLOBAL__I_ICAPXaction.cc (SquidNew.h:48)
==21688== by 0x5C9155: (within /usr/sbin/squid3)
==21688== by 0x47E9AA: (within /usr/sbin/squid3)
==21688==
==21688==
==21688== 242,006,162 bytes in 12,775 blocks are still reachable in loss record 30 of 30
==21688== at 0x4C203E4: calloc (vg_replace_malloc.c:397)
==21688== by 0x5C4DF1: xcalloc (util.c:688)
==21688== by 0x5BFB0F: hash_create (hash.c:147)
==21688== by 0x52D809: PconnPool::PconnPool(char const*) (pconn.cc:236)
==21688== by 0x5A592F: _GLOBAL__I_ICAPXaction.cc (ICAPXaction.cc:15)
==21688== by 0x5C9155: (within /usr/sbin/squid3)
==21688== by 0x47E9AA: (within /usr/sbin/squid3)
==21688==
==21688== LEAK SUMMARY:
==21688== definitely lost: 34,944 bytes in 259 blocks.
==21688== indirectly lost: 1,251,656 bytes in 12,049 blocks.
==21688== possibly lost: 492,392 bytes in 10 blocks.
==21688== still reachable: 418,763,430 bytes in 1,733,666 blocks.
==21688== suppressed: 0 bytes in 0 blocks.
Segmentation fault
/* Steinar */
-- Homepage: http://www.sesse.net/Received on Tue Feb 10 2009 - 22:49:50 MST
This archive was generated by hypermail 2.2.0 : Wed Feb 11 2009 - 12:00:03 MST