Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1534877 > unrolled thread

epoll_wait inaccurate timeout

Started byDmitry Banschikov <me@ubique.spb.ru>
First post2016-12-02 13:20 +0100
Last post2016-12-02 13:20 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  epoll_wait inaccurate timeout Dmitry Banschikov <me@ubique.spb.ru> - 2016-12-02 13:20 +0100

#1534877 — epoll_wait inaccurate timeout

FromDmitry Banschikov <me@ubique.spb.ru>
Date2016-12-02 13:20 +0100
Subjectepoll_wait inaccurate timeout
Message-ID<sJUYN-3L6-9@gated-at.bofh.it>
Hi!

I have a problem caused by inaccurate timeouts in epoll_wait(2).
Here are some parts of strace -tt output:

22578 09:33:46.959791 epoll_wait(5,  <unfinished ...>
22578 09:33:50.010794 <... epoll_wait resumed> [], 128, 1498) = 0
...
22034 09:35:07.686896 epoll_wait(5,  <unfinished ...>
22034 09:35:09.482526 <... epoll_wait resumed> [{EPOLLIN,
{u32=151458248, u64=151458248}}], 128, 362) = 1
...
22036 09:35:41.433241 epoll_wait(5,  <unfinished ...>
22036 09:35:43.176881 <... epoll_wait resumed> [], 128, 97) = 0

In each example epoll_wait is blocked for too longer then asked in timeout.

Is it normal?

Please CC me.



-- 

Dmitry Banschikov

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web