{"action":"created","issue":{"url":"https://api.github.com/repos/savonet/liquidsoap/issues/511","repository_url":"https://api.github.com/repos/savonet/liquidsoap","labels_url":"https://api.github.com/repos/savonet/liquidsoap/issues/511/labels{/name}","comments_url":"https://api.github.com/repos/savonet/liquidsoap/issues/511/comments","events_url":"https://api.github.com/repos/savonet/liquidsoap/issues/511/events","html_url":"https://github.com/savonet/liquidsoap/issues/511","id":275059136,"node_id":"MDU6SXNzdWUyNzUwNTkxMzY=","number":511,"title":"GStreamer Memory Leak","user":{"login":"teejxd","id":33075425,"node_id":"MDQ6VXNlcjMzMDc1NDI1","avatar_url":"https://avatars0.githubusercontent.com/u/33075425?v=4","gravatar_id":"","url":"https://api.github.com/users/teejxd","html_url":"https://github.com/teejxd","followers_url":"https://api.github.com/users/teejxd/followers","following_url":"https://api.github.com/users/teejxd/following{/other_user}","gists_url":"https://api.github.com/users/teejxd/gists{/gist_id}","starred_url":"https://api.github.com/users/teejxd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teejxd/subscriptions","organizations_url":"https://api.github.com/users/teejxd/orgs","repos_url":"https://api.github.com/users/teejxd/repos","events_url":"https://api.github.com/users/teejxd/events{/privacy}","received_events_url":"https://api.github.com/users/teejxd/received_events","type":"User","site_admin":false},"labels":[{"id":99524082,"node_id":"MDU6TGFiZWw5OTUyNDA4Mg==","url":"https://api.github.com/repos/savonet/liquidsoap/labels/bug","name":"bug","color":"eb6420","default":true},{"id":981306291,"node_id":"MDU6TGFiZWw5ODEzMDYyOTE=","url":"https://api.github.com/repos/savonet/liquidsoap/labels/video","name":"video","color":"cae067","default":false}],"state":"open","locked":false,"assignee":{"login":"toots","id":871060,"node_id":"MDQ6VXNlcjg3MTA2MA==","avatar_url":"https://avatars1.githubusercontent.com/u/871060?v=4","gravatar_id":"","url":"https://api.github.com/users/toots","html_url":"https://github.com/toots","followers_url":"https://api.github.com/users/toots/followers","following_url":"https://api.github.com/users/toots/following{/other_user}","gists_url":"https://api.github.com/users/toots/gists{/gist_id}","starred_url":"https://api.github.com/users/toots/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toots/subscriptions","organizations_url":"https://api.github.com/users/toots/orgs","repos_url":"https://api.github.com/users/toots/repos","events_url":"https://api.github.com/users/toots/events{/privacy}","received_events_url":"https://api.github.com/users/toots/received_events","type":"User","site_admin":false},"assignees":[{"login":"toots","id":871060,"node_id":"MDQ6VXNlcjg3MTA2MA==","avatar_url":"https://avatars1.githubusercontent.com/u/871060?v=4","gravatar_id":"","url":"https://api.github.com/users/toots","html_url":"https://github.com/toots","followers_url":"https://api.github.com/users/toots/followers","following_url":"https://api.github.com/users/toots/following{/other_user}","gists_url":"https://api.github.com/users/toots/gists{/gist_id}","starred_url":"https://api.github.com/users/toots/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toots/subscriptions","organizations_url":"https://api.github.com/users/toots/orgs","repos_url":"https://api.github.com/users/toots/repos","events_url":"https://api.github.com/users/toots/events{/privacy}","received_events_url":"https://api.github.com/users/toots/received_events","type":"User","site_admin":false}],"milestone":null,"comments":74,"created_at":"2017-11-18T06:54:46Z","updated_at":"2018-08-19T13:44:51Z","closed_at":null,"author_association":"NONE","body":"Related issues:  #434 #318 \r\n\r\nI believe these GStreamer memory leaks are still occurring in the lastest build from the repo (installed using opam). Running four video streams starts at around 20% of my actual memory usage and slowly moves to 100% over the course of 4-5 hours. \r\n\r\nMy config:\r\n```\r\nset(\"log.file.path\", \"/home/hidden/logs/hidden.log\")\r\nset(\"frame.video.width\", 720)\r\nset(\"frame.video.height\", 480)\r\nset(\"gstreamer.add_borders\", false)\r\nset(\"server.telnet\",true)\r\nset(\"server.telnet.port\",1241)\r\n\r\ns = playlist(\"/home/stream/playlists/hidden.m3u\")\r\n\r\n  output.gstreamer.audio_video(\r\n  video_pipeline=\r\n    \"videoconvert ! x264enc bitrate=3500  speed-preset=ultrafast ! video/x-h264,profile=baseline ! queue ! mux.\",\r\n  audio_pipeline=\r\n    \"audioconvert ! voaacenc bitrate=64000 ! queue ! mux.\",\r\n  pipeline=\r\n    \"flvmux name=mux ! rtmpsink location=\\\"rtmp://x.x.x.x:1935/live/hidden live=1\\\"\",fallible=true,\r\n  s)\r\n```\r\nOutput of `liquidsoap --version`\r\n```\r\nLiquidsoap 1.3.3+scm\r\nCopyright (c) 2003-2017 Savonet team\r\nLiquidsoap is open-source software, released under GNU General Public License.\r\nSee <http://liquidsoap.fm> for more information.\r\n```\r\n\r\nOutput of `opam list`\r\n\r\n``` \r\nInstalled packages for system:\r\nbase-bigarray           base  Bigarray library distributed with the OCaml compil\r\nbase-bytes              base  Bytes library distributed with the OCaml compiler\r\nbase-ocamlbuild         base  OCamlbuild binary and libraries distributed with t\r\nbase-threads            base  Threads library distributed with the OCaml compile\r\nbase-unix               base  Unix library distributed with the OCaml compiler\r\ncamlp4           4.02+system  Camlp4 is a system for writing extensible parsers\r\ncamomile               0.8.5  A comprehensive Unicode library\r\nconf-libpcre               1  Virtual package relying on a libpcre system instal\r\nconf-m4                    1  Virtual package relying on m4\r\nconf-pkg-config          1.0  Virtual package relying on pkg-config installation\r\ncppo                   1.6.0  Equivalent of the C preprocessor for OCaml program\r\ndtools                 0.3.4  Library providing various helper functions to make\r\nduppy                  0.6.1  Library providing monadic threads\r\ngstreamer              0.2.3  Bindings for the GStreamer library which provides\r\njbuilder          1.0+beta14  Fast, portable and opinionated build system\r\nliquidsoap               dev (pinned)  Swiss-army knife for multimedia streaming\r\nmm                     0.3.1  The mm library contains high-level to create and m\r\nocamlbuild                 0  Build system distributed with the OCaml compiler s\r\nocamlfind              1.7.3  A library manager for OCaml\r\npcre                   7.2.3  pcre-ocaml - bindings to the Perl Compatibility Re\r\n```\r\n\r\nServer specs:\r\n```\r\nMotherboard: Supermicro X9SRE/X9SRE-3F/X9SRi/X9SRi-3F\r\nCPU: 8 x Intel(R) Xeon(R) CPU E5-1620 v2 @ 3.70GHz\r\nRAM: 2 x 8192 MB\r\nKernel version: Ubuntu 16.04.3 LTS\" 4.4.0-77-generic\r\n```\r\n\r\nPlease let me know if there's any additional info I can provide to solve this issue. I would post the --debug log here but I don't want to reveal any sensitive information. I would be happy to send it to you directly if you think it would help."},"comment":{"url":"https://api.github.com/repos/savonet/liquidsoap/issues/comments/414128863","html_url":"https://github.com/savonet/liquidsoap/issues/511#issuecomment-414128863","issue_url":"https://api.github.com/repos/savonet/liquidsoap/issues/511","id":414128863,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDEyODg2Mw==","user":{"login":"dromer","id":1185977,"node_id":"MDQ6VXNlcjExODU5Nzc=","avatar_url":"https://avatars2.githubusercontent.com/u/1185977?v=4","gravatar_id":"","url":"https://api.github.com/users/dromer","html_url":"https://github.com/dromer","followers_url":"https://api.github.com/users/dromer/followers","following_url":"https://api.github.com/users/dromer/following{/other_user}","gists_url":"https://api.github.com/users/dromer/gists{/gist_id}","starred_url":"https://api.github.com/users/dromer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dromer/subscriptions","organizations_url":"https://api.github.com/users/dromer/orgs","repos_url":"https://api.github.com/users/dromer/repos","events_url":"https://api.github.com/users/dromer/events{/privacy}","received_events_url":"https://api.github.com/users/dromer/received_events","type":"User","site_admin":false},"created_at":"2018-08-19T13:44:51Z","updated_at":"2018-08-19T13:44:51Z","author_association":"NONE","body":"This, which is like the minimum I want to be able to run (can of course make a more minimal version)\r\n\r\n```\r\nset(\"server.telnet.bind_addr\", \"127.0.0.1\")\r\nset(\"server.telnet.port\", 1234)\r\nset(\"server.telnet\", true)\r\n\r\nset(\"log.file.path\", \"/media/log/playvideo.log\")\r\n\r\nset(\"frame.video.width\", 888)\r\nset(\"frame.video.height\", 480)\r\nset(\"frame.video.samplerate\", 25)\r\n\r\ns = single(\"/media//video/static.mp4\")\r\n\r\n# the output\r\noutput.gstreamer.audio_video(\r\n    video_pipeline=\r\n        \"videoconvert ! gdkpixbufoverlay location=/media/radiharkolis/video/harklogo-inv-101.png offset-x=768 offset-y=20 ! x264enc bitrate=2000 ! video/x-h264,profile=baseline ! queue ! mux.\",\r\n    audio_pipeline=\r\n        \"audioconvert ! voaacenc bitrate=44100 ! queue ! mux.\",\r\n    pipeline=\r\n        \"flvmux name=mux ! rtmpsink location=\\\"rtmp://10.0.0.105:1935/live/show live=1\\\"\",\r\n    s)\r\n\r\n```\r\n\r\n\r\nSo are you now testing with stock debian stable gstreamer, or on debian unstable with 1.14.2 ?"}}
{"actor":{"display_login":"dromer"}}