Compiling Nginx on production. How to do it without down time.

Valentin V. Bartenev ne at vbart.ru
Sat Oct 13 12:10:48 UTC 2012


On Saturday 13 October 2012 04:25:36 Bob S. wrote:
> I don't see how this can work.
> 
> Trying to replace the nginx executable with a new version of nginx, while
> nginx is running,  will produce:
> 
> cp: cannot create regular file `nginx': Text file busy
> 
> Or am I missing something?
> 
> This is standard behavior on any running executable in Linux.

This is just a warning produced by "cp", you can force it with -f flag.

 wbr, Valentin V. Bartenev

--
http://nginx.com/support.html



More information about the nginx mailing list