treemacs
treemacs copied to clipboard
"pfuture-new fail to spawn child process" error on Windows
Hi,
- I am on Windows 11.
- My Emacs is 28.
- I am not using a MinGW or Cygwin environment.
When I use Treemacs and Magit together, I often get below error.
error in process sentinel: pfuture-new: Spawning child process: Resource temporarily unavailable
error in process sentinel: Spawning child process: Resource temporarily unavailable
Most of the time, no things seem to break. But sometimes, the Emacs window will freeze, and I have to kill the process.
I am not sure if this error is caused by Treemacs or a combination of Treemacs and Magit operations.
I tried to reduce the value of the treemacs-max-git-entries
parameter but does not have any effect on this issue.
This issue has been automatically marked as stale because it has not had recent activity.
Do you see anything suspicious when you call list-processes
, like a bunch of old processes still being listed?
Which process would that be? On my system, it is usually clean. Sometimes, it has a python
process hanging there.
Python is what treemacs starts to do its async stuff. If you only see the occasional python process and there is no large list of zombies, then this is not the cause of your problem.
Other than that I cannot say what limit you are running into. I don't use windows with Emacs myself, and google doesn't seem to have anything useful either. At most you can disable treemacs-git-mode for a while and see if that helps.
This issue has been automatically marked as stale because it has not had recent activity (this bot only works as a reminder, it will not close issues).