Blockchain-Benchmarking / silk

Send data over arbitrary topology
0 stars 0 forks source link

Sending interrupt does not interrupt #1

Closed gauthier-voron closed 1 year ago

gauthier-voron commented 1 year ago

On jobs with high RTT and printing a lot of stuff, Ctrl-C does not stop the job. Steps to reproduce:

Expected result: the HotStuff remote processes stop Observed result: the HotStuff processes continue to execute

gauthier-voron commented 1 year ago

Able to reproduce.

$ printf '#!/bin/bash\nsleep 3600\n' | silk run -L localhost:3200 -

The interrupt signal is sent to the shell script whereas the sleep process is in foreground. The interrupt should probably be sent to the whole process tree or to the process session.

gauthier-voron commented 1 year ago

Fixed by 7db2ee5421d249d75d9d6c3188861f792c42e543