{"action":"created","issue":{"url":"https://api.github.com/repos/leo-project/leofs/issues/469","repository_url":"https://api.github.com/repos/leo-project/leofs","labels_url":"https://api.github.com/repos/leo-project/leofs/issues/469/labels{/name}","comments_url":"https://api.github.com/repos/leo-project/leofs/issues/469/comments","events_url":"https://api.github.com/repos/leo-project/leofs/issues/469/events","html_url":"https://github.com/leo-project/leofs/issues/469","id":143795656,"number":469,"title":"Weird problem when getting files ~25MB","user":{"login":"gkyildirim","id":2904363,"avatar_url":"https://avatars.githubusercontent.com/u/2904363?v=3","gravatar_id":"","url":"https://api.github.com/users/gkyildirim","html_url":"https://github.com/gkyildirim","followers_url":"https://api.github.com/users/gkyildirim/followers","following_url":"https://api.github.com/users/gkyildirim/following{/other_user}","gists_url":"https://api.github.com/users/gkyildirim/gists{/gist_id}","starred_url":"https://api.github.com/users/gkyildirim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gkyildirim/subscriptions","organizations_url":"https://api.github.com/users/gkyildirim/orgs","repos_url":"https://api.github.com/users/gkyildirim/repos","events_url":"https://api.github.com/users/gkyildirim/events{/privacy}","received_events_url":"https://api.github.com/users/gkyildirim/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-03-27T10:27:31Z","updated_at":"2016-03-28T06:37:36Z","closed_at":null,"body":"This is my first attempt to work with leofs. Please let me know if this is a well known issue.\r\n\r\nI am running leofs-1.2.20 over a single ubuntu-14.0.4. Configurations are all default. I've created a new bucket and make it public-read-write.\r\n\r\nI observe a weird problem. I put a 25MB file (with dragon disk). Then I can get it successfully at my first attempt. But after that I can not get the same file anymore. For example curl exits with \"curl: (18) transfer closed with 26246026 bytes remaining to read\". This is also true for dragon disk.\r\n\r\nI run a short test and I've observed same issue with files between 3MB-40MB. Files below 3MB and files above 40MB has no problem.\r\n"},"comment":{"url":"https://api.github.com/repos/leo-project/leofs/issues/comments/202259807","html_url":"https://github.com/leo-project/leofs/issues/469#issuecomment-202259807","issue_url":"https://api.github.com/repos/leo-project/leofs/issues/469","id":202259807,"user":{"login":"yosukehara","id":148770,"avatar_url":"https://avatars.githubusercontent.com/u/148770?v=3","gravatar_id":"","url":"https://api.github.com/users/yosukehara","html_url":"https://github.com/yosukehara","followers_url":"https://api.github.com/users/yosukehara/followers","following_url":"https://api.github.com/users/yosukehara/following{/other_user}","gists_url":"https://api.github.com/users/yosukehara/gists{/gist_id}","starred_url":"https://api.github.com/users/yosukehara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yosukehara/subscriptions","organizations_url":"https://api.github.com/users/yosukehara/orgs","repos_url":"https://api.github.com/users/yosukehara/repos","events_url":"https://api.github.com/users/yosukehara/events{/privacy}","received_events_url":"https://api.github.com/users/yosukehara/received_events","type":"User","site_admin":false},"created_at":"2016-03-28T06:37:36Z","updated_at":"2016-03-28T06:37:36Z","body":"@gkyildirim I've also reproduce this on my environment. If you don't want to face this situation, you can modify [disk cache configuration@leo_gateway](https://github.com/leo-project/leo_gateway/blob/develop/priv/leo_gateway.conf#L138) for now as below:\r\n\r\n```bash\r\n# https://github.com/leo-project/leo_gateway/blob/develop/priv/leo_gateway.conf#L138\r\ncache.cache_disc_capacity = 0\r\n```\r\n\r\nWe're going to fix this issue soon."}}