{"action":"opened","issue":{"url":"https://api.github.com/repos/chrsmithdemos/leveldb/issues/4","labels_url":"https://api.github.com/repos/chrsmithdemos/leveldb/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/chrsmithdemos/leveldb/issues/4/comments","events_url":"https://api.github.com/repos/chrsmithdemos/leveldb/issues/4/events","html_url":"https://github.com/chrsmithdemos/leveldb/issues/4","id":58997312,"number":4,"title":"db_bench crashing on large number of entries","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chrsmithdemos/leveldb/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/chrsmithdemos/leveldb/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/chrsmithdemos/leveldb/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-26T00:40:35Z","updated_at":"2015-02-26T00:40:35Z","closed_at":null,"body":"```\nI ran a modified db_bench with --num=10 to --num=10^9 (by multiples of 10) to \ntest the scaling of leveldb.\nMy modifications statically link snappy into the posix version of leveldb; I've \nattached the diff.\nAt --num=10^8 and --num=10^9 problems start occuring. stat.txt which shows the \noutput of all the runs. \n\n10^8 was killed during the overwrite benchmark at 23300000 ops, but I was not \nable to reproduce the error using 'db_bench --num=100000000 \n--benchmarks=overwrite'.\n\n10^9 generated the following error during fillrandom:\n    put error: IO error: /tmp/dbbench/006484.log: Too many open files\nRunning 'db_bench --num=1000000000 --benchmarks=fillrandom' reproduced the \nerror.\n\nBuilt (patched) r27 of leveldb and r35 of snappy with:\n$ gcc --version\ngcc (Ubuntu/Linaro 4.4.4-14ubuntu5) 4.4.5\n```\n\n-----\nOriginal issue reported on code.google.com by `teo...@gmail.com` on 10 May 2011 at 11:17\n\nAttachments:\n* [stat.txt](https://storage.googleapis.com/google-code-attachments/leveldb/issue-4/comment-0/stat.txt)\n* [snappy_patch.diff](https://storage.googleapis.com/google-code-attachments/leveldb/issue-4/comment-0/snappy_patch.diff)\n"}}