tell me your feature request about nginx

strangepics strangepics at gmail.com
Sun Jun 15 03:40:54 MSD 2008


Igor Sysoev wrote:
> FreeBSD's newsyslog can be run by cron every minute to rotate logs based
> on file size and to keep a predefined number of logs.
> There is no sense to log to a pipe to achieve this.
> Logging to pipe causes useless context switches, memory copy operations,
> and CPU cache trashes:

Gotcha. Thanks.

socklog then: http://smarden.org/socklog/benefits.html


> instead of single copy operation.
> 
>> Drop of root priveleges once it's bound and chroot as well. Even
>> Lighttpd does that.
> 
> Lighttpd drops root because it handles client connections in single process.
> nginx handles the connections in worker process that run as unprivileged user.
> 
> 






More information about the nginx mailing list