Date: Mon, 29 Aug 2016 10:14:09 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 212234] www/trafficserver - memory leak Message-ID: <bug-212234-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212234 Bug ID: 212234 Summary: www/trafficserver - memory leak Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: brodin@durd.net CC: gaod@hychen.org CC: gaod@hychen.org Flags: maintainer-feedback?(gaod@hychen.org) Hi,=20 We are running [root@musk ~]# pkg info | grep traffic trafficserver-6.1.1 Fast, scalable and extensible HTTP proxy ser= ver on a couple machines=20 [root@<machine> ~]$ uname -a FreeBSD <machine> 10.3-RELEASE FreeBSD 10.3-RELEASE #0 r297264: Fri Mar 25 02:10:02 UTC 2016 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GEN= ERIC amd64 and we are experiencing an incredible memory leak in ATS. Our one machine (= #1) has 24GB of RAM and no swap-space, and our second (#2) machine running ATS = has 8GB RAM and 41GB of swap. Machine #1 fills it memory in about 5 days, and #2 fills its memory and swa= p in about 2 weeks i would say. We have configured ATS to work as an enterprise proxy to the Internet, and = as we have a very good connection to the Internet we have also turned off cach= ing: CONFIG proxy.config.http.cache.http INT 0 #2: [root@<machine> ~]# ps axu | grep traffic www 71099 13.9 66.6 13312772 5565236 - S Tue03PM 550:03.28 /usr/local/bin/traffic_server -M --bind_stdout /var/log/trafficserver/traffic.out --bind_stderr /var/log/tra root 1059 0.0 0.0 14492 0 - IWs - 0:00.00 dae= mon: /usr/local/bin/traffic_cop[1060] (daemon) root 1060 0.0 0.0 64312 1228 - Ss 27May16 5:17.37 /usr/local/bin/traffic_cop www 71057 0.0 0.1 86872 5784 - S Tue03PM 2:38.92 /usr/local/bin/traffic_manager --bind_stdout /var/log/trafficserver/traffic= .out --bind_stderr /var/log/traff As there are other services running on the machine they start to be killed before ATS in restarted: [root@<machine> ~]# dmesg | grep killed pid 42896 (traffic_server), uid 80, was killed: out of swap space pid 1059 (squid), uid 100, was killed: out of swap space pid 825 (unbound), uid 59, was killed: out of swap space pid 36800 (traffic_server), uid 80, was killed: out of swap space pid 28540 (traffic_server), uid 80, was killed: out of swap space pid 21702 (traffic_server), uid 80, was killed: out of swap space pid 66863 (traffic_server), uid 80, was killed: out of swap space pid 1025 (ntpd), uid 0, was killed: out of swap space pid 247 (traffic_server), uid 80, was killed: out of swap space Any ideas or are there any tunings we can do? BR, David --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-212234-13>