Abnormal Shutdown of FineBI in Linux

  • Last update:  2023-03-29
  • Problem Description

    When you use FineBI in the Linux system, the FineBI process shuts down abnormally, and there is no error message in the FineBI log.

    Causes and Solutions

    Possible Cause

    The above problem may be caused by the FineBI process being killed by the system. You can check the Linux system log /var/log/messages to see what happened at that time when the process was terminated.

    If the log shows that the FineBI process was killed at that time, it means that the system terminated the FineBI process. This may be caused by the Linux system's own OOM KILLER mechanism. Check the /etc/sysctl.conf file (kernel parameter configuration) of the Linux system. If vm.overcommit_memory equals 2, it means that the system does not allow overcommit operations.

    The OOM KILLER mechanism will sequentially kill processes with high memory usage when Linux lacks memory. And it will record some information such as pid, process name, CPU mask and trace in /var/log/message. Similar problems can be detected through monitoring.

    Solution

    To address the problem, you can adjust the vm.overcommit_memory kernel parameter value of the system by setting it to 0/1.

    0 – Heuristic overcommit handling. This is the default setting that allows overcommit request, but the overcommit request that is too blatant, for example, malloc demanding more memory than the system memory cap, will be rejected. The kernel uses a certain algorithm to determine whether your memory application is reasonable. If it finds it unreasonable, it will reject the overcommit request.

    1 – Always overcommit. All overcommit requests are allowed.

    You can adjust the kernel parameter value as needed, or increase the system memory. After adjusting the kernel parameter value, you need to enter the command sysctl -p to make the configuration file take effect.

    sysctl -p

    附件列表


    主题: Deployment and Integration
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    10s後關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy