Varnish restart a few times a day
Alex Soo
alex at babyonline.com.sg
Fri Aug 16 06:26:49 CEST 2013
Hi,
I am new to varnish and has very limited knowledge in programing or UNIX
I am hosting my own web site on a Mac Mini server. It is all setup and install by freelance programer.
I have notice that varnish is restarting many times a day through log file.
Below is an example :
Process: varnishd [8259]
Path: /usr/local/sbin/varnishd
Identifier: varnishd
Version: 0
Code Type: X86-64 (Native)
Parent Process: varnishd [173]
User ID: -2
Date/Time: 2013-08-16 04:53:47.253 +0800
OS Version: Mac OS X 10.8.4 (12E55)
Report Version: 10
Crashed Thread: 16
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
abort() called
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff8f5e4f96 poll + 10
1 libvarnish.dylib 0x0000000105597ec8 VCLS_Poll + 376 (cli_serve.c:519)
2 varnishd 0x0000000105512501 CLI_Run + 129 (cache_cli.c:113)
3 varnishd 0x00000001055261de child_main + 398 (cache_main.c:140)
4 varnishd 0x0000000105539c04 start_child + 948 (mgt_child.c:345)
5 varnishd 0x000000010553abb8 mgt_sigchld + 1496 (mgt_child.c:524)
6 libvarnish.dylib 0x000000010559a9e5 vev_sched_signal + 149
7 libvarnish.dylib 0x000000010559ad7a vev_schedule_one + 746 (vev.c:474)
8 libvarnish.dylib 0x000000010559b0c8 vev_schedule + 200 (vev.c:363)
9 varnishd 0x000000010553a535 MGT_Run + 773 (mgt_child.c:604)
10 varnishd 0x000000010554a523 main + 4003 (varnishd.c:650)
11 libdyld.dylib 0x00007fff8da497e1 start + 1
Thread 1:
0 libsystem_kernel.dylib 0x00007fff8f5e4386 __semwait_signal + 10
1 libsystem_c.dylib 0x00007fff94839800 nanosleep + 163
2 libvarnish.dylib 0x0000000105599838 TIM_sleep + 56 (time.c:177)
3 varnishd 0x0000000105528c70 wrk_herdtimer_thread + 528 (cache_pool.c:446)
4 libsystem_c.dylib 0x00007fff947af7a2 _pthread_start + 327
5 libsystem_c.dylib 0x00007fff9479c1e1 thread_start + 13
Thread 2:
0 libsystem_kernel.dylib 0x00007fff8f5e40fa __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff947b3fe9 _pthread_cond_wait + 869
2 varnishd 0x0000000105526d99 Lck_CondWait + 281 (cache_lck.c:151)
3 varnishd 0x0000000105528ec0 wrk_herder_thread + 176 (cache_pool.c:526)
4 libsystem_c.dylib 0x00007fff947af7a2 _pthread_start + 327
5 libsystem_c.dylib 0x00007fff9479c1e1 thread_start + 13
Thread 3:
0 libsystem_kernel.dylib 0x00007fff8f5e4386 __semwait_signal + 10
1 libsystem_c.dylib 0x00007fff94839800 nanosleep + 163
2 libvarnish.dylib 0x0000000105599838 TIM_sleep + 56 (time.c:177)
3 varnishd 0x000000010551a64e exp_timer + 142 (cache_expire.c:351)
4 varnishd 0x00000001055286ae wrk_bgthread + 286 (cache_pool.c:564)
5 libsystem_c.dylib 0x00007fff947af7a2 _pthread_start + 327
6 libsystem_c.dylib 0x00007fff9479c1e1 thread_start + 13
Thread 4:
0 libsystem_kernel.dylib 0x00007fff8f5e4386 __semwait_signal + 10
1 libsystem_c.dylib 0x00007fff94839800 nanosleep + 163
2 libvarnish.dylib 0x0000000105599838 TIM_sleep + 56 (time.c:177)
3 varnishd 0x0000000105538cfc hcb_cleaner + 348 (hash_critbit.c:358)
4 libsystem_c.dylib 0x00007fff947af7a2 _pthread_start + 327
5 libsystem_c.dylib 0x00007fff9479c1e1 thread_start + 13
Thread 5:
0 libsystem_kernel.dylib 0x00007fff8f5e4386 __semwait_signal + 10
1 libsystem_c.dylib 0x00007fff94839800 nanosleep + 163
2 libvarnish.dylib 0x0000000105599838 TIM_sleep + 56 (time.c:177)
3 varnishd 0x000000010550b7d8 ban_lurker + 472 (cache_ban.c:922)
4 varnishd 0x00000001055286ae wrk_bgthread + 286 (cache_pool.c:564)
5 libsystem_c.dylib 0x00007fff947af7a2 _pthread_start + 327
6 libsystem_c.dylib 0x00007fff9479c1e1 thread_start + 13
Thread 6:
0 libsystem_kernel.dylib 0x00007fff8f5e4d16 kevent + 10
1 varnishd 0x000000010550415e vca_kqueue_main + 382 (cache_waiter_kqueue.c:168)
2 libsystem_c.dylib 0x00007fff947af7a2 _pthread_start + 327
3 libsystem_c.dylib 0x00007fff9479c1e1 thread_start + 13
Thread 7:
0 libsystem_kernel.dylib 0x00007fff8f5e4f96 poll + 10
1 varnishd 0x00000001055033d8 vca_acct + 1000 (cache_acceptor.c:272)
2 libsystem_c.dylib 0x00007fff947af7a2 _pthread_start + 327
3 libsystem_c.dylib 0x00007fff9479c1e1 thread_start + 13
Thread 8:
0 libsystem_kernel.dylib 0x00007fff8f5e40fa __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff947b3fe9 _pthread_cond_wait + 869
2 varnishd 0x0000000105526d99 Lck_CondWait + 281 (cache_lck.c:151)
3 varnishd 0x0000000105529991 wrk_thread_real + 1297
4 varnishd 0x000000010552920f wrk_thread + 287 (cache_pool.c:235)
5 libsystem_c.dylib 0x00007fff947af7a2 _pthread_start + 327
6 libsystem_c.dylib 0x00007fff9479c1e1 thread_start + 13
Thread 9:
0 libsystem_kernel.dylib 0x00007fff8f5e4f96 poll + 10
1 varnishd 0x000000010550d4d0 CNT_Session + 1392 (cache_center.c:102)
2 varnishd 0x0000000105529a77 wrk_thread_real + 1527
3 varnishd 0x000000010552920f wrk_thread + 287 (cache_pool.c:235)
4 libsystem_c.dylib 0x00007fff947af7a2 _pthread_start + 327
5 libsystem_c.dylib 0x00007fff9479c1e1 thread_start + 13
Thread 10:
0 libsystem_kernel.dylib 0x00007fff8f5e40fa __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff947b3fe9 _pthread_cond_wait + 869
2 varnishd 0x0000000105526d99 Lck_CondWait + 281 (cache_lck.c:151)
3 varnishd 0x0000000105529991 wrk_thread_real + 1297
4 varnishd 0x000000010552920f wrk_thread + 287 (cache_pool.c:235)
5 libsystem_c.dylib 0x00007fff947af7a2 _pthread_start + 327
6 libsystem_c.dylib 0x00007fff9479c1e1 thread_start + 13
Thread 11:
0 libsystem_kernel.dylib 0x00007fff8f5e40fa __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff947b3fe9 _pthread_cond_wait + 869
2 varnishd 0x0000000105526d99 Lck_CondWait + 281 (cache_lck.c:151)
3 varnishd 0x0000000105529991 wrk_thread_real + 1297
4 varnishd 0x000000010552920f wrk_thread + 287 (cache_pool.c:235)
5 libsystem_c.dylib 0x00007fff947af7a2 _pthread_start + 327
6 libsystem_c.dylib 0x00007fff9479c1e1 thread_start + 13
Thread 12:
0 libsystem_kernel.dylib 0x00007fff8f5e40fa __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff947b3fe9 _pthread_cond_wait + 869
2 varnishd 0x0000000105526d99 Lck_CondWait + 281 (cache_lck.c:151)
3 varnishd 0x0000000105529991 wrk_thread_real + 1297
4 varnishd 0x000000010552920f wrk_thread + 287 (cache_pool.c:235)
5 libsystem_c.dylib 0x00007fff947af7a2 _pthread_start + 327
6 libsystem_c.dylib 0x00007fff9479c1e1 thread_start + 13
Thread 13:
0 libsystem_kernel.dylib 0x00007fff8f5e40fa __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff947b3fe9 _pthread_cond_wait + 869
2 varnishd 0x0000000105526d99 Lck_CondWait + 281 (cache_lck.c:151)
3 varnishd 0x0000000105529991 wrk_thread_real + 1297
4 varnishd 0x000000010552920f wrk_thread + 287 (cache_pool.c:235)
5 libsystem_c.dylib 0x00007fff947af7a2 _pthread_start + 327
6 libsystem_c.dylib 0x00007fff9479c1e1 thread_start + 13
Thread 14:
0 libsystem_kernel.dylib 0x00007fff8f5e40fa __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff947b3fe9 _pthread_cond_wait + 869
2 varnishd 0x0000000105526d99 Lck_CondWait + 281 (cache_lck.c:151)
3 varnishd 0x0000000105529991 wrk_thread_real + 1297
4 varnishd 0x000000010552920f wrk_thread + 287 (cache_pool.c:235)
5 libsystem_c.dylib 0x00007fff947af7a2 _pthread_start + 327
6 libsystem_c.dylib 0x00007fff9479c1e1 thread_start + 13
Thread 15:
0 libsystem_kernel.dylib 0x00007fff8f5e40fa __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff947b3fe9 _pthread_cond_wait + 869
2 varnishd 0x0000000105526d99 Lck_CondWait + 281 (cache_lck.c:151)
3 varnishd 0x0000000105529991 wrk_thread_real + 1297
4 varnishd 0x000000010552920f wrk_thread + 287 (cache_pool.c:235)
5 libsystem_c.dylib 0x00007fff947af7a2 _pthread_start + 327
6 libsystem_c.dylib 0x00007fff9479c1e1 thread_start + 13
Thread 16 Crashed:
0 libsystem_kernel.dylib 0x00007fff8f5e4212 __pthread_kill + 10
1 libsystem_c.dylib 0x00007fff947b0b54 pthread_kill + 90
2 libsystem_c.dylib 0x00007fff947f4dce abort + 143
3 varnishd 0x0000000105527c57 pan_ic + 2679
4 varnishd 0x0000000105503e2a VCA_Prep + 1226 (cache_acceptor.c:184)
5 varnishd 0x000000010550d642 CNT_Session + 1762 (cache_center.c:974)
6 varnishd 0x0000000105529a77 wrk_thread_real + 1527
7 varnishd 0x000000010552920f wrk_thread + 287 (cache_pool.c:235)
8 libsystem_c.dylib 0x00007fff947af7a2 _pthread_start + 327
9 libsystem_c.dylib 0x00007fff9479c1e1 thread_start + 13
Thread 17:
0 libsystem_kernel.dylib 0x00007fff8f5e40fa __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff947b3fe9 _pthread_cond_wait + 869
2 varnishd 0x0000000105526d99 Lck_CondWait + 281 (cache_lck.c:151)
3 varnishd 0x0000000105529991 wrk_thread_real + 1297
4 varnishd 0x000000010552920f wrk_thread + 287 (cache_pool.c:235)
5 libsystem_c.dylib 0x00007fff947af7a2 _pthread_start + 327
6 libsystem_c.dylib 0x00007fff9479c1e1 thread_start + 13
Thread 16 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000000000006 rcx: 0x000000010b2f6298 rdx: 0x0000000000000000
rdi: 0x0000000000002913 rsi: 0x0000000000000006 rbp: 0x000000010b2f62c0 rsp: 0x000000010b2f6298
r8: 0x00007fff7e458278 r9: 0x000000010b2f61d0 r10: 0x0000000020000000 r11: 0x0000000000000206
r12: 0x0000000105552701 r13: 0x0000000105552710 r14: 0x000000010b30a000 r15: 0x00000001055c8488
rip: 0x00007fff8f5e4212 rfl: 0x0000000000000206 cr2: 0x00007fff7e4600b0
Logical CPU: 0
Binary Images:
0x105502000 - 0x105568fe7 +varnishd (0) <04E977E5-715A-30FA-949C-C962BDA3A4C8> /usr/local/sbin/varnishd
0x105594000 - 0x1055a3fe7 +libvarnish.dylib (0) <01EF19F6-8B8A-3DD1-9F45-34A57BF5365A> /usr/local/lib/varnish/libvarnish.dylib
0x1055b1000 - 0x1055b1fff +libvarnishcompat.dylib (0) <9F1C26EE-15DC-3E11-B971-A056011EB26F> /usr/local/lib/varnish/libvarnishcompat.dylib
0x1055b6000 - 0x1055d0ff7 +libvcl.dylib (0) <11184ED1-A285-356E-BF03-6AA94F76C3DD> /usr/local/lib/varnish/libvcl.dylib
0x1055da000 - 0x1055ebfef +libvgz.dylib (0) <F6834A25-2001-32A9-A5C6-07AE002E150E> /usr/local/lib/varnish/libvgz.dylib
0x1055f0000 - 0x105607fef +libpcre.0.dylib (0) <6169CF5A-DB62-34BB-9976-549B6C65629E> /usr/local/lib/libpcre.0.dylib
0x10ab4b000 - 0x10ab4dff7 +vcl.JJrPdxqR.so (0) <4FF44DF6-ED37-3877-A1B7-C8D53FE73DF0> /usr/local/var/varnish/miniserver.local/vcl.JJrPdxqR.so
0x7fff65102000 - 0x7fff6513693f dyld (210.2.3) <6900F2BA-DB48-3B78-B668-58FC0CF6BCB8> /usr/lib/dyld
0x7fff8d7d8000 - 0x7fff8d7e0fff liblaunch.dylib (442.26.2) <2F71CAF8-6524-329E-AC56-C506658B4C0C> /usr/lib/system/liblaunch.dylib
0x7fff8da47000 - 0x7fff8da4aff7 libdyld.dylib (210.2.3) <F59367C9-C110-382B-A695-9035A6DD387E> /usr/lib/system/libdyld.dylib
0x7fff8da4b000 - 0x7fff8da4dff7 libunc.dylib (25) <92805328-CD36-34FF-9436-571AB0485072> /usr/lib/system/libunc.dylib
0x7fff8e471000 - 0x7fff8e472ff7 libremovefile.dylib (23.2) <6763BC8E-18B8-3AD9-8FFA-B43713A7264F> /usr/lib/system/libremovefile.dylib
0x7fff8e4e6000 - 0x7fff8e535ff7 libcorecrypto.dylib (106.2) <CE0C29A3-C420-339B-ADAA-52F4683233CC> /usr/lib/system/libcorecrypto.dylib
0x7fff8e956000 - 0x7fff8e957ff7 libdnsinfo.dylib (453.19) <14202FFB-C3CA-3FCC-94B0-14611BF8692D> /usr/lib/system/libdnsinfo.dylib
0x7fff8f5d2000 - 0x7fff8f5edff7 libsystem_kernel.dylib (2050.24.15) <A9F97289-7985-31D6-AF89-151830684461> /usr/lib/system/libsystem_kernel.dylib
0x7fff90f5f000 - 0x7fff90f61fff libquarantine.dylib (52.1) <143B726E-DF47-37A8-90AA-F059CFD1A2E4> /usr/lib/system/libquarantine.dylib
0x7fff912a4000 - 0x7fff912a9fff libcache.dylib (57) <65187C6E-3FBF-3EB8-A1AA-389445E2984D> /usr/lib/system/libcache.dylib
0x7fff91504000 - 0x7fff91529ff7 libc++abi.dylib (26) <D86169F3-9F31-377A-9AF3-DB17142052E4> /usr/lib/libc++abi.dylib
0x7fff91580000 - 0x7fff915e8ff7 libc++.1.dylib (65.1) <20E31B90-19B9-3C2A-A9EB-474E08F9FE05> /usr/lib/libc++.1.dylib
0x7fff922df000 - 0x7fff922eafff libsystem_notify.dylib (98.5) <C49275CC-835A-3207-AFBA-8C01374927B6> /usr/lib/system/libsystem_notify.dylib
0x7fff92336000 - 0x7fff92382ff7 libauto.dylib (185.4) <AD5A4CE7-CB53-313C-9FAE-673303CC2D35> /usr/lib/libauto.dylib
0x7fff9479b000 - 0x7fff94867ff7 libsystem_c.dylib (825.26) <4C9EB006-FE1F-3F8F-8074-DFD94CF2CE7B> /usr/lib/system/libsystem_c.dylib
0x7fff94df6000 - 0x7fff94dfcff7 libunwind.dylib (35.1) <21703D36-2DAB-3D8B-8442-EAAB23C060D3> /usr/lib/system/libunwind.dylib
0x7fff94fdb000 - 0x7fff94ff0ff7 libdispatch.dylib (228.23) <D26996BF-FC57-39EB-8829-F63585561E09> /usr/lib/system/libdispatch.dylib
0x7fff959d8000 - 0x7fff959d9fff libsystem_blocks.dylib (59) <D92DCBC3-541C-37BD-AADE-ACC75A0C59C8> /usr/lib/system/libsystem_blocks.dylib
0x7fff95b07000 - 0x7fff95b0cfff libcompiler_rt.dylib (30) <08F8731D-5961-39F1-AD00-4590321D24A9> /usr/lib/system/libcompiler_rt.dylib
0x7fff95ce6000 - 0x7fff95ce7fff libDiagnosticMessagesClient.dylib (8) <8548E0DC-0D2F-30B6-B045-FE8A038E76D8> /usr/lib/libDiagnosticMessagesClient.dylib
0x7fff95df4000 - 0x7fff95e2afff libsystem_info.dylib (406.17) <4FFCA242-7F04-365F-87A6-D4EFB89503C1> /usr/lib/system/libsystem_info.dylib
0x7fff95e3e000 - 0x7fff95e4cff7 libsystem_network.dylib (77.10) <0D99F24E-56FE-380F-B81B-4A4C630EE587> /usr/lib/system/libsystem_network.dylib
0x7fff9734d000 - 0x7fff97355ff7 libsystem_dnssd.dylib (379.38.1) <BDCB8566-0189-34C0-9634-35ABD3EFE25B> /usr/lib/system/libsystem_dnssd.dylib
0x7fff97e42000 - 0x7fff97f5a92f libobjc.A.dylib (532.2) <90D31928-F48D-3E37-874F-220A51FD9E37> /usr/lib/libobjc.A.dylib
0x7fff98589000 - 0x7fff9858ffff libmacho.dylib (829) <BF332AD9-E89F-387E-92A4-6E1AB74BD4D9> /usr/lib/system/libmacho.dylib
0x7fff987f7000 - 0x7fff98819ff7 libxpc.dylib (140.43) <70BC645B-6952-3264-930C-C835010CCEF9> /usr/lib/system/libxpc.dylib
0x7fff989bb000 - 0x7fff989bcff7 libsystem_sandbox.dylib (220.3) <B739DA63-B675-387A-AD84-412A651143C0> /usr/lib/system/libsystem_sandbox.dylib
0x7fff99674000 - 0x7fff99682fff libcommonCrypto.dylib (60027) <BAAFE0C9-BB86-3CA7-88C0-E3CBA98DA06F> /usr/lib/system/libcommonCrypto.dylib
0x7fff99bd8000 - 0x7fff99bd9ff7 libSystem.B.dylib (169.3) <FF25248A-574C-32DB-952F-B948C389B2A4> /usr/lib/libSystem.B.dylib
0x7fff9a0c1000 - 0x7fff9a0c8fff libcopyfile.dylib (89) <876573D0-E907-3566-A108-577EAD1B6182> /usr/lib/system/libcopyfile.dylib
0x7fff9a3c1000 - 0x7fff9a3c1fff libkeymgr.dylib (25) <CC9E3394-BE16-397F-926B-E579B60EE429> /usr/lib/system/libkeymgr.dylib
0x7fff9a3c2000 - 0x7fff9a3f0ff7 libsystem_m.dylib (3022.6) <B434BE5C-25AB-3EBD-BAA7-5304B34E3441> /usr/lib/system/libsystem_m.dylib
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 420
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 178951
thread_create: 0
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=57.6M resident=28.6M(50%) swapped_out_or_unallocated=29.1M(50%)
Writable regions: Total=92.9M written=7040K(7%) resident=8376K(9%) swapped_out=0K(0%) unallocated=84.7M(91%)
REGION TYPE VIRTUAL
=========== =======
MALLOC 75.9M
MALLOC guard page 16K
STACK GUARD 56.1M
Stack 16.6M
VM_ALLOCATE 4K
__DATA 684K
__LINKEDIT 52.4M
__TEXT 5340K
mapped file 81.0M
shared memory 12K
=========== =======
TOTAL 287.9M
Any advise where I should start looking at? Thanks in advance.
Thanks
Alex Soo
More information about the varnish-misc
mailing list