What are the steps to problem solve when all I can get are 503s?

Jorge Díaz jdzstz at gmail.com
Fri Jul 9 09:58:20 CEST 2010


¿There is communication between Varnish host and 87.238.47.204 machine??

Try first making " telnet 87.238.47.204 80 " in order testing there is no
firewall or a rule configured in webserver.

If comunication is fine, the problem must be in VCL configuration. Try
executing varnishlog while you are testing and look for errors in output.

In Solaris is also important to run Varnish with proper parameter that are
listen in:

   - http://letsgetdugg.com/2009/12/04/varnish-on-solaris/


I had a lot of comunication problems without parameter:

      * -p connect_timeout=0s         # Important bug work around for Solaris*





2010/7/9 Bedis 9 <bedis9 at gmail.com>

> Hey,
>
> Can you share your VCL conf?
>
> cheers
>
> On Fri, Jul 9, 2010 at 7:08 AM, Jacques <whshub at gmail.com> wrote:
>
>> I am trying to use Varnish on OpenSolaris.  Due the help of others, I have
>> versions compiling and not crashing that are based on three different
>> versions of Varnish.
>>
>> I'm using 4516, 2.1.2 with the 649 patch, and trunk.   I've also tried
>> compiling with gcc 4.3.3 in addition to the OpenSolaris standard of 3.4.3.
>>  That changed nothing.
>>
>> All compiled copies of varnish seem to start just fine.  I can use
>> varnishlog and see my requests arriving at Varnish.
>>
>> However, responses are always 503 with " FetchError: no backend
>> connection".  Using tcpdump, I see no calls to the backend server from
>> Varnish, ever.
>>
>> For simplicity, I'm using the basic start of:
>>
>> varnishd -a :80 -b 87.238.47.204:80
>>
>> What are right steps to determine what is wrong?  I see nothing in
>> syslogs.  Varnish doesn't complain.  Using all the same steps on ubuntu, I
>> get exactly what I expect, a cached version of the backend server.
>>
>> Any pointers about how I should figure out what is failing would be
>> helpful.
>>
>> Thanks,
>> Jacques
>>
>> I've also noticed that the cache is starting at 500GB.  Changing the cache
>> size to 512MB didn't have any impact on the 503s.
>>
>> _______________________________________________
>> varnish-misc mailing list
>> varnish-misc at varnish-cache.org
>> http://lists.varnish-cache.org/mailman/listinfo/varnish-misc
>>
>
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> http://lists.varnish-cache.org/mailman/listinfo/varnish-misc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20100709/4f4e3197/attachment-0003.html>


More information about the varnish-misc mailing list