<font size=2 face="sans-serif">Hi</font>
<br>
<br><font size=2 face="sans-serif"> Continuing on with my last problem
of the varnish cache returning a 302 for certain objects without contacting
the backend I am now getting 500 errors from the cache. Object is available
from the backend so definitely not a 500 from the backend and logs + tcpdump
show it trying to deliver from cache only. Oddly enough its on mainly gif
and png images that I notice anyhow, and it happened to multiple caches
within 1 hour of each other on the same objects. A restart of varnish stopped
the 500 errors.</font>
<br>
<br><font size=2 face="sans-serif">Previously to attempt to resolve my
302 issue I lowered the amount of RAM malloc'ed to 5 gig. Varnish now uses
up 73% of the system's RAM. I have no swap and there was at least a gig
free on all caches before they started serving 500's. </font>
<br>
<br><font size=2 face="sans-serif">Here is a copy of the varnishlog. </font>
<br>
<br><font size=2 face="Courier New">16 ReqStart c 10.130.XX.XX
3259 1429474950</font>
<br><font size=2 face="Courier New"> 16 RxRequest c
GET</font>
<br><font size=2 face="Courier New"> 16 RxURL
c /static/furn/portal/common/pixel.gif</font>
<br><font size=2 face="Courier New"> 16 RxProtocol c
HTTP/1.1</font>
<br><font size=2 face="Courier New"> 16 RxHeader
c host: </font><a href=www.example.com><font size=2 face="Courier New">www.example.com</font></a>
<br><font size=2 face="Courier New"> 16 RxHeader
c Accept: text/html, application/xhtml+xml, */*</font>
<br><font size=2 face="Courier New"> 16 RxHeader
c Accept-Encoding: gzip, deflate</font>
<br><font size=2 face="Courier New"> 16 RxHeader
c Accept-Language: en-US</font>
<br><font size=2 face="Courier New"> 16 RxHeader
c Cache-Control: max-age=259200</font>
<br><font size=2 face="Courier New"> 16 RxHeader
c Cookie: portalLocaleCookie=en_AU; WT_FPC=id=XX.XX.XX.XX-249718560.30138265:lv=1336488750511:ss=1336488730455;
PDC4_COOKIE=Vk6CPp9WGbfxrZMnGxQlhFfWW0cJD0NGB4mNFcvQJ6nFwmRD1kxS!-925861289</font>
<br><font size=2 face="Courier New"> 16 RxHeader
c User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64;
Trident/5.0)</font>
<br><font size=2 face="Courier New"> 16 RxHeader
c Via: 1.1 xx.xx.xx.xx:3128 (squid/2.6.STABLE21)</font>
<br><font size=2 face="Courier New"> 16 RxHeader
c Xroxy-Connection: keep-alive</font>
<br><font size=2 face="Courier New"> 16 RxHeader
c Z-Forwarded-For: AAAAAAAAAAAA</font>
<br><font size=2 face="Courier New"> 16 RxHeader
c X-Forwarded-For: XX.XX.XX.XX</font>
<br><font size=2 face="Courier New"> 16 RxHeader
c X-Forwarded-Port: 80</font>
<br><font size=2 face="Courier New"> 16 RxHeader
c X-Forwarded-Proto: http</font>
<br><font size=2 face="Courier New"> 16 RxHeader
c Connection: keep-alive</font>
<br><font size=2 face="Courier New"> 16 VCL_call
c recv lookup</font>
<br><font size=2 face="Courier New"> 16 VCL_call
c hash hash</font>
<br><font size=2 face="Courier New"> 16 Hit
c 1429284571</font>
<br><font size=2 face="Courier New"> 16 VCL_call
c hit deliver</font>
<br><font size=2 face="Courier New"> 16 VCL_call
c deliver deliver</font>
<br><font size=2 face="Courier New"> 16 TxProtocol c
HTTP/1.1</font>
<br><font size=2 face="Courier New"> 16 TxStatus
c 500</font>
<br><font size=2 face="Courier New"> 16 TxResponse c
Internal Server Error</font>
<br><font size=2 face="Courier New"> 16 TxHeader
c cache-control: max-age=900</font>
<br><font size=2 face="Courier New"> 16 TxHeader
c Content-Length: 0</font>
<br><font size=2 face="Courier New"> 16 TxHeader
c Accept-Ranges: bytes</font>
<br><font size=2 face="Courier New"> 16 TxHeader
c Date: Wed, 09 May 2012 00:54:41 GMT</font>
<br><font size=2 face="Courier New"> 16 TxHeader
c X-Varnish: 1429474950 1429284571</font>
<br><font size=2 face="Courier New"> 16 TxHeader
c Age: 33236</font>
<br><font size=2 face="Courier New"> 16 TxHeader
c Via: 1.1 varnish</font>
<br><font size=2 face="Courier New"> 16 TxHeader
c Connection: keep-alive</font>
<br><font size=2 face="Courier New"> 16 Length
c 0</font>
<br><font size=2 face="Courier New"> 16 ReqEnd
c 1429474950 1336524881.724712133 </font><font size=2 face="sans-serif"> </font>
<br>
<br><font size=2 face="sans-serif">How I understand this is my server does
the recv call, determines its a lookup and then hashes as per my vcl, which
is req,url and then server.ip and then it does hit which is just to return
deliver. Which should deliver the object from cache, instead it gives me
a 500. </font>
<br>
<br><font size=2 face="sans-serif">I've decided to turn off range_support
as I understand this is considered experimental ? I'd like to avoid trial
and error of my configuration if possible. I'm just guessing at current
really. Any more knowledgeable ideas are welcomed. However I'd like to
not have to go to disk for the cache, I don't see why malloc should not
be working as intended if this is my issue. </font><font size=2 color=blue face="sans-serif"><u><br>
</u></font><a href></a>
<p><font size=2 face="sans-serif"><b><br>
Sony Computer Entertainment Australia Pty Ltd</b><br>
Level 1, 63-73 Ann Street Surry Hills NSW 2010<br>
P.O. Box 5023 Darlinghurst NSW 2010<br>
ph: +61 (0)2 9324 9500 fax: +61 (0)2 9324 9558</font>
<p><a href=http://au.playstation.com/><font size=2 color=blue face="sans-serif"><u>http://au.playstation.com</u></font></a><font size=2 color=blue face="sans-serif"><u><br>
</u></font><a href=www.facebook.com/PlaystationAU><font size=2 color=blue face="sans-serif"><u>http://www.facebook.com/PlayStationAU</u></font></a>
<p><font size=2 face="sans-serif"><br>
<b><br>
THE WORLD IS IN PLAY.</b><br>
PlayStationŽVita has arrived.<br>
</font><a href=http://www.psvita.com/><font size=2 face="sans-serif">http://www.psvita.com</font></a><font size=2 face="sans-serif">
<br>
<br>
</font><font size=2 color=blue face="sans-serif"><u><br>
</u></font><a href=http://au.playstation.com/psvita><img src=http://au.playstation.com/media/2deMCPFh/psvita_corp_sig_au.jpg width=414 height=152 alt=PSMOVE></a><font size=2 face="Arial"><br>
<br>
**********************************************************************<br>
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify postmaster@scee.net<br>
This footnote also confirms that this email message has been checked for
all known viruses.<br>
Sony Computer Entertainment Australia Pty. Limited<br>
Registered Office: Level 1, 63-73 Ann Street, Surry Hills, NSW 2010 Australia<br>
Registered in Australia: 077 583 183<br>
**********************************************************************<br>
</font><font size=2 color=#008000 face="Arial"><b><i><br>
Please consider the environment before printing this e-mail</i></b></font>