Submit a ticketCall us

Have You Auto Renewed? If not, you're missing out.
The SolarWinds Renewal Program comes with a host of benefits including the most recent product updates, 24/7 technical support, virtual instructor-led training and more. Experience all of this with the convenience of Auto Renewal, and never worry about missing any of these great benefits. Learn More.

Home > Success Center > Web Help Desk (WHD) > HTTP Status 500 Error when reading HTML/XML files with WHD on Linux

HTTP Status 500 Error when reading HTML/XML files with WHD on Linux

Table of contents

Issue

Web Help Desk (WHD) may crash and become inaccessible, generating an HTTP Status 500 error in the browser.

Cause

This type of error is related to kernel configuration. The error occurs only on Linux systems, to prevent an application from opening too many file handlers and slowing the system.

Resolution

  1. Run following command:

    ulimit -n

    The resulting number will probably be 1024. This value should be doubled.

  2. Assuming the resulting number is 1024, double the number of allowable file handlers by adding the following to the /etc/security/limits.conf file:

    *        hard    nofile    2048
    *        soft    nofile    2048
    root     hard    nofile    10240
    root     soft    nofile    4096

  3. Check another file number using the command:

    sudo cat /proc/sys/fs/file-max

  4. If the resulting number is around 60,000, increase that number by adding the following line to the /etc/sysctl.conf file:

    fs.file-max = 200000

Last modified

Tags

Classifications

Public