Submit a ticketCall us

AnnouncementsChange Is Inevitable

Get valuable help when it comes to tracking and monitoring changes. SolarWinds® Server Configuration Monitor (SCM) is designed to help you: detect, track, and receive alerts when changes occur, correlate system performance against configuration changes, compare server and application configuration against custom baselines, and verify application and system changes.

Learn more.

Home > Success Center > Web Help Desk (WHD) > WHD - Knowledgebase Articles > 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