diff --git a/sanic/server.py b/sanic/server.py index d408eb06eb..6fff747fb8 100644 --- a/sanic/server.py +++ b/sanic/server.py @@ -927,7 +927,7 @@ def sig_handler(signal, frame): signal_func(SIGINT, lambda s, f: sig_handler(s, f)) signal_func(SIGTERM, lambda s, f: sig_handler(s, f)) - mp = multiprocessing.get_context("spawn") + mp = multiprocessing.get_context("fork") for _ in range(workers): process = mp.Process(target=serve, kwargs=server_settings)