{"action":"closed","issue":{"url":"https://api.github.com/repos/darrenfu/bigdata/issues/3","labels_url":"https://api.github.com/repos/darrenfu/bigdata/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/darrenfu/bigdata/issues/3/comments","events_url":"https://api.github.com/repos/darrenfu/bigdata/issues/3/events","html_url":"https://github.com/darrenfu/bigdata/issues/3","id":123957293,"number":3,"title":"How to delete unseen linux large file?","user":{"login":"darrenfu","id":522549,"avatar_url":"https://avatars.githubusercontent.com/u/522549?v=3","gravatar_id":"","url":"https://api.github.com/users/darrenfu","html_url":"https://github.com/darrenfu","followers_url":"https://api.github.com/users/darrenfu/followers","following_url":"https://api.github.com/users/darrenfu/following{/other_user}","gists_url":"https://api.github.com/users/darrenfu/gists{/gist_id}","starred_url":"https://api.github.com/users/darrenfu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darrenfu/subscriptions","organizations_url":"https://api.github.com/users/darrenfu/orgs","repos_url":"https://api.github.com/users/darrenfu/repos","events_url":"https://api.github.com/users/darrenfu/events{/privacy}","received_events_url":"https://api.github.com/users/darrenfu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"darrenfu","id":522549,"avatar_url":"https://avatars.githubusercontent.com/u/522549?v=3","gravatar_id":"","url":"https://api.github.com/users/darrenfu","html_url":"https://github.com/darrenfu","followers_url":"https://api.github.com/users/darrenfu/followers","following_url":"https://api.github.com/users/darrenfu/following{/other_user}","gists_url":"https://api.github.com/users/darrenfu/gists{/gist_id}","starred_url":"https://api.github.com/users/darrenfu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darrenfu/subscriptions","organizations_url":"https://api.github.com/users/darrenfu/orgs","repos_url":"https://api.github.com/users/darrenfu/repos","events_url":"https://api.github.com/users/darrenfu/events{/privacy}","received_events_url":"https://api.github.com/users/darrenfu/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-12-27T02:47:32Z","updated_at":"2015-12-27T02:48:40Z","closed_at":"2015-12-27T02:48:40Z","body":"There were two cases we met:  \r\n* Storm worker log file\r\n* graphite log file\r\n\r\nFind and remove large files that are open but have been deleted on Linux or Unix:  \r\n```\r\n## Works on Linux/Unix/OSX/BSD etc ##\r\nlsof -nP | grep '(deleted)'    \r\n## Only works on Linux ##\r\nfind /proc/*/fd -ls | grep  '(deleted)'\r\n```\r\nTo truncate it:  \r\n```\r\n ## works on Linux/Unix/BSD/OSX etc all ##\r\n> \"/path/to/the/deleted/file.name\"\r\n## works on Linux only ##\r\n> \"/proc/PID-HERE/fd/FD-HERE\"\r\n```\r\nhttp://www.cyberciti.biz/datacenter/linux-unix-bsd-osx-cannot-write-to-hard-disk/\r\n"}}