steveandroulakis / mytardis-lighthouse-migrate-test

testing migrations from http://mytardis.lighthouseapp.com/ to Github Issues
0 stars 0 forks source link

'mytardis stop' command doesn't stop processes on CentOS 6 #104

Open steveandroulakis opened 11 years ago

steveandroulakis commented 11 years ago

Command based on the template below doesn't work for CentOS 6 -

https://github.com/mytardis/mytardis/blob/master/foreman/process.conf.erb

MyTardis appears to stop, but processes remain alive.

original LH ticket

This ticket has 0 attachment(s).

steveandroulakis commented 11 years ago

’mytardis stop’ command doesn’t stop processes on CentOS 6

by Steve Androulakis

steveandroulakis commented 11 years ago

’mytardis stop’ command doesn’t stop processes on CentOS 6

This appears to do the trick when executed in the terminal:

ps auxww | grep uwsgi | awk ’{print $2}’ | xargs kill -9; ps auxww | grep celery | awk ’{print $2}’ | xargs kill -9;

Though it may be overzealous!

by Steve Androulakis