[squid-users] Re: squid process offen restart by itself

From: Ding Guigeng <guigeng.ding_at_gmail.com>
Date: Tue, 1 Oct 2013 18:13:22 -0700 (PDT)

the pinger caused an error in frontend.cache.log,but backend runs well.
*** glibc detected *** (pinger): malloc(): memory corruption (fast):
0x00000000024de270 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x76126)[0x7f862a943126]
/lib64/libc.so.6(+0x79edf)[0x7f862a946edf]
/lib64/libc.so.6(__libc_malloc+0x71)[0x7f862a947951]
(pinger)[0x409af8]
(pinger)[0x408e1c]
(pinger)[0x403377]
(pinger)[0x404dc6]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x7f862a8ebcdd]
(pinger)[0x4027e9]
======= Memory map: ========
00400000-0040d000 r-xp 00000000 fd:00 145806
/usr/lib64/squid/pinger
0060d000-0060e000 rw-p 0000d000 fd:00 145806
/usr/lib64/squid/pinger
0060e000-00622000 rw-p 00000000 00:00 0
024de000-024ff000 rw-p 00000000 00:00 0
[heap]
7f862a4ab000-7f862a4af000 r-xp 00000000 fd:00 341
/lib64/libattr.so.1.1.0
7f862a4af000-7f862a6ae000 ---p 00004000 fd:00 341
/lib64/libattr.so.1.1.0
7f862a6ae000-7f862a6af000 r--p 00003000 fd:00 341
/lib64/libattr.so.1.1.0
7f862a6af000-7f862a6b0000 rw-p 00004000 fd:00 341
/lib64/libattr.so.1.1.0
7f862a6b0000-7f862a6c7000 r-xp 00000000 fd:00 318
/lib64/libpthread-2.12.so
7f862a6c7000-7f862a8c7000 ---p 00017000 fd:00 318
/lib64/libpthread-2.12.so
7f862a8c7000-7f862a8c8000 r--p 00017000 fd:00 318
/lib64/libpthread-2.12.so
7f862a8c8000-7f862a8c9000 rw-p 00018000 fd:00 318
/lib64/libpthread-2.12.so
7f862a8c9000-7f862a8cd000 rw-p 00000000 00:00 0
7f862a8cd000-7f862aa57000 r-xp 00000000 fd:00 294
/lib64/libc-2.12.so
7f862aa57000-7f862ac56000 ---p 0018a000 fd:00 294
/lib64/libc-2.12.so
7f862ac56000-7f862ac5a000 r--p 00189000 fd:00 294
/lib64/libc-2.12.so
7f862ac5a000-7f862ac5b000 rw-p 0018d000 fd:00 294
/lib64/libc-2.12.so
7f862ac5b000-7f862ac60000 rw-p 00000000 00:00 0
7f862ac60000-7f862ac76000 r-xp 00000000 fd:00 15
/lib64/libgcc_s-4.4.7-20120601.so.1
7f862ac76000-7f862ae75000 ---p 00016000 fd:00 15
/lib64/libgcc_s-4.4.7-20120601.so.1
7f862ae75000-7f862ae76000 rw-p 00015000 fd:00 15
/lib64/libgcc_s-4.4.7-20120601.so.1
7f862ae76000-7f862aef9000 r-xp 00000000 fd:00 302
/lib64/libm-2.12.so
7f862aef9000-7f862b0f8000 ---p 00083000 fd:00 302
/lib64/libm-2.12.so
7f862b0f8000-7f862b0f9000 r--p 00082000 fd:00 302
/lib64/libm-2.12.so
7f862b0f9000-7f862b0fa000 rw-p 00083000 fd:00 302
/lib64/libm-2.12.so
7f862b0fa000-7f862b1e2000 r-xp 00000000 fd:00 133797
/usr/lib64/libstdc++.so.6.0.13
7f862b1e2000-7f862b3e2000 ---p 000e8000 fd:00 133797
/usr/lib64/libstdc++.so.6.0.13
7f862b3e2000-7f862b3e9000 r--p 000e8000 fd:00 133797
/usr/lib64/libstdc++.so.6.0.13
7f862b3e9000-7f862b3eb000 rw-p 000ef000 fd:00 133797
/usr/lib64/libstdc++.so.6.0.13
7f862b3eb000-7f862b400000 rw-p 00000000 00:00 0
7f862b400000-7f862b402000 r-xp 00000000 fd:00 300
/lib64/libdl-2.12.so
7f862b402000-7f862b602000 ---p 00002000 fd:00 300
/lib64/libdl-2.12.so
7f862b602000-7f862b603000 r--p 00002000 fd:00 300
/lib64/libdl-2.12.so
7f862b603000-7f862b604000 rw-p 00003000 fd:00 300
/lib64/libdl-2.12.so
7f862b604000-7f862b60b000 r-xp 00000000 fd:00 322
/lib64/librt-2.12.so
7f862b60b000-7f862b80a000 ---p 00007000 fd:00 322
/lib64/librt-2.12.so
7f862b80a000-7f862b80b000 r--p 00006000 fd:00 322
/lib64/librt-2.12.so
7f862b80b000-7f862b80c000 rw-p 00007000 fd:00 322
/lib64/librt-2.12.so
7f862b80c000-7f862b810000 r-xp 00000000 fd:00 344
/lib64/libcap.so.2.16
7f862b810000-7f862ba0f000 ---p 00004000 fd:00 344
/lib64/libcap.so.2.16
7f862ba0f000-7f862ba10000 rw-p 00003000 fd:00 344
/lib64/libcap.so.2.16
7f862ba10000-7f862ba26000 r-xp 00000000 fd:00 320
/lib64/libresolv-2.12.so
7f862ba26000-7f862bc26000 ---p 00016000 fd:00 320
/lib64/libresolv-2.12.so
7f862bc26000-7f862bc27000 r--p 00016000 fd:00 320
/lib64/libresolv-2.12.so
7f862bc27000-7f862bc28000 rw-p 00017000 fd:00 320
/lib64/libresolv-2.12.so
7f862bc28000-7f862bc2a000 rw-p 00000000 00:00 0
7f862bc2a000-7f862bc40000 r-xp 00000000 fd:00 304
/lib64/libnsl-2.12.so
7f862bc40000-7f862be3f000 ---p 00016000 fd:00 304
/lib64/libnsl-2.12.so
7f862be3f000-7f862be40000 r--p 00015000 fd:00 304
/lib64/libnsl-2.12.so
7f862be40000-7f862be41000 rw-p 00016000 fd:00 304
/lib64/libnsl-2.12.so
7f862be41000-7f862be43000 rw-p 00000000 00:00 0
7f862be43000-7f862be63000 r-xp 00000000 fd:00 339
/lib64/ld-2.12.so
7f862c054000-7f862c05c000 rw-p 00000000 00:00 0
7f862c060000-7f862c062000 rw-p 00000000 00:00 0
7f862c062000-7f862c063000 r--p 0001f000 fd:00 339
/lib64/ld-2.12.so
7f862c063000-7f862c064000 rw-p 00020000 fd:00 339
/lib64/ld-2.12.so
7f862c064000-7f862c065000 rw-p 00000000 00:00 0
7ffff7457000-7ffff746c000 rw-p 00000000 00:00 0
[stack]
7ffff74be000-7ffff74bf000 r-xp 00000000 00:00 0
[vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0
[vsyscall]
2013/10/02 09:58:29 kid1| recv: (111) Connection refused
2013/10/02 09:58:29 kid1| Closing Pinger socket on FD 13

Amos Jeffries-2 wrote
> On 30/09/2013 10:33 p.m., Ding Guigeng wrote:
>> 2013/09/30 16:58:43 kid4| ERROR opening swap log /cache2/4/swap.state:
>> (2)
>> No such file or directory
>> 2013/09/30 16:58:43 kid5| ERROR opening swap log /cache2/5/swap.state:
>> (2)
>> No such file or directory
>> FATAL: UFSSwapDir::openLog: Failed to open swap log.
>> Squid Cache (Version 3.3.9): Terminated abnormally.
>
> There is the problem(s).
>
> You ran squid -z after changing the cache_dir parameters?
>
> Amos

--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/squid-process-offen-restart-by-itself-tp4662332p4662390.html
Sent from the Squid - Users mailing list archive at Nabble.com.
Received on Wed Oct 02 2013 - 01:14:06 MDT

This archive was generated by hypermail 2.2.0 : Wed Oct 02 2013 - 12:00:04 MDT