Server Not Responding

Tom Coady tom.coady at gmail.com
Mon Dec 13 12:02:25 CET 2010


Thanks Traian!

$ sudo varnishd -f /etc/varnish/default.vcl -s malloc,1G -T 127.0.0.1:2000-a
0.0.0.0:8080
Using old SHMFILE
$ more /etc/varnish/default.vcl
backend default {
set backend.host = "127.0.0.1";
set backend.port = "8080";
}
$ netstat
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State

tcp        0    256 ip-10-48-59-119.eu-:ssh 78-105-154-24.zon:54973
ESTABLISHED
tcp        0      0 ip-10-48-59-119.e:49212 subtshirt.com:www
TIME_WAIT
tcp        0      0 ip-10-48-59-119.e:49213 subtshirt.com:www
TIME_WAIT
tcp        0      0 ip-10-48-59-119.e:49214 subtshirt.com:www
TIME_WAIT
tcp        0      0 ip-10-48-59-119.e:49215 subtshirt.com:www
TIME_WAIT
tcp        0      0 ip-10-48-59-119.e:49208 subtshirt.com:www
TIME_WAIT
tcp        0      0 ip-10-48-59-119.e:49209 subtshirt.com:www
TIME_WAIT
tcp        0      0 ip-10-48-59-119.e:49210 subtshirt.com:www
TIME_WAIT
tcp        0      0 ip-10-48-59-119.e:49211 subtshirt.com:www
TIME_WAIT
tcp        0      0 ip-10-48-59-119.e:49204 subtshirt.com:www
TIME_WAIT
tcp        0      0 ip-10-48-59-119.e:49205 subtshirt.com:www
TIME_WAIT
tcp        0      0 ip-10-48-59-119.e:49206 subtshirt.com:www
TIME_WAIT
tcp        0      0 ip-10-48-59-119.e:49207 subtshirt.com:www
TIME_WAIT
tcp        0      0 ip-10-48-59-119.e:49200 subtshirt.com:www
TIME_WAIT
tcp        0      0 ip-10-48-59-119.e:49201 subtshirt.com:www
TIME_WAIT
tcp        0      0 ip-10-48-59-119.e:49202 subtshirt.com:www
TIME_WAIT
tcp        0      0 ip-10-48-59-119.e:49203 subtshirt.com:www
TIME_WAIT
tcp        0     32 ip-10-48-59-119.eu-:ssh customer-static-2:54665
ESTABLISHED
tcp6       0      0 ip-10-48-59-119.eu-:www t332.tiggee.net:60435
TIME_WAIT
Active UNIX domain sockets (w/o servers)
Proto RefCnt Flags       Type       State         I-Node   Path
unix  2      [ ]         DGRAM                    657
 @/org/kernel/udev/udevd
unix  4      [ ]         DGRAM                    846770   /dev/log
unix  3      [ ]         STREAM     CONNECTED     913898
unix  3      [ ]         STREAM     CONNECTED     913897
unix  2      [ ]         DGRAM                    913067
unix  3      [ ]         STREAM     CONNECTED     880234
unix  3      [ ]         STREAM     CONNECTED     880233
unix  2      [ ]         DGRAM                    880232
unix  3      [ ]         STREAM     CONNECTED     678682
unix  3      [ ]         STREAM     CONNECTED     678681
unix  3      [ ]         STREAM     CONNECTED     678426
unix  3      [ ]         STREAM     CONNECTED     678425
unix  3      [ ]         STREAM     CONNECTED     678424
unix  3      [ ]         STREAM     CONNECTED     678423
unix  2      [ ]         DGRAM                    2553

On Mon, Dec 13, 2010 at 10:54, Traian Bratucu
<traian.bratucu at eea.europa.eu>wrote:

> Hi Tom,
>
>
>
> I think your varnish is on port 6081. Do a nestat or something to see.
>
> I don’t know exactly where the default startup conf is on debian, maybe
> /etc/default/varnish? You can check it out to change the port.
>
>
>
> Traian
>
>
>
> *From:* varnish-misc-bounces at varnish-cache.org [mailto:
> varnish-misc-bounces at varnish-cache.org] *On Behalf Of *Tom Coady
> *Sent:* Monday, December 13, 2010 11:48 AM
> *To:* varnish-misc at varnish-cache.org
> *Subject:* Server Not Responding
>
>
>
> Hello
>
> I installed varnish using debian apt-get, checked etc/varnish/default.vcl,
> killed and restarted varnish, but I get no response on ports 8080 and 2000.
>
> I've been through the troubleshooting without finding anything; varnishlog
> returns
>
>     0 CLI            Rd ping
>
>     0 CLI            Wr 0 200 PONG 1292235717
>
> but nothing when loading pages on 8080
>
>
>
> I think I only have 760Mb memory, so wonder if using the default 1G is
> what's preventing it from working?
>
> Nothing much in var/log/messages or syslog.
>
> Tom
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20101213/b61db5c2/attachment-0003.html>


More information about the varnish-misc mailing list