Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d3318e9772bf1acc30fa689ec8a1a7d4ef6f48d0fa281f01aa5060d6004bd0f2
Ticket: c6897e6e6a8a65a995ec35c9c297b926bf1b6783
select notifier crashes/misbehaves on fd >= FD_SETSIZE
User & Date: obj on 2019-11-06 00:56:03
Changes

  1. icomment:
    You're looking at the wrong problem. I was going to raise a separate ticket about server sockets misbehaving when they get EMFILE, but that's a different thing.
    
    Ensure that you have a RLIMIT_NOFILE (note the "ulimit -n" in my reproduction steps) that's large enough to handle the number of sockets created by the test (so that you exceed FD_SETSIZE before you get EMFILE) and you should see the crash.
    
  2. login: "obj"
  3. mimetype: "text/x-fossil-wiki"
  4. username: "obj"