Ticket Change Details
Not logged in
Overview

Artifact ID: 5afa8efc12c697f1ba6af9f217bacb8c7377e4104489be86a6aed144b0da7b49
Ticket: 1a6a36d901dedead248ea96df09d5dc159532652
Linux: epoll() cpu usage is high (in conjunction with after command)
User & Date: bll 2017-10-26 17:59:08
Changes

  1. icomment:
    A fix has been pushed:
    
    https://github.com/lalbornoz/tcl/commit/7249454d27938a9834bb4068d2994fdd98c24605
    
    With the patch:
    bll-tecra:bll$ time $HOME/local87/bin/tclsh8.7 t.tcl
    ^C
    
    real    0m7.413s
    user    0m0.029s
    sys     0m0.005s
    
    dbus test:
    bll-tecra:bll$ ps -f -t pts/1 -o pcpu,args
    %CPU COMMAND
     0.0 bash
     0.0  \_ rlwrap /home/bll/local87/bin/tclsh8.7
    
    I don't have a specific test for the disconnected socket, but I tested with an older version of my application and it seems fine.
    
  2. login: "bll"
  3. mimetype: "text/plain"