I can't speak to the problem of ATS losing its cache somehow, but as far as bandwidth usage goes you may want to try disabling this setting:
CONFIG proxy.config.http.cache.fuzz.min_time INT 0 By default, ATS will try to pre-fetch frequently used objects. A neat idea, but perhaps one you don't want. Regards, Adam On Tue, Jan 7, 2014 at 11:45 PM, Timur Irmatov <[email protected]> wrote: > Hi, > > > I am running Apache TrafficServer 4.1.2 compiled from sources on > Ubuntu 13.10 as forward proxy. We are using 4 raw disks as a cache, > around 90 GB each. Each time I stop and start trafficserver (with > trafficserver stop/ start command) it comes up with its cache emptied. > I couldn't find any relevant complaints/ errors in log files. It is > very unpleasant to lose ~200 GB of cache on normal server restart. > > How can I fix that? > > Also, I have other unrelated question. My primary goal for using ATS > as forward proxy is to save some internet bandwidth. There is about 20 > Mbit/s of traffic from a couple hundreds of clients. But, most of time > I see ATS receiving *more* traffic from internet than it is sending > towards clients. > > I have tried disabling background fill: > > CONFIG proxy.config.http.background_fill_active_timeout INT 1 > CONFIG proxy.config.http.background_fill_completed_threshold FLOAT 0.990000 > > Recently I have enabled flow control: > > CONFIG proxy.config.http.flow_control.low_water INT 65536 > CONFIG proxy.config.http.flow_control.high_water INT 131072 > CONFIG proxy.config.http.flow_control.enabled INT 1 > > But, still I am seeing ATS frequently (averaged over 5 minutes) > receive more internet traffic than it sends to clients. Clients are > generally connected through ADSL and limited to various speeds from > 0.5 to 2 Mbit/s. > > Any hints on fixing that? > > P.S. I would like to thank all ATS developers. ATS is much more stable > than Squid and has better performance in our setup. > > > -- > Timur Irmatov > -- ____________________________________________________________ Adam W. Dace <[email protected]> Phone: (815) 355-5848 Instant Messenger: AIM & Yahoo! IM - colonelforbin74 | ICQ - #39374451 Microsoft Messenger - [email protected] <[email protected]> Google Profile: https://plus.google.com/u/0/109309036874332290399/about
