You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "bettydramit (JIRA)" <ji...@apache.org> on 2014/04/17 08:39:15 UTC

[jira] [Updated] (TS-2724) purge waste memory

     [ https://issues.apache.org/jira/browse/TS-2724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

bettydramit updated TS-2724:
----------------------------

    Description: 
I have 100 file, 0.mp4, 1.mp4 ... 99.mp4, every file`s size is 1M

records.config  
{code}
proxy.config.cache.target_fragment_size INT 1048576
{code}
I use curl to get them :
{code}
  for((i=0;i<100;i++)); do curl -v -o /dev/null http://www.test.com/testdir/$i.mp4; done
{code}

every file just get once, i can see ats memory usage is 138M

After  use curl to purge them :
{code}
  for((i=0;i<100;i++)); do curl -v -o /dev/null -X purge http://www.test.com/testdir/$i.mp4; done
{code}

I can see ats memory usage is 246M
every file removed from ats, why the memory usage enlarge about 100M

  was:
I have 100 file, 0.mp4, 1.mp4 ... 99.mp4, every file`s size is 1M

I set ats proxy.config.cache.target_fragment_size INT 1048576

I use curl to get them :
  for((i=0;i<100;i++)); do curl -v -o /dev/null http://www.test.com/testdir/$i.mp4; done
very file just get once, i can see ats memory usage is 138M

After i use curl to purge them :
  for((i=0;i<100;i++)); do curl -v -o /dev/null -X purge http://www.test.com/testdir/$i.mp4; done
I can see ats memory usage is 246M
very file removed from ats, why the memory usage enlarge about 100M


> purge waste memory
> ------------------
>
>                 Key: TS-2724
>                 URL: https://issues.apache.org/jira/browse/TS-2724
>             Project: Traffic Server
>          Issue Type: Bug
>            Reporter: bettydramit
>
> I have 100 file, 0.mp4, 1.mp4 ... 99.mp4, every file`s size is 1M
> records.config  
> {code}
> proxy.config.cache.target_fragment_size INT 1048576
> {code}
> I use curl to get them :
> {code}
>   for((i=0;i<100;i++)); do curl -v -o /dev/null http://www.test.com/testdir/$i.mp4; done
> {code}
> every file just get once, i can see ats memory usage is 138M
> After  use curl to purge them :
> {code}
>   for((i=0;i<100;i++)); do curl -v -o /dev/null -X purge http://www.test.com/testdir/$i.mp4; done
> {code}
> I can see ats memory usage is 246M
> every file removed from ats, why the memory usage enlarge about 100M



--
This message was sent by Atlassian JIRA
(v6.2#6252)