{"action":"closed","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/27617","labels_url":"https://api.github.com/repos/saltstack/salt/issues/27617/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/27617/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/27617/events","html_url":"https://github.com/saltstack/salt/issues/27617","id":109430561,"number":27617,"title":"Timeout on 2015.8.0 ","user":{"login":"valentin2105","id":12403145,"avatar_url":"https://avatars.githubusercontent.com/u/12403145?v=3","gravatar_id":"","url":"https://api.github.com/users/valentin2105","html_url":"https://github.com/valentin2105","followers_url":"https://api.github.com/users/valentin2105/followers","following_url":"https://api.github.com/users/valentin2105/following{/other_user}","gists_url":"https://api.github.com/users/valentin2105/gists{/gist_id}","starred_url":"https://api.github.com/users/valentin2105/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valentin2105/subscriptions","organizations_url":"https://api.github.com/users/valentin2105/orgs","repos_url":"https://api.github.com/users/valentin2105/repos","events_url":"https://api.github.com/users/valentin2105/events{/privacy}","received_events_url":"https://api.github.com/users/valentin2105/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/saltstack/salt/labels/Bug","name":"Bug","color":"e11d21"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Core","name":"Core","color":"fef2c0"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Critical","name":"Critical","color":"e95800"},{"url":"https://api.github.com/repos/saltstack/salt/labels/P3","name":"P3","color":"0a3d77"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Pending%20Discussion","name":"Pending Discussion","color":"c7def8"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Regression","name":"Regression","color":"e11d21"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/saltstack/salt/milestones/13","html_url":"https://github.com/saltstack/salt/milestones/Approved","labels_url":"https://api.github.com/repos/saltstack/salt/milestones/13/labels","id":9265,"number":13,"title":"Approved","description":"All issues that are ready to be worked on, both bugs and features.","creator":{"login":"thatch45","id":507599,"avatar_url":"https://avatars.githubusercontent.com/u/507599?v=3","gravatar_id":"","url":"https://api.github.com/users/thatch45","html_url":"https://github.com/thatch45","followers_url":"https://api.github.com/users/thatch45/followers","following_url":"https://api.github.com/users/thatch45/following{/other_user}","gists_url":"https://api.github.com/users/thatch45/gists{/gist_id}","starred_url":"https://api.github.com/users/thatch45/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thatch45/subscriptions","organizations_url":"https://api.github.com/users/thatch45/orgs","repos_url":"https://api.github.com/users/thatch45/repos","events_url":"https://api.github.com/users/thatch45/events{/privacy}","received_events_url":"https://api.github.com/users/thatch45/received_events","type":"User","site_admin":false},"open_issues":2630,"closed_issues":2782,"state":"open","created_at":"2011-05-14T04:00:56Z","updated_at":"2015-10-20T00:07:17Z","due_on":null,"closed_at":null},"comments":9,"created_at":"2015-10-02T05:05:53Z","updated_at":"2015-10-20T00:07:17Z","closed_at":"2015-10-20T00:07:17Z","body":"Hi !\r\n\r\nI use Salt on Debian 8, **version 2015.8.0** for both minion & master.\r\nI have 16 minions, with max 100 states by servers.\r\nI think I have a problem in my configuration, because I got some ** Timeout problems** :\r\n\r\nMy **Master version.report** :\r\n\r\n```\r\nSalt Version:\r\n           Salt: 2015.8.0\r\n \r\nDependency Versions:\r\n         Jinja2: 2.7.3\r\n       M2Crypto: 0.21.1\r\n           Mako: 1.0.0\r\n         PyYAML: 3.11\r\n          PyZMQ: 14.4.0\r\n         Python: 2.7.9 (default, Mar  1 2015, 12:57:24)\r\n           RAET: Not Installed\r\n        Tornado: 4.2.1\r\n            ZMQ: 4.0.5\r\n           cffi: 0.8.6\r\n       cherrypy: 3.8.0\r\n       dateutil: 2.2\r\n          gitdb: 0.5.4\r\n      gitpython: Not Installed\r\n          ioflo: Not Installed\r\n        libnacl: Not Installed\r\n   msgpack-pure: 0.1.3\r\n msgpack-python: 0.4.2\r\n   mysql-python: Not Installed\r\n      pycparser: 2.10\r\n       pycrypto: 2.6.1\r\n         pygit2: Not Installed\r\n   python-gnupg: Not Installed\r\n          smmap: 0.8.2\r\n        timelib: Not Installed\r\n \r\nSystem Versions:\r\n           dist: debian 8.2 \r\n        machine: x86_64\r\n        release: 3.16.0-4-amd64\r\n         system: debian 8.2 \r\n```\r\n\r\nMy **Master configuration** (/etc/salt/master) :\r\n\r\n```\r\n state_verbose: False\r\n state_output: mixed\r\n\r\n file_roots:\r\n   base:\r\n     - /srv/salt/\r\n\r\n worker_threads: 8\r\n interface: 192.168.42.125\r\n\r\n rest_cherrypy:\r\n   port: 8000\r\n   host: 127.0.0.1\r\n   disable_ssl: true\r\n\r\n external_auth:\r\n   pam:\r\n     myuser:\r\n         - .*\r\n         - '@runner'\r\n         - '@wheel'\r\n```\r\nI use default Minion configuration.\r\n\r\nWhen I do, for example this command :\r\n```\r\nsalt app1 state.highstate\r\n```\r\nThis took 20s, with no error, just perfect !!! :+1: \r\n\r\nBut when I do : \r\n```\r\nsalt '*' state.highstate\r\n```\r\nI got this : \r\n```\r\nSalt request timed out. The master is not responding. If this error persists after verifying the master is up, worker_threads may need to be increased.\r\n```\r\n\r\nAnd if I put a big timeout on Salt/Master config, the highstate work fine but I Got this for some file to deploy :\r\n```\r\nbackup1:\r\n----------\r\n          ID: /etc/apt/sources.list.d/salt.list\r\n    Function: file.managed\r\n      Result: False\r\n     Comment: Unable to manage file: Message timed out\r\n     Started: 15:50:23.346388\r\n    Duration: 60065.774 ms\r\n```\r\n(and example for some files)\r\n\r\nWhen I launch **Saltmaster in Debug mode**, I got some errors (+100) : \r\n```\r\n[DEBUG   ] Fileserver attempted to read incomplete cache file. Retrying.\r\n[DEBUG   ] Fileserver attempted to read incomplete cache file. Retrying.\r\n```\r\nAnd I got it on **Minion's logs** :\r\n```\r\n2015-10-02 15:29:10,968 [salt.minion      ][WARNING ][700] Unable to send mine data to master.\r\n2015-10-02 15:29:11,522 [salt.utils.schedule][ERROR   ][23534] Unhandled exception running mine.update\r\n```\r\n\r\nBefore, when I use 2015.5.3, I haven't this problem (and Salt was really reactive).\r\nWith 2015.8.0 an '*' state.highstate took 4mn and on 2015.5.3 it took max 1mn30.\r\n\r\nHave you an idea about this issue ?\r\n\r\n**Thanks a lot !**\r\n"}}