mcollina/autocannon

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

Open

#115 opened on Jan 25, 2018

View on GitHub
 (0 comments) (1 reaction) (0 assignees)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.

Contributor guide

Running parallel benchmarks using `&` chaining does not exit correctly on Linux · mcollina/autocannon#115 | Good First Issue