Displaying #traffic-server/2015-10-13.log:

Tue Oct 13 00:01:32 2015  jpeach:thanks sudheerv
Tue Oct 13 00:02:04 2015  sudheerv:np
Tue Oct 13 00:26:48 2015  _klk_:Joined the channel
Tue Oct 13 00:59:44 2015  Becoming_:Joined the channel
Tue Oct 13 01:09:22 2015  es:Joined the channel
Tue Oct 13 01:11:36 2015  zwoop:set-destination is for redirects, no ?
Tue Oct 13 01:52:25 2015  Becoming:Joined the channel
Tue Oct 13 02:50:04 2015  es:Joined the channel
Tue Oct 13 02:53:57 2015  _klk_:Joined the channel
Tue Oct 13 03:03:43 2015  psp:Joined the channel
Tue Oct 13 03:09:48 2015  _klk_:Joined the channel
Tue Oct 13 04:18:08 2015  _klk_:Joined the channel
Tue Oct 13 04:36:44 2015  higgins:Joined the channel
Tue Oct 13 05:00:19 2015  dynek:are you still around zwoop ?
Tue Oct 13 05:10:49 2015  gancho:Joined the channel
Tue Oct 13 06:23:01 2015  gancho_:Joined the channel
Tue Oct 13 06:26:25 2015  adedommelin:Joined the channel
Tue Oct 13 07:24:52 2015  Travis__:Joined the channel
Tue Oct 13 07:33:49 2015  Travis__:Left the channel
Tue Oct 13 07:58:30 2015  dynek:zwoop: can I mix READ_REQUEST_HDR_HOOK and CLIENT-HEADER:Cookie in the global config ? as soon as I add a second condition (be it HEADER, CLIENT-HEADER or HOST) the set-config I apply afterwards has no effect.
Tue Oct 13 08:09:14 2015  Lethalman:Joined the channel
Tue Oct 13 08:56:14 2015  dynek:zwoop: 50% victory, I finally had part of my conf working as I wanted it to behave: bypass proxy when given cookie is set
Tue Oct 13 09:30:12 2015  dynek:very close to complete success - is there a way for a request coming back from the origin/backend in READ_RESPONSE_HDR_HOOK to not cache a page when condition match ? trying to find by myself :-)
Tue Oct 13 09:30:16 2015  dynek:Uwin 6
Tue Oct 13 09:34:40 2015  dynek:https://docs.trafficserver.apache.org/en/6.0.x/admin/http-proxy-caching.en.html#disabling-http-object-caching
Tue Oct 13 09:43:33 2015  dynek:this deserves a little dance, I finally have something working !!
Tue Oct 13 09:43:47 2015  dynek:Thank you guys :-)
Tue Oct 13 10:00:53 2015  niq:Joined the channel
Tue Oct 13 10:00:53 2015  niq:Joined the channel
Tue Oct 13 10:56:30 2015  JSeymour:Joined the channel
Tue Oct 13 11:16:13 2015  mturk:Joined the channel
Tue Oct 13 11:16:13 2015  mturk:Joined the channel
Tue Oct 13 11:30:45 2015  bahumbug:Joined the channel
Tue Oct 13 13:07:47 2015  shinrich_:Joined the channel
Tue Oct 13 13:09:39 2015  shinrich1:Joined the channel
Tue Oct 13 13:12:58 2015  Randeep:Joined the channel
Tue Oct 13 13:20:50 2015  zwoop:dynek great
Tue Oct 13 13:21:39 2015  dynek:really :-)
Tue Oct 13 13:21:41 2015  dynek:Thanks for your help
Tue Oct 13 13:22:18 2015  Randeep:hi in my ats server (6.0.0) . nothing is getting cached. What can be the issue?
Tue Oct 13 13:22:23 2015  Randeep:I have enabled CONFIG proxy.config.http.cache.http INT 1
Tue Oct 13 13:22:51 2015  Randeep:traffic_logcat -f /opt/ats/var/log/trafficserver/squid.blog showing all misses
Tue Oct 13 13:23:26 2015  Randeep:I have enabled remap and added the rule as
Tue Oct 13 13:23:32 2015  Randeep:map http://live.domain.com/ http://172.16.100.7/ @plugin=/opt/ats/libexec/trafficserver/regex_remap.so @pparam=/tmp/regex.config @pparam=no-query-string
Tue Oct 13 13:24:59 2015  Randeep:my regex.config is as follows
Tue Oct 13 13:25:00 2015  Randeep:cat /tmp/regex.config
Tue Oct 13 13:25:00 2015  Randeep:^/(.*)$ http://172.16.100.7/$1
Tue Oct 13 13:26:05 2015  Randeep:Ihave also enabled reverse proxy
Tue Oct 13 13:27:46 2015  Randeep:I got the following error in my diags.log last day. But not sure it is related
Tue Oct 13 13:27:46 2015  Randeep:http://pastebin.com/K0wSS0cp
Tue Oct 13 13:32:27 2015  reveller:Joined the channel
Tue Oct 13 13:34:48 2015  Randeep:size of cache.db is not increasing. Is there any other logs which can give me some idea why it is not caching
Tue Oct 13 13:44:57 2015  niq:Joined the channel
Tue Oct 13 13:45:36 2015  esproul:Joined the channel
Tue Oct 13 13:50:41 2015  Randeep:it was a permission issue. Solved. Thanks.
Tue Oct 13 14:00:47 2015  davet_:Joined the channel
Tue Oct 13 14:24:17 2015  sudheerv:zwoop: set-redirect is for redirects, i think?
Tue Oct 13 14:24:51 2015  sudheerv:set-destination will allow you to sort of do what remap does
Tue Oct 13 14:24:57 2015  sudheerv:?
Tue Oct 13 14:29:06 2015  zwoop:ah, ok
Tue Oct 13 14:29:57 2015  zwoop:Randeep note that we strongly recommend using raw disk partitions and not on-filesystem cache
Tue Oct 13 14:34:52 2015  Randeep:Zwoop: Yes. I'm testing. When deploying in production we will use raw
Tue Oct 13 14:35:00 2015  zwoop:cool
Tue Oct 13 14:35:04 2015  zwoop:just making sure :)
Tue Oct 13 14:35:26 2015  Randeep:thanks
Tue Oct 13 14:43:35 2015  Randeep:We are using dash streams. its manifest file gets updated every 10s. So someone here advised me to set it 6s in ats. Where I can do that?
Tue Oct 13 15:01:56 2015  zwoop:IMO, you should enforce this on the origin server
Tue Oct 13 15:02:03 2015  zwoop:have them set Cache-Control: max-age=6
Tue Oct 13 15:02:31 2015  zwoop:if you can't make them do it, I would use header_rewrite plugin to rewrite this header when you get the response from origin (in a read-response-header hook)
Tue Oct 13 15:02:33 2015  Amaryllis:although if your origin servers are broken, you can fake this with header_rewrite... but i would prefer to press for the application to be fixed
Tue Oct 13 15:02:44 2015  zwoop:+1
Tue Oct 13 15:06:00 2015  sudheerv:Randeep: agree with zwoop and Amaryllis, but, I'm a bit confused with your question :)
Tue Oct 13 15:06:14 2015  sudheerv:if your manifest gets updated every 10 sec, why set the max-age to 6?
Tue Oct 13 15:06:17 2015  sudheerv:why not 10 or 11?
Tue Oct 13 15:06:32 2015  Amaryllis:well, ideally, it would send max-age=<10 minus current age>
Tue Oct 13 15:06:37 2015  sudheerv:yes
Tue Oct 13 15:06:51 2015  Amaryllis:otherwise, if you request it 1 second before expiry, it would still be cached for 10 seconds
Tue Oct 13 15:06:52 2015  sudheerv:in the simple case, assuming current-age is "0", i'd set it to 10
Tue Oct 13 15:06:58 2015  sudheerv:exactly
Tue Oct 13 15:07:04 2015  sudheerv:setting it to 6 does the same as well
Tue Oct 13 15:07:11 2015  sudheerv:you'd need two revalidates to get a new manifest
Tue Oct 13 15:07:13 2015  zwoop:sudheerv jpeach it's a bummer someone eliminated the optimization for just a . from regex remap (it used to avoid calling PCRE for a regex like ., with the intent that a "match anything" rule is common)
Tue Oct 13 15:07:58 2015  sudheerv:oh..how did that happen :)
Tue Oct 13 15:08:06 2015  sudheerv:git history should tell ?
Tue Oct 13 15:09:25 2015  Amaryllis:actually, if ATS sees Cache-Control: max-age=60, along with Age: 30, will it only cache for 30s?
Tue Oct 13 15:10:47 2015  sudheerv:Amaryllis: https://github.com/apache/trafficserver/blob/master/proxy/http/HttpTransact.cc#L7134
Tue Oct 13 15:10:48 2015  sudheerv::)
Tue Oct 13 15:11:15 2015  sudheerv:i always end up having to look through the code to answer specific questions like what you asked :-/
Tue Oct 13 15:12:01 2015  sudheerv:but, seems like, there's no other *factor* involved, the answer to your question is - yes (although, i haven't checked the code right now)
Tue Oct 13 15:12:50 2015  jpeach:TS-1475
Tue Oct 13 15:12:58 2015  jpeach:10df89f36b15811f4ecf2021985655668dbdfc00
Tue Oct 13 15:13:11 2015  jpeach:zwoop: are you measuring a difference?
Tue Oct 13 15:15:10 2015  gancho:Joined the channel
Tue Oct 13 15:16:30 2015  reveller:Joined the channel
Tue Oct 13 15:19:22 2015  Randeeppr:Joined the channel
Tue Oct 13 15:23:55 2015  Randeep:Sudheerv: Someone in this IRC told me to do so. If the manifest is getting updated in 10s its better to use cache control with 6s. From his experience
Tue Oct 13 15:24:14 2015  sudheerv:hmm…
Tue Oct 13 15:24:41 2015  sudheerv:do you have a 4 sec RTT between your origin and edge?
Tue Oct 13 15:24:53 2015  sudheerv:(that seems quite high)
Tue Oct 13 15:25:24 2015  sudheerv:in any case, my guess is that you may end up having to tune this setting up or down a few times
Tue Oct 13 15:25:45 2015  sudheerv:likely up (down would be very weird) :)
Tue Oct 13 15:26:40 2015  Randeep:ya. I will check my origin servers. They are live video packagers from envivio and elemental. Will check with that
Tue Oct 13 15:28:39 2015  Randeep:It would be great if someone can check the mail I sent a few days before about our caching architecture with parent and child nodes :)
Tue Oct 13 15:36:27 2015  Randeep:right now my http header from the origin looks like this
Tue Oct 13 15:36:28 2015  Randeep:Cache-Control: max-age=7, must-revalidate
Tue Oct 13 15:37:41 2015  blattj:Joined the channel
Tue Oct 13 15:39:30 2015  blattj1:Joined the channel
Tue Oct 13 15:40:00 2015  Randeep:I'll change it to Cache-Control: max-age=10 I'll remove must-revalidate also
Tue Oct 13 15:57:32 2015  Becoming_:Joined the channel
Tue Oct 13 16:03:48 2015  Randeep:is there any information available for tspush or push. can we push the dash content to the ats from the origin server without a client request?
Tue Oct 13 16:04:16 2015  sudheerv:Randeep: you can write a plugin to send a PUSH
Tue Oct 13 16:10:37 2015  zwoop:jpeach no, I haven't benchmarked it :)
Tue Oct 13 16:12:57 2015  psp:Joined the channel
Tue Oct 13 16:25:24 2015  _klk_:Joined the channel
Tue Oct 13 16:31:55 2015  shinrich2:Joined the channel
Tue Oct 13 16:35:23 2015  Randeep:by default the proxy.config.http.background_fill_active_timeout is set to 1
Tue Oct 13 16:35:43 2015  Randeep:should I make it 0 to make the read while write to work?
Tue Oct 13 16:38:42 2015  Randeep:but in documentation by default it is 0. :| But does it matter?
Tue Oct 13 16:47:31 2015  gancho:Joined the channel
Tue Oct 13 17:14:26 2015  zwoop:Randeep it's default to 0
Tue Oct 13 17:14:32 2015  zwoop:where do you see it default to 1 ?
Tue Oct 13 17:14:34 2015  Randeep:Yes
Tue Oct 13 17:14:46 2015  Randeep:I saw. Sorry I was my mistake.
Tue Oct 13 17:14:49 2015  Randeep:it*
Tue Oct 13 17:14:57 2015  zwoop:yeah, you should leave it at 0 almost always
Tue Oct 13 17:15:17 2015  Randeep:Yes. I read the documentation.
Tue Oct 13 17:22:57 2015  bahumbug:Joined the channel
Tue Oct 13 17:22:57 2015  bahumbug:Joined the channel
Tue Oct 13 17:29:49 2015  Becoming__:Joined the channel
Tue Oct 13 17:43:01 2015  es:Joined the channel
Tue Oct 13 18:27:12 2015  jpeach:https://docs.google.com/document/d/1I_dBXzDTerTeIFMRkiEcmi5HyaHn9rTqZGCNllS2pD0/edit#heading=h.x6qkhz70a0rd
Tue Oct 13 18:27:57 2015  jpeach:I put the proposals in a doc for tomorrow's discussion, request edit access and I'll grant it
Tue Oct 13 18:28:01 2015  jpeach:zwoop ^^^
Tue Oct 13 18:28:23 2015  zwoop:cool, thanks
Tue Oct 13 18:28:43 2015  zwoop:I think we'll have to cut some proposals, which is a first :)
Tue Oct 13 18:28:54 2015  jpeach:it is public read-only; I assume that's ok
Tue Oct 13 18:29:11 2015  jpeach:there's a couple doubled up I think, eg dave and susan on TLS
Tue Oct 13 18:30:30 2015  sudheerv:zwoop: pls feel free to cut mine
Tue Oct 13 18:30:39 2015  sudheerv:(preferrably, one of mine :) )
Tue Oct 13 18:31:01 2015  sudheerv:i had two i think, i'd be happy to lose one or both, if that accomodates more new ones
Tue Oct 13 18:31:40 2015  jpeach:where people sent in 2 proposals in 1 email, I added 2 entries
Tue Oct 13 18:32:35 2015  sudheerv:yeah, that's the intent too, no?
Tue Oct 13 18:34:35 2015  jpeach:I guess :)
Tue Oct 13 21:07:56 2015  es:Joined the channel
Tue Oct 13 21:47:27 2015  niq:Joined the channel
Tue Oct 13 21:56:27 2015  es:Joined the channel
Tue Oct 13 22:02:11 2015  gancho_:Joined the channel
Tue Oct 13 22:07:46 2015  gancho:Joined the channel
Tue Oct 13 22:11:07 2015  Becoming:Joined the channel
Tue Oct 13 22:13:31 2015  es:Joined the channel
Tue Oct 13 22:19:21 2015  psp:Joined the channel
Tue Oct 13 22:58:06 2015  Becoming:Joined the channel
Tue Oct 13 23:57:55 2015  gancho:Joined the channel

Comments