2

I am using AmazonAWS server to run my application. To start the application I am using:

RACK_BASE_URI=/project bundle exec rackup -D

To stop the application I am using:

ps -ef|grep <port>
pkill <pid>

Even then the application is running. Can anyone tell me how to stop the application?

the Tin Man
  • 158,662
  • 42
  • 215
  • 303
Ramesh
  • 347
  • 3
  • 11

1 Answers1

2

you can try top and then kill <pid> the ruby process

user2477462
  • 117
  • 6
  • 1
    The first and second comments to the question says that `kill -9 ` didn't work. Why would `kill ` work without the `kill` signal? `9 = KILL (non-catchable, non-ignorable kill)` – the Tin Man Jun 18 '13 at 07:43