mcollina/autocannon

Running parallel benchmarks using `&` chaining does not exit correctly on Linux

Open

#115 ouverte le 25 janv. 2018

Voir sur GitHub
 (0 commentaires) (1 réaction) (0 assignés)JavaScript (7 425 stars) (332 forks)batch import
bughelp wanted

Description

The following code leaves ghost processes running after exit on Linux:

$ autocannon -d 20 -c 100 http://localhost:3000/a & autocannon -d 20 -c 100 http://localhost:3000/b & autocannon -d 20 -c 100 http://localhost:3000/c

This happens both when interrupted (C-c) and after finishing. Observed in both Fish shell and Bash.

Guide contributeur