I am using Ubuntu 14.04LTS 64bit.

I encounter this problem when I opened too many files by a emacs function. Error is signaled as a message and prevent me from opening more files.

I checked my ulimit -a which shows my open files limit is 1024. So I changed the files limit to 4096 by this method.

After that, when I tried to open files more than 1024, emacs quit instantly without signaling any error.

Any suggestion to this problem?

  • 3
    You're visiting >1024 files inside Emacs? Or do you mean you've caused this many open file-handles, due to accessing files without visiting them? Either way, surely your problem is that you are doing that in the first place, not that the limit is unreasonable?
    – phils
    Apr 9 '16 at 9:12
  • That is a lot of open files. Maybe you should look for another way to do what you want? Apr 9 '16 at 9:14
  • Yes. Because because invoking a start-process make a \dev\pts\number file. I am trying to implement some multithread feature and test how many maximum start-process can be done. I wonder if file limit is the bottleneck.
    – tom
    Apr 9 '16 at 9:14
  • 3
    Did you pay your GNU Emacs subscription fee on time? If not, your service is cut off after a certain number of files. You only get a certain number of free file visits. ;-)
    – Drew
    Apr 9 '16 at 14:49
  • Where do I have to pay my subscription? Is there a student discount? Dec 2 '19 at 7:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.