Georgetown-IR-Lab / QuickUMLS

System for Medical Concept Extraction and Linking
MIT License
376 stars 95 forks source link

LevelDBError: IO error: ../semtypes.leveldb/000063.ldb: Too many open files #24

Closed magicliulei88 closed 6 years ago

magicliulei88 commented 6 years ago

I got following error message, and it always relate to 000063.ldb with error too many open files. Do you have any suggestions?

LevelDBError Traceback (most recent call last)

in () 20 Test2(path) 21 ---> 22 Test2('/Users/magicliulei/Desktop/Ontology/QuickUMLS-master/folder_1') in Test2(rootDir) 14 #matcher.match(text, best_match=True, ignore_syntax=False) 15 #print(matcher.match(text, best_match=True, ignore_syntax=False)) ---> 16 text_file.write(str(matcher.match(text, best_match=True, ignore_syntax=False))) 17 text_file.close() 18 ~/Desktop/Ontology/QuickUMLS-master/network.py in func_request(*args, **kwargs) 158 # method_name 159 if isinstance(data, Exception): --> 160 raise data 161 162 return data LevelDBError: IO error: Results/cui-semtypes.db/semtypes.leveldb/000063.ldb: Too many open files
soldni commented 6 years ago

@magicliulei88,

Please see this issue for a solution to your problem.

-Luca