{"action":"closed","issue":{"url":"https://api.github.com/repos/translate/pootle/issues/4062","labels_url":"https://api.github.com/repos/translate/pootle/issues/4062/labels{/name}","comments_url":"https://api.github.com/repos/translate/pootle/issues/4062/comments","events_url":"https://api.github.com/repos/translate/pootle/issues/4062/events","html_url":"https://github.com/translate/pootle/issues/4062","id":106317902,"number":4062,"title":"Can't retry failed jobs and refresh_stats","user":{"login":"JohnnyKing94","id":4331193,"avatar_url":"https://avatars.githubusercontent.com/u/4331193?v=3","gravatar_id":"","url":"https://api.github.com/users/JohnnyKing94","html_url":"https://github.com/JohnnyKing94","followers_url":"https://api.github.com/users/JohnnyKing94/followers","following_url":"https://api.github.com/users/JohnnyKing94/following{/other_user}","gists_url":"https://api.github.com/users/JohnnyKing94/gists{/gist_id}","starred_url":"https://api.github.com/users/JohnnyKing94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohnnyKing94/subscriptions","organizations_url":"https://api.github.com/users/JohnnyKing94/orgs","repos_url":"https://api.github.com/users/JohnnyKing94/repos","events_url":"https://api.github.com/users/JohnnyKing94/events{/privacy}","received_events_url":"https://api.github.com/users/JohnnyKing94/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-09-14T10:55:51Z","updated_at":"2015-09-19T15:12:34Z","closed_at":"2015-09-19T15:12:34Z","body":"Since you closed my issue without considering my last reply (and that is bad, the beauty of reporting an issue is to fix that)... anyway i tried everything was on internet but i keep having this\r\n\r\n```pytb\r\nTraceback (most recent call last):\r\n  File \"/home/desktop/Pubblici/Envs/pootle/local/lib/python2.7/site-packages/rq/worker.py\", line 568, in perform_job\r\n    rv = job.perform()\r\n  File \"/home/desktop/Pubblici/Envs/pootle/local/lib/python2.7/site-packages/rq/job.py\", line 495, in perform\r\n    self._result = self.func(*self.args, **self.kwargs)\r\n  File \"/home/desktop/Pubblici/Envs/pootle/local/lib/python2.7/site-packages/pootle/apps/pootle_app/management/commands/refresh_stats.py\", line 459, in refresh_stats\r\n    super(Command, Command()).handle_noargs(**options)\r\n  File \"/home/desktop/Pubblici/Envs/pootle/local/lib/python2.7/site-packages/pootle/apps/pootle_app/management/commands/__init__.py\", line 97, in handle_noargs\r\n    self.handle_all(**options)\r\n  File \"/home/desktop/Pubblici/Envs/pootle/local/lib/python2.7/site-packages/pootle/apps/pootle_app/management/commands/refresh_stats.py\", line 130, in handle_all\r\n    super(Command, self).handle_all(**options)\r\n  File \"/home/desktop/Pubblici/Envs/pootle/local/lib/python2.7/site-packages/pootle/apps/pootle_app/management/commands/__init__.py\", line 112, in handle_all\r\n    for project in project_query.iterator():\r\n  File \"/home/desktop/Pubblici/Envs/pootle/local/lib/python2.7/site-packages/django/db/models/query.py\", line 265, in iterator\r\n    for row in compiler.results_iter():\r\n  File \"/home/desktop/Pubblici/Envs/pootle/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py\", line 701, in results_iter\r\n    for rows in self.execute_sql(MULTI):\r\n  File \"/home/desktop/Pubblici/Envs/pootle/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py\", line 787, in execute_sql\r\n    cursor.execute(sql, params)\r\n  File \"/home/desktop/Pubblici/Envs/pootle/local/lib/python2.7/site-packages/django/db/backends/utils.py\", line 65, in execute\r\n    return self.cursor.execute(sql, params)\r\n  File \"/home/desktop/Pubblici/Envs/pootle/local/lib/python2.7/site-packages/django/db/utils.py\", line 94, in __exit__\r\n    six.reraise(dj_exc_type, dj_exc_value, traceback)\r\n  File \"/home/desktop/Pubblici/Envs/pootle/local/lib/python2.7/site-packages/django/db/backends/utils.py\", line 65, in execute\r\n    return self.cursor.execute(sql, params)\r\n  File \"/home/desktop/Pubblici/Envs/pootle/local/lib/python2.7/site-packages/django/db/backends/mysql/base.py\", line 129, in execute\r\n    return self.cursor.execute(query, args)\r\n  File \"/home/desktop/Pubblici/Envs/pootle/local/lib/python2.7/site-packages/MySQLdb/cursors.py\", line 205, in execute\r\n    self.errorhandler(self, exc, value)\r\n  File \"/home/desktop/Pubblici/Envs/pootle/local/lib/python2.7/site-packages/MySQLdb/connections.py\", line 36, in defaulterrorhandler\r\n    raise errorclass, errorvalue\r\nOperationalError: (2006, 'MySQL server has gone away')\r\n2015-09-14T10:49:08 Moving job to u'failed' queue\r\n2015-09-14T10:49:08\r\n```\r\n\r\nI have 12 failed jobs, i keep using \"pootle retry_failed_jobs\" but i increase the jobs failed.\r\nAccording to the guides on internet I increased the ```max_allowed_packet=64M``` in ```my.conf``` and the ```wait_timeout=600``` too\r\nIT DIDN'T WORK... so the final solution is pootle... please dont close the issue and try to fix/help\r\n"}}