{"action":"opened","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/36612","repository_url":"https://api.github.com/repos/saltstack/salt","labels_url":"https://api.github.com/repos/saltstack/salt/issues/36612/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/36612/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/36612/events","html_url":"https://github.com/saltstack/salt/issues/36612","id":179577078,"number":36612,"title":"ZeroMQPubServerChannel memory leak","user":{"login":"ahammond","id":445764,"avatar_url":"https://avatars.githubusercontent.com/u/445764?v=3","gravatar_id":"","url":"https://api.github.com/users/ahammond","html_url":"https://github.com/ahammond","followers_url":"https://api.github.com/users/ahammond/followers","following_url":"https://api.github.com/users/ahammond/following{/other_user}","gists_url":"https://api.github.com/users/ahammond/gists{/gist_id}","starred_url":"https://api.github.com/users/ahammond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahammond/subscriptions","organizations_url":"https://api.github.com/users/ahammond/orgs","repos_url":"https://api.github.com/users/ahammond/repos","events_url":"https://api.github.com/users/ahammond/events{/privacy}","received_events_url":"https://api.github.com/users/ahammond/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-27T18:37:39Z","updated_at":"2016-09-27T18:37:39Z","closed_at":null,"body":"### Description of Issue/Question\r\n```\r\nUSER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND\r\nroot     17529  0.6 26.2 8971700 8648380 ?     Sl   Sep26   6:33 /usr/bin/python /usr/bin/salt-master ZeroMQPubServerChannel\r\n```\r\n\r\nNote 26.2% memory usage on a 32G Amazon instance is about 8GB. Captured a coredump in the hopes this will be useful. Restart salt-master, wait a few hours for it to stabilize:\r\n\r\n```\r\nUSER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND\r\nroot     21123  0.3  2.5 1217244 833700 ?      Sl   17:29   0:12 /usr/bin/python /usr/bin/salt-master ZeroMQPubServerChannel\r\n```\r\n\r\nNote 2.5% memory usage.\r\n\r\n### Setup\r\nI'm not sure what specific stuff in our setup is relevant. We just switched back from TCP to 0mq transports. I'm pretty sure we have a couple of machines that didn't get re-configured (the reason we're switching is that we needed more reliable behavior).\r\n\r\n### Steps to Reproduce Issue\r\nWe have about 500 minions connected with 0mq. I'm guessing we still have a few that are trying to connect with TCP, which I'll be hunting down today. Hopefully eliminating them will eliminate the issue, in which case I'll update the issue description and title.\r\n\r\n### Versions Report\r\n```\r\nahammond@salt:~$ sudo salt-call --local --versions-report\r\nSalt Version:\r\n           Salt: 2016.3.3\r\n\r\nDependency Versions:\r\n           cffi: 1.5.2\r\n       cherrypy: 2.3.0\r\n       dateutil: 2.4.2\r\n          gitdb: 0.6.4\r\n      gitpython: 2.0.6\r\n          ioflo: Not Installed\r\n         Jinja2: 2.8\r\n        libgit2: Not Installed\r\n        libnacl: Not Installed\r\n       M2Crypto: Not Installed\r\n           Mako: 1.0.3\r\n   msgpack-pure: Not Installed\r\n msgpack-python: 0.4.6\r\n   mysql-python: 1.3.7\r\n      pycparser: 2.14\r\n       pycrypto: 2.6.1\r\n         pygit2: Not Installed\r\n         Python: 2.7.12 (default, Jul  1 2016, 15:12:24)\r\n   python-gnupg: Not Installed\r\n         PyYAML: 3.11\r\n          PyZMQ: 15.2.0\r\n           RAET: Not Installed\r\n          smmap: 0.9.0\r\n        timelib: 0.2.4\r\n        Tornado: 4.2.1\r\n            ZMQ: 4.1.4\r\n\r\nSystem Versions:\r\n           dist: Ubuntu 16.04 xenial\r\n        machine: x86_64\r\n        release: 4.4.0-36-generic\r\n         system: Linux\r\n        version: Ubuntu 16.04 xenial\r\n```"}}
{"actor":{"display_login":"ahammond"}}