Broken terminal - [forkpty: Resource temporarily unavailable][Could not create a new process and open a pseudo-tty.]

Viewed 19519

I can't start up my terminal on MacOS 10.12

I get the following message:

[forkpty: Resource temporarily unavailable][Could not create a new process and open a pseudo-tty.]

How do I resolve this?

5 Answers

Maybe you opened too many apps, so computer's Memory not enough. I just opened too many apps, and my iterm2 & terminal broke down, till quitted some useless app, reopen the two, everything going to be OK. My Mac is MBA2017 8G.

I had this issue for almost a week and it was driving me nuts because I would have to restart my computer every. single. time.

Sorry but restarting your computer every single time is hardly a solution.

In my case, it was a cron process. I had the process running every minute which seemed to be using up a lot of memory. Steps to solve the problem in my case were:

  1. Run crontab -e and reduced the frequency of the cron process running.
  2. Run Activity Monitor.
  3. If the Activity Monitor icon jumps up and down and doesn't open up, close down some programs. In my case, I shut down Evernote and Slack. That freed up some memory, I think and Activity Monitor opened up.
  4. Click on the Process Name tab in Activity Monitor to arrange processes in alphabetical order.
  5. Scroll down, and you may see a process that keeps repeating. (Here, I saw a lot of cron)
  6. You want to stop all those processes. Select all the renegade processes and in the top left corner, click the x to quit them all. .
  7. That solved my problem.

I will watch over the next few days. If anything changes, I will update. Otherwise, that means it worked.

Goodluck!

Related