Reputation: 3507
I am getting a python error in eclipse as this :
"IOError: File not found - ./FASTLEXICON.7 (Too many open files)".
Here is some background : In my java program I am using a .Jar library which is using python to do some things. I can't make changes to the jar file. But while running my program from eclipse I am getting this python error as above. I am using Eclipse Galileo on Ubuntu and my python version is 2.7.1+
can anybody help?
Upvotes: 3
Views: 2645
Reputation: 823
You need to increase the OS support for number of open files.
in linux you can use to view current limit
cat /proc/sys/fs/file-max
Use ulimit to change the number
http://www.cyberciti.biz/faq/linux-increase-the-maximum-number-of-open-files/
Edit: To make limits permenent http://posidev.com/blog/2009/06/04/set-ulimit-parameters-on-ubuntu/
Upvotes: 1