On Thu, Mar 29, 2018 at 08:51:08AM +0000, Antonio Nappa wrote:
> Hi,
>
> I was wondering what happens with ngx_write_fd function and multiple
> workers, I have made some tests and it doesn't look like they are
> interfering with each other and writing in the middle of a line. However I
> am not sure, that's the reason of my question. The file was opened with the
> ngx_conf_open_file.
This is guaranteed by opening the files with O_APPEND; see
ngx_init_cycle() and NGX_FILE_APPEND.
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel