Welcome! Log In Create A New Profile

Advanced

Re: Workers CPU leak [epoll_wait,epoll_ctl]

Maxim Dounin
March 09, 2016 11:20AM
Hello!

On Wed, Mar 09, 2016 at 10:56:40AM -0500, vizl wrote:

> Thank you.
> We don't make any changes with files or overwrite them while sendfile
> processing it.
> Only create temp file and then mv it.

The debug log suggests this is not true.

> Maybe Is it the same bug concerned with treads aio like in this messeges,
> https://forum.nginx.org/read.php?21,264701,265016#msg-265016
> and it would be fixed in future ?

Yes, and the patch provided links to the very same thread and
resolves the problem in nginx, i.e., CPU hog. With the patch an
alert will be correctly logged.

Note well that the root cause of CPU hog observed are non-atomic
file updates. You will still see other problems till this is
resolved (including data corruption), even with the patch.

--
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