On Jan 8, 2014, at 1:26 AM, Scott Harris <[email protected]> wrote:
> Timur, > > When you compiled did you enable Linux native aio? If so check out issue > TS-2138. Timur, I'm curious why you enabled native AIO? Was the behaviour better than the default? > > Scott > > On 08/01/2014 4:46 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
