Skip to main content

Lsapi - Error

Comments

4 comments

  • William Del Piero cPanel Staff

    Hi,

    The error you reported may also occur if the lsapi_backend_children limit has been reached for the affected user. When LSAPI is in use, additional logs located in /etc/apache2/logs/—such as lsphp-stderr.log and sulsphp_log—can provide further insight into the issue.

    If you need to review or adjust LSAPI-related settings, the following article offers guidance on the configuration file location and commonly modified directives:

    LSAPI Configuration File Location and Most Commonly Modified Configuration Directives

     

    0
  • Leo Santis

    Hi William Del Piero

    On lsphp-stderr.log file I can see errors like those below:

    Killing runaway process PID: 237040 with SIGTERM

    Child process with pid: 237039 was killed by signal: 15, core dumped: no

    Overall, about 100 lines of those errors.

    On sulsphp.log file all I can see is:

    sulsphp: uid:(1004/cpleo); gid:(1003/cpleo); lveid:1004 with suexec mode; cmd:(/opt/cpanel/ea-php83/root/usr/bin/lsphp)

    What looks strange to me on this case, is that is showing lveid that’s related to CloudLinux and I’m just running on AlmaLinux as I mentioned.

    Now that’s what intrigues me the most: Almost everything at /etc/apache2/conf.d/lsapi.conf are commented

    # lsapi_backend_children 120

    # lsapi_backend_pgrp_max_idle 30

    # lsapi_backend_max_idle 300

    # lsapi_backend_max_reqs 10000

    Again, If I’m not running on CloudLinux but just AlmaLinux, should such configuration would take any effect on that?

    0
  • William Del Piero cPanel Staff

    Hi,

    If you're using LSAPI as the PHP handler for the domain, the configuration settings in lsapi.conf will apply to the domain. However, since all the settings appear to be commented out, it's likely that the default values are currently in effect.

    Given that the error logs haven’t clearly identified the root cause, I recommend opening a ticket so the issue can be investigated further with direct access to the server.

    This will allow for a more thorough review and help ensure the most accurate resolution.

    0
  • Leo Santis

    Thanks William Del Piero, I'll have to do that via my host as I'm using a corporate license.

    0

Please sign in to leave a comment.