{"action":"created","issue":{"url":"https://api.github.com/repos/graphite-project/graphite-web/issues/282","labels_url":"https://api.github.com/repos/graphite-project/graphite-web/issues/282/labels{/name}","comments_url":"https://api.github.com/repos/graphite-project/graphite-web/issues/282/comments","events_url":"https://api.github.com/repos/graphite-project/graphite-web/issues/282/events","html_url":"https://github.com/graphite-project/graphite-web/issues/282","id":12942883,"number":282,"title":"Sporadic exception - datalib.py in fetchData","user":{"login":"syepes","id":333081,"avatar_url":"https://avatars.githubusercontent.com/u/333081?v=3","gravatar_id":"","url":"https://api.github.com/users/syepes","html_url":"https://github.com/syepes","followers_url":"https://api.github.com/users/syepes/followers","following_url":"https://api.github.com/users/syepes/following{/other_user}","gists_url":"https://api.github.com/users/syepes/gists{/gist_id}","starred_url":"https://api.github.com/users/syepes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/syepes/subscriptions","organizations_url":"https://api.github.com/users/syepes/orgs","repos_url":"https://api.github.com/users/syepes/repos","events_url":"https://api.github.com/users/syepes/events{/privacy}","received_events_url":"https://api.github.com/users/syepes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2013-04-08T20:35:40Z","updated_at":"2015-01-28T22:26:17Z","closed_at":null,"body":"Hello,\r\n\r\nRecently I have noticed that we are getting the same sporadic exception:\r\n\r\n/opt/graphite/storage/log/webapp/exception.log\r\n```\r\nMon Apr 08 16:18:36 2013 :: Exception Caught\r\nTraceback (most recent call last):\r\n  File \"/opt/graphite/webapp/graphite/render/datalib.py\", line 230, in fetchData\r\n    cachedResults = CarbonLink.query(dbFile.real_metric)\r\n  File \"/opt/graphite/webapp/graphite/render/datalib.py\", line 139, in query\r\n    results = self.send_request(request)\r\n  File \"/opt/graphite/webapp/graphite/render/datalib.py\", line 165, in send_request\r\n    result = self.recv_response(conn)\r\n  File \"/opt/graphite/webapp/graphite/render/datalib.py\", line 177, in recv_response\r\n    len_prefix = recv_exactly(conn, 4)\r\n  File \"/opt/graphite/webapp/graphite/render/datalib.py\", line 190, in recv_exactly\r\n    data = conn.recv( num_bytes - len(buf) )\r\ntimeout: timed out\r\n```\r\n\r\nAnyone know what could be causing this exception?\r\n\r\nWe are running the off the 0.9.x branch.\r\n\r\nBest regards,\r\nSebas"},"comment":{"url":"https://api.github.com/repos/graphite-project/graphite-web/issues/comments/71930012","html_url":"https://github.com/graphite-project/graphite-web/issues/282#issuecomment-71930012","issue_url":"https://api.github.com/repos/graphite-project/graphite-web/issues/282","id":71930012,"user":{"login":"stevebanik","id":3835734,"avatar_url":"https://avatars.githubusercontent.com/u/3835734?v=3","gravatar_id":"","url":"https://api.github.com/users/stevebanik","html_url":"https://github.com/stevebanik","followers_url":"https://api.github.com/users/stevebanik/followers","following_url":"https://api.github.com/users/stevebanik/following{/other_user}","gists_url":"https://api.github.com/users/stevebanik/gists{/gist_id}","starred_url":"https://api.github.com/users/stevebanik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevebanik/subscriptions","organizations_url":"https://api.github.com/users/stevebanik/orgs","repos_url":"https://api.github.com/users/stevebanik/repos","events_url":"https://api.github.com/users/stevebanik/events{/privacy}","received_events_url":"https://api.github.com/users/stevebanik/received_events","type":"User","site_admin":false},"created_at":"2015-01-28T22:26:17Z","updated_at":"2015-01-28T22:26:17Z","body":"I have increased CARBONLINK_TIMEOUT to 30.0 and I'm still seeing the timeout in datalib.py.  'iostat' shows my RAID5 SSD %util at about 98% at all times.  I have 98GB of RAM.  Are there any tips/tricks on how to effectively balance in-memory vs on-disk reads, writes and lookups? "}}