---
# System prepended metadata

title: Untitled

---

## Gotchas with rake server

If you have a rogue server that you need to track down and kill:

```rb
ps -ax | grep config.ru
```

This will show something like this: 

75324 ttys013    0:02.17 ruby /Users/dakotamartinez/.rvm/gems/ruby-2.7.4/bin/rerun -b rackup config.ru    
79156 ttys013    0:01.50 ruby /Users/dakotamartinez/.rvm/gems/ruby-2.7.4/bin/rackup config.ru   
79190 ttys014    0:00.00 grep config.ru

`ps -ax` will list all running processes. The `| grep config.ru` will search through those results and only display those that include config.ru. This should show all of the running rack servers. You want to kill all of those and then you'll be able to run `rake server` again with confidence that only the one you're looking at is responding to requests.

You'll want to kill the running processes like so:

```
kill -9 75324
kill -9 79156
```

Then you should be able to start up `rake server` and ensure that your server is the only one currently running!