mongodb-labs / drivers-evergreen-tools

Scripts for MongoDB drivers to bootstrap their Evergreen configuration file - This Repository is NOT a supported MongoDB product
10 stars 64 forks source link

Support handling multiple PIDs in killport #509

Closed eramongodb closed 3 weeks ago

eramongodb commented 3 weeks ago

Addresses the following possible error on certain distros (e.g. Ubuntu 18.04) due to lsof returning more than one PID:

start-orchestration.sh: line 76: kill: 4850
5401: arguments must be process or job IDs

Extends all find-and-kill-PID routines to support the possibility of multiple PIDs being returned by the PID query command.