master process dies
Janis Putrams
janis.putrams at delfi.lv
Wed Aug 8 16:56:55 CEST 2007
Hi!
I was using varnish-1.0.4 on a high load site (1.5k req/sec) for some time but
i experienced frequent slave process restarts and master process died couple
times a week so I gave version 1.1 a shoot.
Unfortunately it is not able to stand a minute for me.
I start it with prams
varnishd \
-f /etc/varnishd/varnishd.conf \
-T 127.0.0.1:81 \
-P /var/run/varnishd.pid \
-s file,/var/spool/varnishd/varnishd_storage.bin,80% \
-w1,1000,10
ulimit should not be problem. I was hitting 1024 open file limit before but I
rised to 4k and now it should be ok.
09:52:48 root[pts/0]@slow install/varnish-1.0.4# ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
pending signals (-i) 71679
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) unlimited
open files (-n) 4096
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) unlimited
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
Please let me know if I am doing anything wrong or if you need more
information.
Thanks in advance.
Regards,
Janis Putrams
591 TxHeader c Cache-Control: max-age=604800
591 TxHeader c Expires: Wed, 15 Aug 2007 14:39:08 GMT
591 TxHeader c Last-Modified: Tue, 10 Jan 2006 14:39:11 GMT
591 TxHeader c ETag: "306822-41c-43c3c70f"
591 TxHeader c Content-Type: image/gif
591 TxHeader c Content-Length: 1052
591 TxHeader c X-Varnish: 1925192785 1925189572
591 TxHeader c Age: 7
591 TxHeader c Via: 1.1 varnish
591 ReqEnd c 1925192785 1186555449.238996983 1186555449.239022017
0.033437967 0.000010967 0.000014067
0 StatAddr 87.110.39.195 0 6 7 76 0 0 0 21657 266384
613 Debug c "/images/pix/file18649684_P1030658_m.jpg#g.delfi.lv#"
1042 SessionOpen c 212.59.5.226 13387
1042 Debug c "/images/pix/file18666723_stena_m.jpg#g.delfi.lv#"
1042 ReqStart c 212.59.5.226 13387 1925192787
1042 RxRequest c GET
1042 RxURL c /images/pix/file18666723_stena_m.jpg
1042 RxProtocol c HTTP/1.0
1042 RxHeader c Accept: */*
1042 RxHeader c Referer: http://rus.delfi.lv/
1042 RxHeader c Accept-Language: lt
1042 RxHeader c Accept-Encoding: gzip, deflate
1042 RxHeader c User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT
5.1; SV1; .NET CLR 1.1.4322; InfoPath.1)
1042 RxHeader c Host: g.delfi.lv
1042 RxHeader c Cookie: dcid=38689710,1,1216734222; spl1=t=1; spl2=t=1;
FLY=t=1
1042 RxHeader c Via: 1.1 proxy.parex.lt:8080 (squid/2.6.STABLE13)
1042 RxHeader c Cache-Control: max-age=259200
1042 RxHeader c Connection: keep-alive
1042 VCL_call c recv
1042 VCL_return c lookup
1042 VCL_call c hash
1042 VCL_return c hash
1042 Hit c 1925190775
1042 VCL_call c hit
1042 VCL_return c deliver
1042 Length c 4044
1042 VCL_call c deliver
1042 VCL_return c deliver
1042 TxProtocol c HTTP/1.1
1042 TxStatus c 200
1042 TxResponse c OK
1042 TxHeader c Date: Wed, 08 Aug 2007 14:39:12 GMT
1042 TxHeader c Server: Apache/1.3.31 (Unix)
1042 TxHeader c Cache-Control: max-age=604800
1042 TxHeader c Expires: Wed, 15 Aug 2007 14:39:12 GMT
1042 TxHeader c Last-Modified: Wed, 08 Aug 2007 12:43:56 GMT
1042 TxHeader c ETag: "35345d-fcc-46b9ba8c"
1042 TxHeader c Content-Type: image/jpeg
1042 TxHeader c Content-Length: 4044
1042 TxHeader c X-Varnish: 1925192787 1925190775
1042 TxHeader c Age: 3
1042 TxHeader c Via: 1.1 varnish
1042 ReqEnd c 1925192787 1186555449.252010107 1186555449.252043962
0.002454996 0.000012875 0.000020981
0 StatAddr 212.59.5.226 0 2 2 2 0 0 0 561 9489
1057 SessionOpen c 87.110.110.235 2120
764 Debug c "/misc/spl.php?a=7#www.delfi.lv#"
764 ReqStart c 84.237.141.183 60187 1925192788
26490 (null) ip, deflate
12084 (null) .0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR
1.1.4322)
26725 (null)
14388 (null) 4; client_ID_2=3606747; session_ID_2=13156510;
29555 (null) ion_expires_2=20070202115637;
ASP.NET_SessionId=1k2qfa45slj2zj45c40z3vyd
25956 (null) -Since: Wed, 08 Aug 2007 14:27:26 GMT
21037 (null) 1lapa.gif#g.delfi.lv#
18772 ExpKill E_Vodafone_HR-1lapa.gif
28730 (null) //www.delfi.lv/
12602 ObjStatus 02:10 GMT; length=1689
25455 ObjStatus mpatible; MSIE 6.0; Windows NT 5.1; SV1;
17748 ExpPick CLR 1.1.4322)
14643 (null) 63813,1,1203497503; __utma=113760658.1720421453.11
13873 Terminate 505.1177701718.1177704073.306; __utmz=113760658.117197791
14126 ExpPick 2.utmccn=(organic)|utmcsr=google|utmctr=lezbes|ut
25661 (null) organic; FLY=t=4; spl1=t=1
27753 (null) ver
11825 ObjStatus varnish
14880 (null) Wed, 20 Jun 2007 11:01:23 GMT
12336 WorkThread 10967 0.000028133
8246 ObjStatus 273 0
More information about the varnish-misc
mailing list