Changeset 143512 in webkit
- Timestamp:
- Feb 20, 2013 3:00:43 PM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r143506 r143512 1 2013-02-20 David Grogan <dgrogan@chromium.org> 2 3 IndexedDB: Limit LevelDB's max open files 4 https://bugs.webkit.org/show_bug.cgi?id=109993 5 6 Reviewed by Tony Chang. 7 8 LevelDB keeps up to 1000 (by default) data files open at a time to 9 avoid having to open() them. This has caused chromium to hit the 10 process-wide open file limit. This patch changes max_open_files to 20, 11 as that's the minimum permitted by LevelDB and we have no reason to 12 think that performance will suffer because of the extra open calls. 13 14 No new tests - a chromium browser test that tracks the open LevelDB 15 files is plausible but is blocked on http://crbug.com/177249/. 16 17 * platform/leveldb/LevelDBDatabase.cpp: 18 (WebCore::openDB): 19 1 20 2013-02-20 David Hyatt <hyatt@apple.com> 2 21 -
trunk/Source/WebCore/platform/leveldb/LevelDBDatabase.cpp
r140099 r143512 134 134 options.create_if_missing = true; 135 135 options.paranoid_checks = true; 136 // 20 max_open_files is the minimum LevelDB allows. 137 options.max_open_files = 20; 136 138 options.env = env; 137 139
Note: See TracChangeset
for help on using the changeset viewer.