I have an org project that has many .org files (more than 300). When I invoke org-publish in Emacs, after a while it aborts and shows:

Publishing file e:/git/blog.site.src/src/org/life/day-time-plan.org using `org-html-publish-to-html'
Parsing config file...
apply: Creating pipe: too many open files
  • Emacs version: 24.5.1
  • Org Mode version: 8.2.10
  • OS: Windows 8

I found a similar issue here: https://github.com/OmniSharp/omnisharp-emacs/issues/132

... but there doesn't seem to be a known fix. Can anybody help me with this? Any info is appreciated.

  • What platform are you on? Windows or Unix?
    – stsquad
    Jun 2, 2015 at 11:10
  • @stsquad Windows x64
    – Jun
    Jun 2, 2015 at 12:54
  • You could be hitting the 512 open file limit. You could try manually executing (org-publish-all t t) and see if that helps. The async call means a new process is created to do the actual publishing work.
    – stsquad
    Jun 2, 2015 at 14:53
  • @stsquad : i get this from *Messages* when i execute (org-publish-all t t): Initializing asynchronous export process Process 'org-export-process' exited abnormally . didn't org-publish close the file when it process a org file done ?
    – Jun
    Jun 4, 2015 at 2:02
  • @itsjeyd : thank you for improving grammar. sorry for my english .
    – Jun
    Jun 4, 2015 at 2:04


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.