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

bettydramit edited comment on TS-2138 at 8/19/13 2:30 AM:
----------------------------------------------------------

I use wget for my test.
my cache.config is 
url_regex=^http://appdown.test.com/.*\.(ipa|exe|dat) scheme=http  
ttl-in-cache=30d

wget for debug :
wget -SO /dev/null -e http_proxy=127.0.0.1 
http://appdown.test.com/Data/APPINFOR/21/24/mobi.pimpyourpic/dizigui_zhouyi_mobi.pimpyourpic_1368806400_1.0.ipa
 -d
DEBUG output created by Wget 1.12 on linux-gnu.

--2013-08-19 09:15:37--  
http://appdown.test.com/Data/APPINFOR/21/24/mobi.pimpyourpic/dizigui_zhouyi_mobi.pimpyourpic_1368806400_1.0.ipa
Connecting to 127.0.0.1:80... connected.
Created socket 4.
Releasing 0x0000000001356e70 (new refcount 0).
Deleting unused 0x0000000001356e70.

---request begin---
GET 
http://appdown.test.com/Data/APPINFOR/21/24/mobi.pimpyourpic/dizigui_zhouyi_mobi.pimpyourpic_1368806400_1.0.ipa
 HTTP/1.0
User-Agent: Wget/1.12 (linux-gnu)
Accept: */*
Host: appdown.test.com

---request end---
Proxy request sent, awaiting response... 
---response begin---
HTTP/1.0 200 Ok
Content-Type: application/octet-stream
Checksum: md5=014cf3b1236cbf681ddfd8f573304801
Last-Modified: Sat, 18 May 2013 03:03:06 GMT
Content-Length: 6793508
Date: Mon, 19 Aug 2013 01:08:06 GMT
Age: 451
Server: ATS/3.3.5-dev

---response end---

  HTTP/1.0 200 Ok
  Content-Type: application/octet-stream
  Checksum: md5=014cf3b1236cbf681ddfd8f573304801
  Last-Modified: Sat, 18 May 2013 03:03:06 GMT
  Content-Length: 6793508
  Date: Mon, 19 Aug 2013 01:08:06 GMT
  Age: 451
  Server: ATS/3.3.5-dev
Length: 6793508 (6.5M) [application/octet-stream]
Saving to: “/dev/null”

100%[====================================================================================>]
 6,793,508   1.17M/s   in 5.6s    

Closed fd 4
2013-08-19 09:15:43 (1.16 MB/s) - “/dev/null” saved [6793508/6793508]



restr ats debug cache_dir_sync  log for same file(wait for 120s)

NOTE: Traffic Server received Sig 15: Terminated
[TrafficManager] ==> Cleaning up and reissuing signal #15
[E. Mgmt] log ==> [TrafficManager] using root directory '/usr'
[TrafficServer] using root directory '/usr'
[Aug 19 09:13:16.723] Server {0x2b4425c48700} DEBUG: (cache_dir_sync) sync 
started
[Aug 19 09:13:16.723] Server {0x2b4425c48700} DEBUG: (cache_dir_sync) Dir 
/dev/vdc 188416:121896937 not dirty
[Aug 19 09:13:16.723] Server {0x2b4425c48700} DEBUG: (cache_dir_sync) sync 
started
[Aug 19 09:13:16.723] Server {0x2b4425c48700} DEBUG: (cache_dir_sync) Dir 
/dev/vde 188416:121896937 not dirty
[Aug 19 09:13:16.723] Server {0x2b4425c48700} DEBUG: (cache_dir_sync) sync 
started
[Aug 19 09:13:16.723] Server {0x2b4425c48700} DEBUG: (cache_dir_sync) Dir 
/dev/vdg 188416:121896937 not dirty
[Aug 19 09:13:16.723] Server {0x2b4425c48700} DEBUG: (cache_dir_sync) sync 
started
[Aug 19 09:13:16.723] Server {0x2b4425c48700} DEBUG: (cache_dir_sync) pos: 
2572577792 Dir /dev/vdf 188416:121896937 dirty...syncing to disk
[NOTE: Traffic Server received Sig 15: Terminated
TrafficManager] ==> Cleaning up and reissuing signal #15
[TrafficManager] ==> signal #15
[E. Mgmt] log ==> [TrafficManager] using root directory '/usr'
[TrafficServer] using root directory '/usr'
[Aug 19 09:16:06.538] Server {0x2aab83996700} DEBUG: (cache_dir_sync) sync 
started
[Aug 19 09:16:06.538] Server {0x2aab83996700} DEBUG: (cache_dir_sync) Dir 
/dev/vdg 188416:121896937 not dirty
[Aug 19 09:16:06.538] Server {0x2aab83996700} DEBUG: (cache_dir_sync) sync 
started
[Aug 19 09:16:06.538] Server {0x2aab83996700} DEBUG: (cache_dir_sync) Dir 
/dev/vdc 188416:121896937 not dirty
[Aug 19 09:16:06.538] Server {0x2aab83996700} DEBUG: (cache_dir_sync) sync 
started
[Aug 19 09:16:06.538] Server {0x2aab83996700} DEBUG: (cache_dir_sync) Dir 
/dev/vde 188416:121896937 not dirty
[Aug 19 09:16:06.538] Server {0x2aab83996700} DEBUG: (cache_dir_sync) sync 
started
[Aug 19 09:16:06.538] Server {0x2aab83996700} DEBUG: (cache_dir_sync) Dir 
/dev/vdd 188416:121896937: waiting for agg buffer
[Aug 19 09:16:06.579] Server {0x2aab8bfce700} DEBUG: (cache_dir_sync) sync 
started
[Aug 19 09:16:06.579] Server {0x2aab8bfce700} DEBUG: (cache_dir_sync) pos: 
2520774656 Dir /dev/vdd 188416:121896937 dirty...syncing to disk
[Aug 19 09:21:21.254] Server {0x2aab8286cfa0} DEBUG: (cache_dir_sync) sync 
started
[Aug 19 09:21:21.254] Server {0x2aab8286cfa0} DEBUG: (cache_dir_sync) pos: 
2572577792 Dir /dev/vdf 188416:121896937 dirty...syncing to disk
                
      was (Author: bettydreamit):
    I use wget for my test.
my cache.config is 
url_regex=^http://appdown.wanmeiyueyu.com/.*\.(ipa|exe|dat) scheme=http  
ttl-in-cache=30d

wget for debug :
wget -SO /dev/null -e http_proxy=127.0.0.1 
http://appdown.wanmeiyueyu.com/Data/APPINFOR/21/24/mobi.pimpyourpic/dizigui_zhouyi_mobi.pimpyourpic_1368806400_1.0.ipa
 -d
DEBUG output created by Wget 1.12 on linux-gnu.

--2013-08-19 09:15:37--  
http://appdown.wanmeiyueyu.com/Data/APPINFOR/21/24/mobi.pimpyourpic/dizigui_zhouyi_mobi.pimpyourpic_1368806400_1.0.ipa
Connecting to 127.0.0.1:80... connected.
Created socket 4.
Releasing 0x0000000001356e70 (new refcount 0).
Deleting unused 0x0000000001356e70.

---request begin---
GET 
http://appdown.wanmeiyueyu.com/Data/APPINFOR/21/24/mobi.pimpyourpic/dizigui_zhouyi_mobi.pimpyourpic_1368806400_1.0.ipa
 HTTP/1.0
User-Agent: Wget/1.12 (linux-gnu)
Accept: */*
Host: appdown.wanmeiyueyu.com

---request end---
Proxy request sent, awaiting response... 
---response begin---
HTTP/1.0 200 Ok
Content-Type: application/octet-stream
Checksum: md5=014cf3b1236cbf681ddfd8f573304801
Last-Modified: Sat, 18 May 2013 03:03:06 GMT
Content-Length: 6793508
Date: Mon, 19 Aug 2013 01:08:06 GMT
Age: 451
Powered-By-VeryCDN: HIT from cuc-jz-1-1-c1321, STALE from utn-cz-1-3-c1391, 
MISS from cuc-bj-1-1-c1371
Server: ATS/3.3.5-dev

---response end---

  HTTP/1.0 200 Ok
  Content-Type: application/octet-stream
  Checksum: md5=014cf3b1236cbf681ddfd8f573304801
  Last-Modified: Sat, 18 May 2013 03:03:06 GMT
  Content-Length: 6793508
  Date: Mon, 19 Aug 2013 01:08:06 GMT
  Age: 451
  Powered-By-VeryCDN: HIT from cuc-jz-1-1-c1321, STALE from utn-cz-1-3-c1391, 
MISS from cuc-bj-1-1-c1371
  Server: ATS/3.3.5-dev
Length: 6793508 (6.5M) [application/octet-stream]
Saving to: “/dev/null”

100%[====================================================================================>]
 6,793,508   1.17M/s   in 5.6s    

Closed fd 4
2013-08-19 09:15:43 (1.16 MB/s) - “/dev/null” saved [6793508/6793508]



restr ats debug cache_dir_sync  log for same file(wait for 120s)

NOTE: Traffic Server received Sig 15: Terminated
[TrafficManager] ==> Cleaning up and reissuing signal #15
[E. Mgmt] log ==> [TrafficManager] using root directory '/usr'
[TrafficServer] using root directory '/usr'
[Aug 19 09:13:16.723] Server {0x2b4425c48700} DEBUG: (cache_dir_sync) sync 
started
[Aug 19 09:13:16.723] Server {0x2b4425c48700} DEBUG: (cache_dir_sync) Dir 
/dev/vdc 188416:121896937 not dirty
[Aug 19 09:13:16.723] Server {0x2b4425c48700} DEBUG: (cache_dir_sync) sync 
started
[Aug 19 09:13:16.723] Server {0x2b4425c48700} DEBUG: (cache_dir_sync) Dir 
/dev/vde 188416:121896937 not dirty
[Aug 19 09:13:16.723] Server {0x2b4425c48700} DEBUG: (cache_dir_sync) sync 
started
[Aug 19 09:13:16.723] Server {0x2b4425c48700} DEBUG: (cache_dir_sync) Dir 
/dev/vdg 188416:121896937 not dirty
[Aug 19 09:13:16.723] Server {0x2b4425c48700} DEBUG: (cache_dir_sync) sync 
started
[Aug 19 09:13:16.723] Server {0x2b4425c48700} DEBUG: (cache_dir_sync) pos: 
2572577792 Dir /dev/vdf 188416:121896937 dirty...syncing to disk
[NOTE: Traffic Server received Sig 15: Terminated
TrafficManager] ==> Cleaning up and reissuing signal #15
[TrafficManager] ==> signal #15
[E. Mgmt] log ==> [TrafficManager] using root directory '/usr'
[TrafficServer] using root directory '/usr'
[Aug 19 09:16:06.538] Server {0x2aab83996700} DEBUG: (cache_dir_sync) sync 
started
[Aug 19 09:16:06.538] Server {0x2aab83996700} DEBUG: (cache_dir_sync) Dir 
/dev/vdg 188416:121896937 not dirty
[Aug 19 09:16:06.538] Server {0x2aab83996700} DEBUG: (cache_dir_sync) sync 
started
[Aug 19 09:16:06.538] Server {0x2aab83996700} DEBUG: (cache_dir_sync) Dir 
/dev/vdc 188416:121896937 not dirty
[Aug 19 09:16:06.538] Server {0x2aab83996700} DEBUG: (cache_dir_sync) sync 
started
[Aug 19 09:16:06.538] Server {0x2aab83996700} DEBUG: (cache_dir_sync) Dir 
/dev/vde 188416:121896937 not dirty
[Aug 19 09:16:06.538] Server {0x2aab83996700} DEBUG: (cache_dir_sync) sync 
started
[Aug 19 09:16:06.538] Server {0x2aab83996700} DEBUG: (cache_dir_sync) Dir 
/dev/vdd 188416:121896937: waiting for agg buffer
[Aug 19 09:16:06.579] Server {0x2aab8bfce700} DEBUG: (cache_dir_sync) sync 
started
[Aug 19 09:16:06.579] Server {0x2aab8bfce700} DEBUG: (cache_dir_sync) pos: 
2520774656 Dir /dev/vdd 188416:121896937 dirty...syncing to disk
[Aug 19 09:21:21.254] Server {0x2aab8286cfa0} DEBUG: (cache_dir_sync) sync 
started
[Aug 19 09:21:21.254] Server {0x2aab8286cfa0} DEBUG: (cache_dir_sync) pos: 
2572577792 Dir /dev/vdf 188416:121896937 dirty...syncing to disk
                  
> 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
>         Attachments: 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 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