Player - Max open filesΒΆ

When having an eCAL measurement with many topics on Ubuntu, you may experience crashes. This is caused by a Linux security feature that limits the number of open file descriptors (to 1024 by default). As each topic relies on multiple files (used by the shared memory transport layer), that limit may be triggered and cause a crash.

Note

Windows does not have that problem and should replay the measurement just fine.

Please follow the following steps to increase the allowed number of open files.

  1. Add to /etc/sysctl.conf:

    fs.file-max = 65535
    
  2. Apply this setting:

    sudo sysctl -p
    
  3. Add to /etc/security/limits.conf:

    Replace YOUR_USERNAME with your actual username!

    YOUR_USERNAME     soft     nproc          65535
    YOUR_USERNAME     hard     nproc          65535
    YOUR_USERNAME     soft     nofile         65535
    YOUR_USERNAME     hard     nofile         65535
    
  4. Add to both /etc/systemd/user.conf and /etc/systemd/system.conf:

    DefaultLimitNOFILE=65535
    
  5. Reboot

Now the player should play the measurement just fine.