{"action":"opened","issue":{"url":"https://api.github.com/repos/unbit/uwsgi/issues/1010","labels_url":"https://api.github.com/repos/unbit/uwsgi/issues/1010/labels{/name}","comments_url":"https://api.github.com/repos/unbit/uwsgi/issues/1010/comments","events_url":"https://api.github.com/repos/unbit/uwsgi/issues/1010/events","html_url":"https://github.com/unbit/uwsgi/issues/1010","id":102143023,"number":1010,"title":"Strange workers behaviour","user":{"login":"dav009","id":1659415,"avatar_url":"https://avatars.githubusercontent.com/u/1659415?v=3","gravatar_id":"","url":"https://api.github.com/users/dav009","html_url":"https://github.com/dav009","followers_url":"https://api.github.com/users/dav009/followers","following_url":"https://api.github.com/users/dav009/following{/other_user}","gists_url":"https://api.github.com/users/dav009/gists{/gist_id}","starred_url":"https://api.github.com/users/dav009/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dav009/subscriptions","organizations_url":"https://api.github.com/users/dav009/orgs","repos_url":"https://api.github.com/users/dav009/repos","events_url":"https://api.github.com/users/dav009/events{/privacy}","received_events_url":"https://api.github.com/users/dav009/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-20T13:49:59Z","updated_at":"2015-08-20T13:49:59Z","closed_at":null,"body":"Ive been using uwsgi for a while. Lately Im seeing the following problem (to diagnose Im using uwsgitop):\r\n\r\n-  my instance is usually using 5,7 workers, and serving roughly 50 to 70 request per second, cpu usage usually around 50,60%\r\n\r\n- At som epoint cpu usage goes down to 20%, only 2 workers seem busy(via uwsgitop) , the requests per second drop to 10/20. Worth noticing that the `Exception` columns show thousands of exceptions. I cant see anything unusual on `uwsgi.log`\r\n\r\n- the problem gets solved by restarting uwsgi.\r\n\r\nThank you in advance.\r\n\r\nHere is my `.ini` file\r\n\r\n```\r\n[uwsgi]\r\nsocket=/tmp/content_services.sock\r\nwsgi-file=/mnt/code/current/content_services.wsgi\r\ncallable=app\r\nprotocol=uwsgi\r\nmaster=true\r\nsingle-interpreter=true\r\nenable-threads=true\r\nvacuum=true\r\nprocesses=30\r\nharakiri=45\r\nlisten=4096\r\npythonpath=/mnt/code/current/python_modules\r\nuid=www-data\r\ngid=\r\nbuffer-size=12992\r\nno-orphans=true\r\ndisable-logging=false\r\nlogto=/var/log/cs/uwsgi.log\r\nlog-date=true\r\nignore-sigpipe=true\r\nignore-write-errors=true\r\nlog-maxsize=15000000\r\nlog-backupname=/var/log/cs/uwsgi.log.old\r\n\r\n# Caching config\r\n\r\ncache2=name=content,items=300,blocksize=655360,bitmap=1,ignore_full=1,purge_lru=1\r\ncache2=name=scrape,items=800,blocksize=655360,bitmap=1,ignore_full=1,purge_lru=1\r\ncache2=name=resolve,items=7000,blocksize=21846,bitmap=1,ignore_full=1,purge_lru=1\r\ncache2=name=metaknight,items=300,blocksize=327680,bitmap=1,ignore_full=1,purge_lru=1\r\n```"}}