Welcome! Log In Create A New Profile

Advanced

Re: Workers CPU leak [epoll_wait,epoll_ctl]

Maxim Dounin
March 21, 2016 09:30AM
Hello!

On Sun, Mar 20, 2016 at 04:34:14PM -0400, vizl wrote:

> We found, that we are running 'truncate -s 0' to file before removing them.
> Can it potentially cause the mentioned above problems ?

Yes, for sure. This is a modification of a file being served, and
it's expected to cause the CPU hog in question when using sendfile
in threads on Linux. In nginx 1.9.13 nginx will log an alert
instead, see this commit:

http://hg.nginx.org/nginx/rev/4df3d9fcdee8

--
Maxim Dounin
http://nginx.org/

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Workers CPU leak [epoll_wait,epoll_ctl]

vizl February 24, 2016 09:17AM

Re: Workers CPU leak [epoll_wait,epoll_ctl]

vizl February 24, 2016 09:39AM

Re: Workers CPU leak [epoll_wait,epoll_ctl]

Valentin V. Bartenev February 24, 2016 10:26AM

Re: Workers CPU leak [epoll_wait,epoll_ctl]

vizl March 04, 2016 07:12AM

Re: Workers CPU leak [epoll_wait,epoll_ctl]

Maxim Konovalov March 04, 2016 07:26AM

Re: Workers CPU leak [epoll_wait,epoll_ctl]

Valentin V. Bartenev March 04, 2016 07:32AM

Re: Workers CPU leak [epoll_wait,epoll_ctl]

vizl March 04, 2016 08:25AM

Re: Workers CPU leak [epoll_wait,epoll_ctl]

Valentin V. Bartenev March 04, 2016 08:46AM

Re: Workers CPU leak [epoll_wait,epoll_ctl]

vizl March 04, 2016 09:42AM

Re: Workers CPU leak [epoll_wait,epoll_ctl]

Valentin V. Bartenev March 04, 2016 09:46AM

Re: Workers CPU leak [epoll_wait,epoll_ctl]

vizl March 09, 2016 09:28AM

Re: Workers CPU leak [epoll_wait,epoll_ctl]

Maxim Dounin March 09, 2016 10:14AM

Re: Workers CPU leak [epoll_wait,epoll_ctl]

vizl March 09, 2016 10:56AM

Re: Workers CPU leak [epoll_wait,epoll_ctl]

Maxim Dounin March 09, 2016 11:20AM

Re: Workers CPU leak [epoll_wait,epoll_ctl]

vizl March 10, 2016 09:08AM

Re: Workers CPU leak [epoll_wait,epoll_ctl]

vizl March 20, 2016 04:34PM

Re: Workers CPU leak [epoll_wait,epoll_ctl]

Maxim Konovalov March 21, 2016 04:10AM

Re: Workers CPU leak [epoll_wait,epoll_ctl]

vizl March 21, 2016 08:00AM

Re: Workers CPU leak [epoll_wait,epoll_ctl]

Maxim Dounin March 21, 2016 09:30AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 77
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready