ReleaseEngineering/How To/Unstick a Stuck Slave From A Master: Difference between revisions

Jump to navigation Jump to search
(Created page with "{{Release Engineering How To|Unstick a Stuck Slave From A Master}} Sometimes slaves can be in various wedged states, which prevents a master reconfig. If this is the case, then ...")
 
Line 5: Line 5:


= The Hard Way =
= The Hard Way =
First, use netstat to figure out what inode the socket it on:
First, use lsof to figure out what file descriptor the socket it on:
  $ /usr/sbin/lsof -p $master_pid | grep linux-ix-slave05
  $ /usr/sbin/lsof -p $master_pid | grep linux-ix-slave05
  buildbot 2788 cltbld  16u  IPv4 471638980                TCP staging-master.build.mozilla.org:9012->linux-ix-slave05.build.mozilla.org:54714 (ESTABLISHED)
  buildbot 2788 cltbld  16u  IPv4 471638980                TCP staging-master.build.mozilla.org:9012->linux-ix-slave05.build.mozilla.org:54714 (ESTABLISHED)
Confirmed users
2,456

edits

Navigation menu