Submit a ticketCall us

WebinarUpcoming Webinar: How Help Desk and Remote Support Pays for Itself

Learn how help desk software can simplify ticketing management, allow you to track hardware and software assets, and accelerate the speed of IT support and service delivery. Gain insights on how remote support tools allow your IT team to maximize their efficiency and ticket resolution by expediting desktop troubleshooting, ultimately helping keep end-users happy and productive.

Register here.

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