On Wed, Oct 31, 2012 at 10:05:52PM +0100, Jorge NerĂn wrote:
Well, currently I use an indirect method, the ss utility a quick'n'dirty
perl one liner:
ss -i -t 'sport = :80' |perl -e 'while () { if (m/send (.*?)([M|K|]bps)
/){ ($s,$u)=($1,$2); $s=$s*100 if (Mbps
eq $u);
Simon Lyall:
I have just upgraded a couple of my caches from version 2.1 to 3.0.3
( using centos5 RPMs).
I notice that I'm getting a lot of crashes (about twice an hour on a
lightly loaded machine) when previously I had none.
[..]
Nov 7 20:21:13 harvest varnishd[3290]: Child (5139) died
Thanks a lot Paul. Before I read this , I tried the following :
hash_data(regsub(req.http.Cookie,^.*?mycookie=([^;]*);*.*$ , \1));
Your regex differs than mine. One negligible difference and one that
I'll focus on. The negligible difference being the anchors ^ and $.
They aren't necessary.
==
Your regex differs than mine. One negligible difference and one that I'll
focus on. The negligible difference being the anchors ^ and $.
They aren't necessary.
For reference, my regex