I saw this while testing using ab on 2.0.3 a number of times. I was just doing a ab -n 1000 -c 50 (x3) when this happened (repeatably).<br><br>Retesting on -trunk seems to be okay. <br><br>--Jauder<br><br><br><div class="gmail_quote">
On Tue, Apr 7, 2009 at 4:41 PM, Ross Brown <span dir="ltr"><<a href="mailto:ross@trademe.co.nz">ross@trademe.co.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I'm seeing similar issues (running Trunk). How much load is your Varnish server under when it stops responding?<br>
<div><div></div><div class="h5"><br>
<br>
-----Original Message-----<br>
From: <a href="mailto:varnish-misc-bounces@projects.linpro.no">varnish-misc-bounces@projects.linpro.no</a> [mailto:<a href="mailto:varnish-misc-bounces@projects.linpro.no">varnish-misc-bounces@projects.linpro.no</a>] On Behalf Of Sascha Kain<br>
Sent: Wednesday, 8 April 2009 3:24 a.m.<br>
To: <a href="mailto:kitai@ya.com">kitai@ya.com</a><br>
Cc: <a href="mailto:varnish-misc@projects.linpro.no">varnish-misc@projects.linpro.no</a><br>
Subject: Re: 503 Service Unavailable + Stop Responding<br>
<br>
Hi, its running correct. no such messages in logfiles.<br>
<br>
Im still having the second problem, that the varnishd just stops<br>
responding on port 80 and all requests die.<br>
<br>
maybe ill switch to 2.0.4, and check it out on high load.<br>
<br>
<br>
Kitai wrote:<br>
> Search in the "/var/log/messages" log if varnish it's restarting.<br>
><br>
> After every crash, varnish starts answering with a 503 to every request.<br>
><br>
><br>
> DAvid (Kitai) Cruz<br>
><br>
><br>
> 2009/4/7 Sascha Kain <<a href="mailto:s.kain@eraffe-media.de">s.kain@eraffe-media.de</a>>:<br>
><br>
>> Hi<br>
>> im getting folloing error when accessing a Picture (jpg), delivered by<br>
>> Varnish-Cache.<br>
>><br>
>> ====================<br>
>><br>
>><br>
>> Error 503 Service Unavailable<br>
>><br>
>> Service Unavailable<br>
>><br>
>><br>
>> Guru Meditation:<br>
>><br>
>> XID: 502211958<br>
>><br>
>> Varnish <<a href="http://www.varnish-cache.org/" target="_blank">http://www.varnish-cache.org/</a>><br>
>><br>
>> ================<br>
>><br>
>><br>
>> This happens sporadically.<br>
>> When i access the picture from the Backend directly, its working.<br>
>><br>
>><br>
>> My varnishd is running on a Debian Server<br>
>> proxycache2:~# uname -a<br>
>> Linux proxycache2 2.6.18-6-amd64 #1 SMP Mon Jun 16 22:30:01 UTC 2008<br>
>> x86_64 GNU/Linux<br>
>> proxycache2:~# varnishd -V<br>
>> varnishd (varnish-2.0.3)<br>
>> Copyright (c) 2006-2008 Linpro AS / Verdens Gang AS<br>
>><br>
>> varnishd -a :80 -b xx.xx.xx.40:80 -s malloc,15360M<br>
>><br>
>><br>
>> It also happens, that the daemon just stop answering on Port 80, i have<br>
>> to manually restart it!<br>
>><br>
>><br>
>> proxycache2:~# varnishstat -1<br>
>> uptime 691288 . Child uptime<br>
>> client_conn 13757134 19.90 Client connections accepted<br>
>> client_req 62501336 90.41 Client requests received<br>
>> cache_hit 59008654 85.36 Cache hits<br>
>> cache_hitpass 35 0.00 Cache hits for pass<br>
>> cache_miss 3454784 5.00 Cache misses<br>
>> backend_conn 3491596 5.05 Backend connections success<br>
>> backend_unhealthy 0 0.00 Backend connections not attempted<br>
>> backend_busy 0 0.00 Backend connections too many<br>
>> backend_fail 1094 0.00 Backend connections failures<br>
>> backend_reuse 3190621 4.62 Backend connections reuses<br>
>> backend_recycle 3300087 4.77 Backend connections recycles<br>
>> backend_unused 0 0.00 Backend connections unused<br>
>> n_srcaddr 1082 . N struct srcaddr<br>
>> n_srcaddr_act 69 . N active struct srcaddr<br>
>> n_sess_mem 4061 . N struct sess_mem<br>
>> n_sess 325 . N struct sess<br>
>> n_object 727166 . N struct object<br>
>> n_objecthead 412871 . N struct objecthead<br>
>> n_smf 0 . N struct smf<br>
>> n_smf_frag 0 . N small free smf<br>
>> n_smf_large 0 . N large free smf<br>
>> n_vbe_conn 25 . N struct vbe_conn<br>
>> n_bereq 173 . N struct bereq<br>
>> n_wrk 46 . N worker threads<br>
>> n_wrk_create 6590 0.01 N worker threads created<br>
>> n_wrk_failed 0 0.00 N worker threads not created<br>
>> n_wrk_max 0 0.00 N worker threads limited<br>
>> n_wrk_queue 0 0.00 N queued work requests<br>
>> n_wrk_overflow 40391 0.06 N overflowed work requests<br>
>> n_wrk_drop 0 0.00 N dropped work requests<br>
>> n_backend 1 . N backends<br>
>> n_expired 498 . N expired objects<br>
>> n_lru_nuked 2717782 . N LRU nuked objects<br>
>> n_lru_saved 0 . N LRU saved objects<br>
>> n_lru_moved 50761824 . N LRU moved objects<br>
>> n_deathrow 0 . N objects on deathrow<br>
>> losthdr 0 0.00 HTTP header overflows<br>
>> n_objsendfile 0 0.00 Objects sent with sendfile<br>
>> n_objwrite 43664646 63.16 Objects sent with write<br>
>> n_objoverflow 0 0.00 Objects overflowing workspace<br>
>> s_sess 13757122 19.90 Total Sessions<br>
>> s_req 62501369 90.41 Total Requests<br>
>> s_pipe 10 0.00 Total pipe<br>
>> s_pass 37897 0.05 Total pass<br>
>> s_fetch 3477236 5.03 Total fetch<br>
>> s_hdrbytes 19737092290 28551.19 Total header bytes<br>
>> s_bodybytes 681892000484 986407.98 Total body bytes<br>
>> sess_closed 544021 0.79 Session Closed<br>
>> sess_pipeline 164402 0.24 Session Pipeline<br>
>> sess_readahead 65588 0.09 Session Read Ahead<br>
>> sess_linger 0 0.00 Session Linger<br>
>> sess_herd 61809876 89.41 Session herd<br>
>> shm_records 2591397419 3748.65 SHM records<br>
>> shm_writes 170178899 246.18 SHM writes<br>
>> shm_flushes 65 0.00 SHM flushes due to overflow<br>
>> shm_cont 5567 0.01 SHM MTX contention<br>
>> shm_cycles 931 0.00 SHM cycles through buffer<br>
>> sm_nreq 0 0.00 allocator requests<br>
>> sm_nobj 0 . outstanding allocations<br>
>> sm_balloc 0 . bytes allocated<br>
>> sm_bfree 0 . bytes free<br>
>> sma_nreq 9708485 14.04 SMA allocator requests<br>
>> sma_nobj 1442487 . SMA outstanding allocations<br>
>> sma_nbytes 16106012162 . SMA outstanding bytes<br>
>> sma_balloc 81856959440 . SMA bytes allocated<br>
>> sma_bfree 65750947278 . SMA bytes free<br>
>> sms_nreq 15433 0.02 SMS allocator requests<br>
>> sms_nobj 0 . SMS outstanding allocations<br>
>> sms_nbytes 18446744073709546966 . SMS outstanding bytes<br>
>> sms_balloc 7172160 . SMS bytes allocated<br>
>> sms_bfree 7176345 . SMS bytes freed<br>
>> backend_req 3491587 5.05 Backend requests made<br>
>> n_vcl 1 0.00 N vcl total<br>
>> n_vcl_avail 1 0.00 N vcl available<br>
>> n_vcl_discard 0 0.00 N vcl discarded<br>
>> n_purge 1 . N total active purges<br>
>> n_purge_add 1 0.00 N new purges added<br>
>> n_purge_retire 0 0.00 N old purges deleted<br>
>> n_purge_obj_test 0 0.00 N objects tested<br>
>> n_purge_re_test 0 0.00 N regexps tested against<br>
>> n_purge_dups 0 0.00 N duplicate purges removed<br>
>> hcb_nolock 0 0.00 HCB Lookups without lock<br>
>> hcb_lock 0 0.00 HCB Lookups with lock<br>
>> hcb_insert 0 0.00 HCB Inserts<br>
>> esi_parse 0 0.00 Objects ESI parsed (unlock)<br>
>> esi_errors 0 0.00 ESI parse errors (unlock)<br>
>><br>
>><br>
>><br>
>> Sascha Kain<br>
>> IT / Administration<br>
>> eraffe media GmbH & Co. KG Marketing - Consulting - Software<br>
>> Schönfeldstr. 17 - 83022 Rosenheim<br>
>><br>
>> Fon: + 49 (0)8031 - 941 41 -46<br>
>> Fax: + 49 (0)8031 - 941 41 -59<br>
>> E-Mail: <a href="mailto:s.kain@eraffe-media.de">s.kain@eraffe-media.de</a><br>
>> <a href="http://www.eraffe-media.de" target="_blank">www.eraffe-media.de</a> - <a href="http://www.eraffe.de" target="_blank">www.eraffe.de</a><br>
>><br>
>> eraffe media GmbH & Co. KG, Sitz: Rosenheim,<br>
>> Registergericht: AG Traunstein HR A Nr. 9104,<br>
>> St-Nr. 156/157/58806, FA Rosenheim,<br>
>> USt.-ID: DE250117972<br>
>><br>
>> Persönlich haftende Gesellschafterin:<br>
>> eraffe media Verwaltungs-GmbH, Sitz: Rosenheim,<br>
>> Registergericht: AG Traunstein HR B 16956<br>
>> St-Nr. 156/116/90247, FA Rosenheim<br>
>><br>
>> Geschäftsführer: Maximilian Kuss, Oliver Döser<br>
>><br>
>> _______________________________________________<br>
>> varnish-misc mailing list<br>
>> <a href="mailto:varnish-misc@projects.linpro.no">varnish-misc@projects.linpro.no</a><br>
>> <a href="http://projects.linpro.no/mailman/listinfo/varnish-misc" target="_blank">http://projects.linpro.no/mailman/listinfo/varnish-misc</a><br>
>><br>
>><br>
<br>
<br>
--<br>
Sascha Kain<br>
IT / Administration<br>
eraffe media GmbH & Co. KG Marketing - Consulting - Software<br>
Schönfeldstr. 17 - 83022 Rosenheim<br>
<br>
Fon: + 49 (0)8031 - 941 41 -46<br>
Fax: + 49 (0)8031 - 941 41 -59<br>
E-Mail: <a href="mailto:s.kain@eraffe-media.de">s.kain@eraffe-media.de</a><br>
<a href="http://www.eraffe-media.de" target="_blank">www.eraffe-media.de</a> - <a href="http://www.eraffe.de" target="_blank">www.eraffe.de</a><br>
<br>
eraffe media GmbH & Co. KG, Sitz: Rosenheim,<br>
Registergericht: AG Traunstein HR A Nr. 9104,<br>
St-Nr. 156/157/58806, FA Rosenheim,<br>
USt.-ID: DE250117972<br>
<br>
Persönlich haftende Gesellschafterin:<br>
eraffe media Verwaltungs-GmbH, Sitz: Rosenheim,<br>
Registergericht: AG Traunstein HR B 16956<br>
St-Nr. 156/116/90247, FA Rosenheim<br>
<br>
Geschäftsführer: Maximilian Kuss, Oliver Döser<br>
<br>
_______________________________________________<br>
varnish-misc mailing list<br>
<a href="mailto:varnish-misc@projects.linpro.no">varnish-misc@projects.linpro.no</a><br>
<a href="http://projects.linpro.no/mailman/listinfo/varnish-misc" target="_blank">http://projects.linpro.no/mailman/listinfo/varnish-misc</a><br>
_______________________________________________<br>
varnish-misc mailing list<br>
<a href="mailto:varnish-misc@projects.linpro.no">varnish-misc@projects.linpro.no</a><br>
<a href="http://projects.linpro.no/mailman/listinfo/varnish-misc" target="_blank">http://projects.linpro.no/mailman/listinfo/varnish-misc</a><br>
</div></div></blockquote></div><br>