{"action":"created","issue":{"url":"https://api.github.com/repos/tkf/emacs-jedi/issues/330","repository_url":"https://api.github.com/repos/tkf/emacs-jedi","labels_url":"https://api.github.com/repos/tkf/emacs-jedi/issues/330/labels{/name}","comments_url":"https://api.github.com/repos/tkf/emacs-jedi/issues/330/comments","events_url":"https://api.github.com/repos/tkf/emacs-jedi/issues/330/events","html_url":"https://github.com/tkf/emacs-jedi/issues/330","id":384466366,"node_id":"MDU6SXNzdWUzODQ0NjYzNjY=","number":330,"title":"Many extra processes","user":{"login":"angrycandy","id":13950817,"node_id":"MDQ6VXNlcjEzOTUwODE3","avatar_url":"https://avatars1.githubusercontent.com/u/13950817?v=4","gravatar_id":"","url":"https://api.github.com/users/angrycandy","html_url":"https://github.com/angrycandy","followers_url":"https://api.github.com/users/angrycandy/followers","following_url":"https://api.github.com/users/angrycandy/following{/other_user}","gists_url":"https://api.github.com/users/angrycandy/gists{/gist_id}","starred_url":"https://api.github.com/users/angrycandy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angrycandy/subscriptions","organizations_url":"https://api.github.com/users/angrycandy/orgs","repos_url":"https://api.github.com/users/angrycandy/repos","events_url":"https://api.github.com/users/angrycandy/events{/privacy}","received_events_url":"https://api.github.com/users/angrycandy/received_events","type":"User","site_admin":false},"labels":[{"id":16640736,"node_id":"MDU6TGFiZWwxNjY0MDczNg==","url":"https://api.github.com/repos/tkf/emacs-jedi/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":20,"created_at":"2018-11-26T19:00:14Z","updated_at":"2018-12-10T12:12:15Z","closed_at":"2018-12-10T12:12:15Z","author_association":"NONE","body":"* With my old .python-environments at most two processes are created for each emacs:\r\n```\r\n/home/bfw/.emacs.d/.python-environments/i386/bin/python2 /home/bfw/.emacs.d/.python-environments/i386/bin/jediepcserver\r\n/usr/bin/python2.7 /home/bfw/.emacs.d/.python-environments/i386/lib/python2.7/site-packages/jedi/evaluate/compiled/subprocess/__main__.py /home/bfw/.emacs.d/.python-environments/i386/lib/python2.7/site-packages 2\r\n```\r\n```\r\n(:emacs-version \"25.3.1\" :jedi-version \"0.2.7\")\r\n((:version \"2.7.15 (default, Oct  6 2018, 14:26:45) \\n[GCC 5.4.0 20160603 (Red Hat 5.4.0-6)]\" :name \"sys\" :file nil)\r\n (:version \"0.12.1\" :name \"jedi\" :file \"/home/bfw/.emacs.d/.python-environments/i386/lib/python2.7/site-packages/jedi/__init__.pyc\")\r\n (:version \"0.0.5\" :name \"epc\" :file \"/home/bfw/.emacs.d/.python-environments/i386/lib/python2.7/site-packages/epc/__init__.pyc\")\r\n (:version \"0.0.3\" :name \"sexpdata\" :file \"/home/bfw/.emacs.d/.python-environments/i386/lib/python2.7/site-packages/sexpdata.pyc\"))\r\n```\r\n* After removing the old env and doing a new install there are many processes. A new subprocess is created for every python file visited.\r\n```\r\n% mv ~/.emacs.d/.python-environments  ~/.emacs.d/.python-environments.hide\r\n```\r\n```\r\nM-x jedi:install-server\r\n```\r\n```\r\n/home/bfw/.emacs.d/.python-environments/i386/bin/python2 /home/bfw/.emacs.d/.python-environments/i386/bin/jediepcserver\r\n/home/bfw/.emacs.d/.python-environments/i386/bin/python2 /home/bfw/.emacs.d/.python-environments/i386/lib/python2.7/site-packages/jedi/evaluate/compiled/subprocess/__main__.py /home/bfw/.emacs.d/.python-environments/i386/lib/python2.7/site-packages 2.7.15\r\n/home/bfw/.emacs.d/.python-environments/i386/bin/python2 /home/bfw/.emacs.d/.python-environments/i386/lib/python2.7/site-packages/jedi/evaluate/compiled/subprocess/__main__.py /home/bfw/.emacs.d/.python-environments/i386/lib/python2.7/site-packages 2.7.15\r\n/home/bfw/.emacs.d/.python-environments/i386/bin/python2 /home/bfw/.emacs.d/.python-environments/i386/lib/python2.7/site-packages/jedi/evaluate/compiled/subprocess/__main__.py /home/bfw/.emacs.d/.python-environments/i386/lib/python2.7/site-packages 2.7.15\r\n```\r\n```\r\n(:emacs-version \"25.3.1\" :jedi-version \"0.2.7\")\r\n((:version \"2.7.15 (default, Oct  6 2018, 14:26:45) \\n[GCC 5.4.0 20160603 (Red Hat 5.4.0-6)]\" :name \"sys\" :file nil)\r\n (:version \"0.13.1\" :name \"jedi\" :file \"/home/bfw/.emacs.d/.python-environments/i386/lib/python2.7/site-packages/jedi/__init__.pyc\")\r\n (:version \"0.0.5\" :name \"epc\" :file \"/home/bfw/.emacs.d/.python-environments/i386/lib/python2.7/site-packages/epc/__init__.pyc\")\r\n (:version \"0.0.3\" :name \"sexpdata\" :file \"/home/bfw/.emacs.d/.python-environments/i386/lib/python2.7/site-packages/sexpdata.pyc\"))\r\n```\r\n* *Is this expected behavior?*\r\n"},"comment":{"url":"https://api.github.com/repos/tkf/emacs-jedi/issues/comments/445794652","html_url":"https://github.com/tkf/emacs-jedi/issues/330#issuecomment-445794652","issue_url":"https://api.github.com/repos/tkf/emacs-jedi/issues/330","id":445794652,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NTc5NDY1Mg==","user":{"login":"immerrr","id":579798,"node_id":"MDQ6VXNlcjU3OTc5OA==","avatar_url":"https://avatars2.githubusercontent.com/u/579798?v=4","gravatar_id":"","url":"https://api.github.com/users/immerrr","html_url":"https://github.com/immerrr","followers_url":"https://api.github.com/users/immerrr/followers","following_url":"https://api.github.com/users/immerrr/following{/other_user}","gists_url":"https://api.github.com/users/immerrr/gists{/gist_id}","starred_url":"https://api.github.com/users/immerrr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/immerrr/subscriptions","organizations_url":"https://api.github.com/users/immerrr/orgs","repos_url":"https://api.github.com/users/immerrr/repos","events_url":"https://api.github.com/users/immerrr/events{/privacy}","received_events_url":"https://api.github.com/users/immerrr/received_events","type":"User","site_admin":false},"created_at":"2018-12-10T12:12:15Z","updated_at":"2018-12-10T12:12:15Z","author_association":"COLLABORATOR","body":"We can close the issue then, awesome!"}}
{"actor":{"display_login":"immerrr"}}