<p>Check if you have a relevant setting in one of these</p>
<ul>
<li>Start up app at <code>System Preferences / Users &amp; Groups / Login Items</code></li>
<li>Config file at <code>~/Library/Application Support/Bitcoin/</code></li>
<li>A <code>bitcoind -daemon</code> in <code>~/.bash_profile</code></li>
</ul>
<p>You could run <code>ps aux | grep bitcoind</code> to check where it is executing from and then delete that folder.</p>

CC BY-SA 4.0
2020-09-10T05:29:16.420Z
2020-09-10T05:29:16.420Z
givanse
<p>You could open up the Terminal and run <code>pkill bitcoind</code>, it should kill it if it is still running.</p>

CC BY-SA 4.0
2020-09-09T16:53:23.897Z
2020-09-09T16:53:23.897Z
Zero-1729
<p>One of my kids while learning more about bitcoin started bitcoind on my mac. Now I am unable to stop it. In my activity monitor, it shows a process named &quot;bitcoind&quot;. I have stopped that process from the activity monitor various times but that doesn't help. It starts again after some time or in the next boot session. It has been taking a lot of my laptop space (&gt;100gb). I am running low on space and I need to stop it now. This has been happening regularly. As a temporary solution, I used to go to /Users/[name]/Library/Application Support/ and delete the &quot;Bitcoin&quot; folder from there. But that's no proper solution to end it completely. I have tried a bunch of stuff using bitcoin-cli in the terminal. However, I am unable to stop it.</p>
<p>Running
<code>bitcoin-cli stop</code> returns <code>error: couldn't connect to server: unknown (code -1) (make sure server is running and you are connecting to the correct RPC port)</code>.</p>
<p>Can someone please tell me what should I do to stop the bitcoind?</p>

CC BY-SA 4.0
2020-09-09T16:46:09.487Z
If you do `ps` in the command line do you see a bitcoind process? If you don't there isn't a bitcoind process running. If you do, does it say testnet next to it?
Michael Folkson
CC BY-SA 4.0
2020-09-09T16:49:46.047Z
Regardless once you do `ps` you can get the process PID number and then do `kill insert_PID_here` replacing insert_PID_here with the PID number of the bitcoind process
Michael Folkson
CC BY-SA 4.0
2020-09-10T05:14:26.260Z
bitcoin is unstoppable XD
givanse
<bitcoin-core><bitcoind><bitcoin-cli>
Stopping bitcoind on mac
Vedant Sharma
# Stopping bitcoind on mac

(Asked by: username_0 on 2020-09-09)

One of my kids while learning more about bitcoin started bitcoind on my mac. Now I am unable to stop it. In my activity monitor, it shows a process named "bitcoind". I have stopped that process from the activity monitor various times but that doesn't help. It starts again after some time or in the next boot session. It has been taking a lot of my laptop space (>100gb). I am running low on space and I need to stop it now. This has been happening regularly. As a temporary solution, I used to go to /Users/[name]/Library/Application Support/ and delete the "Bitcoin" folder from there. But that's no proper solution to end it completely. I have tried a bunch of stuff using bitcoin-cli in the terminal. However, I am unable to stop it.

Running
`bitcoin-cli stop` returns `error: couldn't connect to server: unknown (code -1) (make sure server is running and you are connecting to the correct RPC port)`.

Can someone please tell me what should I do to stop the bitcoind?

**Tags:** bitcoin-core, bitcoind, bitcoin-cli

> **Comments:**
> **username_1**: If you do `ps` in the command line do you see a bitcoind process? If you don't there isn't a bitcoind process running. If you do, does it say testnet next to it?  
> **username_1**: Regardless once you do `ps` you can get the process PID number and then do `kill insert_PID_here` replacing insert_PID_here with the PID number of the bitcoind process  
> **username_2**: bitcoin is unstoppable XD  

---

## 2 answers

### Answer by username_2 on 2020-09-10. Score: 2

Check if you have a relevant setting in one of these

* Start up app at `System Preferences / Users & Groups / Login Items`
* Config file at `~/Library/Application Support/Bitcoin/`
* A `bitcoind -daemon` in `~/.bash_profile`

You could run `ps aux | grep bitcoind` to check where it is executing from and then delete that folder.


---

### Answer by username_3 on 2020-09-09. Score: 0

You could open up the Terminal and run `pkill bitcoind`, it should kill it if it is still running.


---

