Skip to main content

mod_lsapi installed and finding some errors/issues in logs now

Comments

9 comments

  • cPanelLauren
    These errors look related to the first error: [8792] Reached max children process limit: 120, extra: 0, current: 120, busy: 120, please increase LSAPI_CHILDREN.
    This indicates that you're reaching the max children process limit for LSAPI which would indicate you're running 120 PHP processes under a single user which would be extremely high.
    0
  • morrow95
    I know what it means, but where is the mystery file that holds the settings for lsapi that cpanel is using? Its not in php.ini - at least the one shown by the editor in multiphp ini editor in whm.
    0
  • dalem
    /etc/apache2/conf.d/lspai.conf
    0
  • morrow95
    Thanks! Now, can we directly modify this file without worrying about those edits being overwritten? More often than not when editing files directly like this they do not 'stay' after automatic updates and what not when using WHM/cpanel.
    0
  • cPanelLauren
    Ultimately though, the point I was trying to make is that you shouldn't be hitting that limit in a normal environment. It's abnormally high and rather than change it, I'd suggest looking at the activity.
    0
  • morrow95
    I am assuming those limits were hit after enabled and/or after reboots - in other words it didn't prime itself for what was coming when it started up. Those limits have not been hit since. We average anywhere from 30-100+ requests a sec constantly depending on time of day for this server. Is it possible to have timestamps added to the entries in /var/log/apache2/lsphp-stderr.log to make sure? A file somewhere that has the logging settings for it? As it is currently there is no timestamp as shown in the OP.
    0
  • cPanelLauren
    I'd suggest opening a ticket so we can look into it further. You can open a ticket using the link in my signature. Once open please reply with the Ticket ID here so that we can update this thread with the resolution once the ticket is resolved. Thanks!
    0
  • morrow95
    Just need to know if I can add the timestamp to the entries in /var/log/apache2/lsphp-stderr.log and where. I can figure out if these are happening on reboot as I suspect or randomly throughout the day if I have a timestamp for them.
    0
  • cPanelLauren
    The reason why i requested you open a ticket is because I'm unsure you'd be able to do this, I believe it might have to be something added to the lsapi module. Thanks!
    0

Please sign in to leave a comment.