Skip to main content

Troubleshooting

Too many open files (errno 24)

  • Modify /etc/security/limits.conf to increase the number of open files.
    ~$ cat /etc/security/limits.conf
    ...
    * - nproc 100000
    * - nofile 100000
    root - nproc 100000
    root - nofile 100000
  • Refer to Prerequisites for more detailed configurations.

Performance fluctuation due to underutilized CPU cores

  • Set the CPU governor to performance mode.
    ~$ sudo apt install cpufrequtils
    ~$ cat /etc/init.d/cpufrequtils
    ...
    GOVERNOR="performance"
    ...
    ~$ sudo systemctl daemon-reload && sudo /etc/init.d/cpufrequtils reload
    ~$ cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
    ...
    performance
    performance
    ...
  • Try disabling Hyperthreading and use the taskset command to explicitly set the application’s CPU affinity to the same NUMA node as the Mango BoostX™ TOE card.

Performance fluctuation due to congested CPU cores

  • Carefully assign CPU core pinning for your application.
  • Avoid setting the same core that mango_ipc is running on.
    • Use -a option to specify an unused CPU core.
    • Refer to IPC Server Setup for more detailed configurations.

Other issues not listed above

  • If you encounter an issue not covered here, report it to contact@mangoboost.io. Please attach a debug log capturing the state of both the hardware and the software (a tar.gz of the relevant logs under /var/log/mango/).