You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "James Peach (JIRA)" <ji...@apache.org> on 2016/09/13 17:48:20 UTC

[jira] [Commented] (TS-4859) ATS 6.2.0 - memory leak memory/ioBufAllocator[8]

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

James Peach commented on TS-4859:
---------------------------------

You can turn off the custom memory allocation by setting {{proxy.config.proxy_binary_opts}} to {{-M --disable_freelist}}. This will cause {{traffic_server}} to always use malloc and free for memory and you can use standard leak detection tools. Since you are on FreeBSD, take a look at the jemalloc leak detection support.

> ATS 6.2.0 - memory leak memory/ioBufAllocator[8]
> ------------------------------------------------
>
>                 Key: TS-4859
>                 URL: https://issues.apache.org/jira/browse/TS-4859
>             Project: Traffic Server
>          Issue Type: Bug
>            Reporter: David Brodin
>         Attachments: ats620_mem-160913-1, ats620_mem-160913-2, ats620_mem-160913-diff, ats620_mem-160913.png, crash-2016-09-13-192754.log
>
>
> Hi,
> We are running ATS 6.2.0 via ATS source:
> {noformat}
> [root@<machine> ~]# uname -a
> FreeBSD <machine> 10.3-RELEASE-p7 FreeBSD 10.3-RELEASE-p7 #0: Thu Aug 11 18:38:15 UTC 2016     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
> [root@<machine> ~]# traffic_server --version
> traffic_server: using root directory '/usr/local'
> Apache Traffic Server - traffic_server - 6.2.0 - (build # 090722 on Sep  7 2016 at 22:23:10)
> {noformat}
> We are experiencing an incredible memory leak, according to the dump_mem config in {{records.conf}} the leak is in(? ) {{memory/ioBufAllocator[8]}}.
> I will be attaching two traffic logs, one from when ATS was restarted, and one at the end of the day, and also a diff to see the change more clearly. I'll also upload an image from Cacti trend measurement and the output of {{traffic_crashlog}}
> We are using ATS as an enterprise proxy to the Internet, and as we have a very good Internet-connection we have also disabled caching.
> An important note is that this proxy is taken out of the DNS-roundrobin so there is practically no load, only the occasional stray hard-coded client.
> This memory leak is somewhat alarming as ATS' memory leak grows into swap, and once the swap is full other processes crash such as unbound (local resolver for other services), sshd etc. ATS of course crashes and restarts nicely.
>  
> I'm not sure what else would be needed, there is some output at the [FreeBSD bugzilla|https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212234].
> I'll be happy to provide more outputs/logs/info if needed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)