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

bettydramit commented on TS-2138:
---------------------------------

yes,Cache lost when ats restart

running ats cache status:
[root@utn-cz-1-2-c17a1 ~]# echo "show:cache-stats"| traffic_shell               
              
Successfully Initialized MgmtAPI in /var/run/trafficserver 

Bytes Used --- 26 GB
Cache Size --- 1858 GB
--RAM Cache--
Total Bytes -- 5574742016
Bytes Used --- 5574254592
Hits --------- 647336
Misses ------- 274911
--Lookups--
In Progress -- 0
Hits --------- 0
Misses ------- 0
--Reads--
In Progress -- 0
Hits --------- 517202
Misses ------- 2082431
--Writes--
In Progress -- 2
Hits --------- 549672
Misses ------- 125842
--Updates--
In Progress -- 0
Hits --------- 128178
Misses ------- 35
--Removes--
In Progress -- 0
Hits --------- 0
Misses ------- 63

when hard restart and see diags.log cache enabled ,the Cache status:


Successfully Initialized MgmtAPI in /var/run/trafficserver 

Bytes Used --- 0 GB
Cache Size --- 1858 GB
--RAM Cache--
Total Bytes -- 5574742016
Bytes Used --- 4321280
Hits --------- 35
Misses ------- 130
--Lookups--
In Progress -- 0
Hits --------- 0
Misses ------- 0
--Reads--
In Progress -- 2
Hits --------- 101
Misses ------- 198
--Writes--
In Progress -- 11
Hits --------- 68
Misses ------- 0
--Updates--
In Progress -- 1
Hits --------- 34
Misses ------- 0
--Removes--
In Progress -- 0
Hits --------- 0
Misses ------- 0

Miss will be return when wget for test. 

There are special configuration items on ats 3.3.5-dev?
                
> when restart ats, all data will be lost,  miss return
> -----------------------------------------------------
>
>                 Key: TS-2138
>                 URL: https://issues.apache.org/jira/browse/TS-2138
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Cache
>            Reporter: bettydramit
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to