tableflip / guvnor

A node process manager that isn't spanners all the way down
MIT License
430 stars 37 forks source link

bs kill says I don't have permissions #9

Closed alanshaw closed 9 years ago

alanshaw commented 9 years ago
# bs kill
warn: You do not appear to have sufficient permissions
achingbrain commented 9 years ago

Boss starts two processes - boss and boss - node-inspector. Sometimes when an uncaught exception occurs in the main boss process, that one exits but the boss - node-inspector process fails to go down too.

To confirm:

  1. Does /var/run/boss/admin.socket exist?
  2. Is there boss - node-inspector running but no boss process?

I added some extra code to explicitly kill the boss - node-inspector process on uncaught exceptions in 2.2.0 this morning - could you try that?

alanshaw commented 9 years ago

yep, already using the latest

alanshaw commented 9 years ago
  1. No
  2. Both boss and boss inspector seem to be running:
 7767 ?        00:00:50 boss
 7773 ?        00:00:00 boss - node-ins
alanshaw commented 9 years ago

bs reported no running processes immediately before that

achingbrain commented 9 years ago

Closing because a lot of code has passed under the bridge since this issue was opened. Please reopen if you hit this bug again.