You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@trafficserver.apache.org by jacky <ja...@gmail.com> on 2011/06/04 02:56:07 UTC

traffic server 2.1.7 consume all memory on MacOS X 10.6

hi, everyone,
	After I run ATS 2.1.7 on my MacOS X 10.6, ATS consume all the memory. What's the problem?
	
====================
Best regards!
====================
jacky wu
jacky.wucheng@gmail.com
blog:  http://www.sanote.org
====================


Re: traffic server 2.1.7 consume all memory on MacOS X 10.6

Posted by Leif Hedstrom <zw...@apache.org>.
On 06/03/2011 07:24 PM, jacky wrote:
> it‘s a pity, 2.1.9 goes the same result as 2.1.7 on OS X 10.6.
> After I terminate ATS by ctrl-c, the memory comes back.

Does it grow over time, or immediately? Did you increase the RAM cache
setting? How much disk cache have you configured?

-- leif


Re: traffic server 2.1.7 consume all memory on MacOS X 10.6

Posted by Leif Hedstrom <zw...@apache.org>.
On 06/03/2011 07:44 PM, John Plevyak wrote:
>
> That is the size of the disk cache. The RAM cache is approx 1/800 of
> that or about 20kb. I am not even sure it will work that small.
>
> On Jun 3, 2011 6:25 PM, "jacky" <jacky.wucheng@gmail.com
> <ma...@gmail.com>> wrote:
> > it‘s a pity, 2.1.9 goes the same result as 2.1.7 on OS X 10.6.
> > After I terminate ATS by ctrl-c, the memory comes back.


I'm not able to reproduce this at all, tested on my OSX 10.6.3 box,
starting up with the default configs, traffic_server is using about
64MB, and I sent maybe 50 or so requests through it, and not seeing any
growth.

-- leif


Re: traffic server 2.1.7 consume all memory on MacOS X 10.6

Posted by John Plevyak <jp...@gmail.com>.
That is the size of the disk cache.  The RAM cache is approx 1/800 of that
or about 20kb.  I am not even sure it will work that small.
On Jun 3, 2011 6:25 PM, "jacky" <ja...@gmail.com> wrote:
> it‘s a pity, 2.1.9 goes the same result as 2.1.7 on OS X 10.6.
> After I terminate ATS by ctrl-c, the memory comes back.
>
> here is the output of traffic_server process:
> ```````````````````````````````````````````
> jacky@localhost:/usr/local/ts2.1.9
> $ ./bin/traffic_server
> [TrafficServer] using root directory '/usr/local/ts2.1.9'
> Can't change user to 'nobody' because running with effective uid=501[Jun 4
09:14:52.397] {140735083633824} STATUS: opened
/usr/local/ts2.1.9/var/log/trafficserver/diags.log
> [Jun 4 09:14:52.398] {140735083633824} NOTE: updated diags config
> [Jun 4 09:14:52.401] Server {140735083633824} WARNING: connection throttle
too high, 30000 (throttle) + 192 (internal use) > 10240 (file descriptor
limit), using throttle of 10048
> [Jun 4 09:14:52.406] Server {140735083633824} NOTE: cache clustering
disabled
> [Jun 4 09:14:52.406] Server {140735083633824} NOTE: clearing statistics
> [Jun 4 09:14:52.431] Server {140735083633824} WARNING: configuration
changed: [hostdb.config] : reinitializing database
> [Jun 4 09:14:52.431] Server {140735083633824} NOTE: reconfiguring host
database
> [Jun 4 09:14:52.432] Server {140735083633824} NOTE: file
'/usr/local/ts2.1.9/var/trafficserver/host.db' size changed from 0.00MB to
30.91MB
> [Jun 4 09:14:53.140] Server {140735083633824} NOTE: cache clustering
disabled
> ```````````````````````````````````````````
> although I set the cachedb in storage.config by "var/trafficserver 16M",
is it possible of ATS make a all momery cache db?
>
>
> 在 2011-6-4,上午9:00, Leif Hedstrom 写道:
>
>> On 06/03/2011 06:56 PM, jacky wrote:
>>>
>>> hi, everyone,
>>> After I run ATS 2.1.7 on my MacOS X 10.6, ATS consume all the memory.
What's the problem?
>>>
>>
>> Memory leak? :) No idea, but please try v2.1.9, it's the only version
we'd be able to help with right now, since we're finalizing the 3.0.0
release based on it.
>>
>> -- Leif
>>
>
> ====================
> Best regards!
> ====================
> jacky wu
> jacky.wucheng@gmail.com
> blog: http://www.sanote.org
> ====================
>

Re: traffic server 2.1.7 consume all memory on MacOS X 10.6

Posted by jacky <ja...@gmail.com>.
it‘s a pity, 2.1.9 goes the same result as 2.1.7 on OS X 10.6.
After I terminate ATS by ctrl-c, the memory comes back.

here is the output of traffic_server process:
```````````````````````````````````````````
jacky@localhost:/usr/local/ts2.1.9
$ ./bin/traffic_server 
[TrafficServer] using root directory '/usr/local/ts2.1.9'
Can't change user to 'nobody' because running with effective uid=501[Jun  4 09:14:52.397] {140735083633824} STATUS: opened /usr/local/ts2.1.9/var/log/trafficserver/diags.log
[Jun  4 09:14:52.398] {140735083633824} NOTE: updated diags config
[Jun  4 09:14:52.401] Server {140735083633824} WARNING: connection throttle too high, 30000 (throttle) + 192 (internal use) > 10240 (file descriptor limit), using throttle of 10048
[Jun  4 09:14:52.406] Server {140735083633824} NOTE: cache clustering disabled
[Jun  4 09:14:52.406] Server {140735083633824} NOTE: clearing statistics
[Jun  4 09:14:52.431] Server {140735083633824} WARNING: configuration changed: [hostdb.config] : reinitializing database
[Jun  4 09:14:52.431] Server {140735083633824} NOTE: reconfiguring host database
[Jun  4 09:14:52.432] Server {140735083633824} NOTE: file '/usr/local/ts2.1.9/var/trafficserver/host.db' size changed from 0.00MB to 30.91MB
[Jun  4 09:14:53.140] Server {140735083633824} NOTE: cache clustering disabled
```````````````````````````````````````````
although I set the cachedb in storage.config by "var/trafficserver 16M", is it possible of ATS make a all momery cache db?


在 2011-6-4,上午9:00, Leif Hedstrom 写道:

> On 06/03/2011 06:56 PM, jacky wrote:
>> 
>> hi, everyone,
>>  After I run ATS 2.1.7 on my MacOS X 10.6, ATS consume all the memory. What's the problem?
>> 
> 
> Memory leak? :) No idea, but please try v2.1.9, it's the only version we'd be able to help with right now, since we're finalizing the 3.0.0 release based on it.
> 
> -- Leif
> 

====================
Best regards!
====================
jacky wu
jacky.wucheng@gmail.com
blog:  http://www.sanote.org
====================


Re: traffic server 2.1.7 consume all memory on MacOS X 10.6

Posted by Leif Hedstrom <zw...@apache.org>.
On 06/03/2011 06:56 PM, jacky wrote:
> hi, everyone,
> After I run ATS 2.1.7 on my MacOS X 10.6, ATS consume all the memory.
> What's the problem?
>

Memory leak? :) No idea, but please try v2.1.9, it's the only version
we'd be able to help with right now, since we're finalizing the 3.0.0
release based on it.

-- Leif