GoogleCloudPlatform / google-cloud-eclipse

Google Cloud Platform plugin for Eclipse
Apache License 2.0
86 stars 49 forks source link

App Engine Process is hard to find in Activity Monitor #915

Open branflake2267 opened 8 years ago

branflake2267 commented 8 years ago

It might be worth changing the name of the process that runs app engine. It looks like a generic python process at the moment, and it makes it hard to find. If for some reason Eclipse gets killed while running the process, the app engine server is left running. And I was looking to kill it in the activity monitor but could not find it. I did find it with some commands. At worst documentation could be had for killing.

Unix commands to find the process on port 8080:

Brandons-MacBook-Pro-2:~ branflake2267$ lsof -i :8080 | grep LISTEN
Python  4452 branflake2267   12u  IPv6 0x820111f5dd900781      0t0  TCP localhost:http-alt (LISTEN)
Python  4452 branflake2267   13u  IPv4 0x820111f5e6bd4ba1      0t0  TCP localhost:http-alt (LISTEN)
Brandons-MacBook-Pro-2:~ branflake2267$ ps -ef 4452
  UID   PID  PPID   C STIME   TTY           TIME CMD
  501  4452  4449   0 11:57AM ??         0:03.03 /usr/bin/python /Users/branflake2267/bin/google-cloud-sdk/platform/google_appengine/dev_appserver.py --skip_sdk_update_check=True /Users/branflake2267/Documents/runtime-EclipseApplication/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/MyGxtProject40 --host=localhost --port=8080 --max_module_instances=1 --jvm_flag=-Dappengine.user.timezone=UTC --jvm_flag=-Xdebug --jvm_flag=-Xrunjdwp:transport=dt_socket,server=n,suspend=y,quiet=y,address=58105 --automatic_restart=false
elharo commented 8 years ago

I'm not sure this is an Eclipse issue. Perhaps Cloud SDK?