Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 85748d340ffcd54ec0142d49a6812a3491f1922a63ccfc4646d07b53b7902f37
Ticket: 1a6a36d901dedead248ea96df09d5dc159532652
Linux: epoll() cpu usage is high (in conjunction with after command)
User & Date: ferrieux on 2017-09-10 08:23:26
Changes

  1. icomment:
    Dunno if it's just for illustration/trial, but the commented line prevents your fileevent handler from unregistering itself, so it fires continuously after EOF (problem A).
    
    For problem B, assuming there's no disconnection as you're saying (to be verified with tcpdump or netstat), please attach the full strace from process startup, with options -tt (timestamps) and -f (follow children / threads).
    
  2. login: "ferrieux"
  3. mimetype: "text/plain"