[jira] [Commented] (TS-2138) Using linux native-AIO, restarting ATS causes complete cache data loss

2013-12-01 Thread Scott Harris (JIRA)

[ 
https://issues.apache.org/jira/browse/TS-2138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13836129#comment-13836129
 ] 

Scott Harris commented on TS-2138:
--

Have just tested and bug is not fixed.

Compiled with  --enable-linux-native-aio after restart 
proxy.process.cache.bytes_used drops down to 0 and grows as cache is used.

 Using linux native-AIO, restarting ATS causes complete cache data loss
 --

 Key: TS-2138
 URL: https://issues.apache.org/jira/browse/TS-2138
 Project: Traffic Server
  Issue Type: Bug
  Components: Cache
Reporter: bettydramit
Assignee: weijin
 Fix For: 4.1.1

 Attachments: TS-2138.wj.diff, ts-3.3.5-40.spec


 ENV: centos 6 x86_64 gitmaster and 
 http://people.apache.org/~zwoop/rel-candidates/trafficserver-3.3.5-dev.tar.bz2
 ./configure --enable-layout=Gentoo  --libdir=%{_libdir}/trafficserver 
 --enable-linux-native-aio --enable-reclaimable-freelist
  
 when restart ats ,my all hit data will be lost.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (TS-2138) Using linux native-AIO, restarting ATS causes complete cache data loss

2013-12-01 Thread Scott Harris (JIRA)

[ 
https://issues.apache.org/jira/browse/TS-2138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13836134#comment-13836134
 ] 

Scott Harris commented on TS-2138:
--

Tested also with 4.1.1 with aio not enabed and after restart 
proxy.process.cache.bytes_used returns to same value as before restart (ie 
proxy.process.cache.bytes_used=190189568). So the --enable-linux-native-aio is 
still causing cache data loss.

 Using linux native-AIO, restarting ATS causes complete cache data loss
 --

 Key: TS-2138
 URL: https://issues.apache.org/jira/browse/TS-2138
 Project: Traffic Server
  Issue Type: Bug
  Components: Cache
Reporter: bettydramit
Assignee: weijin
 Fix For: 4.1.1

 Attachments: TS-2138.wj.diff, ts-3.3.5-40.spec


 ENV: centos 6 x86_64 gitmaster and 
 http://people.apache.org/~zwoop/rel-candidates/trafficserver-3.3.5-dev.tar.bz2
 ./configure --enable-layout=Gentoo  --libdir=%{_libdir}/trafficserver 
 --enable-linux-native-aio --enable-reclaimable-freelist
  
 when restart ats ,my all hit data will be lost.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Created] (TS-2411) TS Http byte get functions does not return the true number, for server response body byte get

2013-12-01 Thread Roee Gil (JIRA)
Roee Gil created TS-2411:


 Summary: TS Http byte get functions does not return the true 
number, for server response body byte get
 Key: TS-2411
 URL: https://issues.apache.org/jira/browse/TS-2411
 Project: Traffic Server
  Issue Type: Bug
  Components: HTTP
Reporter: Roee Gil


When using the example of null-transform, adding TS_EVENT_HTTP_TXN_CLOSE to 
hooks, and counting byte number, I get:

// server - proxy
TSHttpTxnServerRespHdrBytesGet(txnDB);
TSHttpTxnServerRespBodyBytesGet(txnDB);

// proxy - client
TSHttpTxnClientRespHdrBytesGet(txnDB);
TSHttpTxnClientRespBodyBytesGet(txnDB);

1. server side response body = 0
2. client side response body = (payload size)

when inspecting this issue, it seems that VConnection is downloading the 
content but, this does not count in server response byte get



--
This message was sent by Atlassian JIRA
(v6.1#6144)