Add max_open_files config, default is 100
Merge pull request #452 from ideawu/dev

Add max_open_files config, default is 100