Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e537517d1daa5fce7c962890325f091677afb45bf9139c64092216f327efb077
Ticket: 1a6a36d901dedead248ea96df09d5dc159532652
Linux: epoll() cpu usage is high (in conjunction with after command)
User & Date: bll on 2017-09-10 16:00:39
Changes

  1. icomment:
    Confirmed aspect's test.  I do not know why BallroomDJ does not have the same problem under 8.6.7 when it does not unregister the handlers.
    
    I have put in fixes into BallroomDJ to make sure the handlers are unregistered, but there's yet another issue somewhere (call this problem C).  The program gets into another tight loop, and as best I can tell, file descriptor 5 is the X11 named socket.
    
    5656  08:27:53.661551 epoll_wait(4, {}, 512, 0) = 0
    5656  08:27:53.661576 recvmsg(5, 0x7ffc0890dba0, 0) = -1 EAGAIN (Resource temporarily unavailable)
    5656  08:27:53.661602 recvmsg(5, 0x7ffc0890dba0, 0) = -1 EAGAIN (Resource temporarily unavailable)
    ...
    
    This is only in a particular situation where another process is started (and various new socket connections are made, but no disconnects).  And dbus is not loaded.  
    
    Trying to find some sort of clue on what's happening...
    
  2. login: "bll"
  3. mimetype: "text/plain"