Player - Max open files
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.
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.
fs.file-max = 65535
Apply this setting:
sudo sysctl -p
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
Add to both
Now the player should play the measurement just fine.