Restarting service takes too much time

Charlie Kilo krikkiteer at
Mon Dec 5 20:43:18 UTC 2022

I know the problem also from an environment with many sites and thousands
of ips to bind to. for us the problem  is that nginx binds every worker to
every ip sequentially - leading to a restart time of 10-15 minutes. the
problem can easily be observed using strace on the master process during
startup.. we couldn't find an easy solution so far.

Gus Flowers Starkiller <relectgustfs at> schrieb am Do., 1. Dez.
2022, 04:42:

> Hi, please could anyone tell me why the nginx service takes too much time
> to restart? As we know, after some change with nginx the service must be
> restarted, I do this with "nginx -s reload" or "systemctl restart nginx",
> and this takes some three minutes or more. This process is happening in
> servers with many websites (eg 200 sites). So, with a new nginx this
> restart of nginx is immediate but with many sites this restart process of
> nginx is very slow, I am using Debian with nginx and OWASP.
> Thanks for your help.
> --
> *Gus Flowers*
> _______________________________________________
> nginx mailing list -- nginx at
> To unsubscribe send an email to nginx-leave at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list