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 (332 forks)batch import
bughelp wanted

Repository metrics

Stars
 (7,425 stars)
PR merge metrics
 (No merged PRs in 30d)

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