How to enable LSAPI slow log?
Good morning,
In order to debug slow websites, I need PHP slow log.
With PHP-FPM, I used to enable PHP-FPM slow log (like this).
I'm looking for similar feature on LSAPI, but I didn't found any yet.
Is there any documentation about it for cPanel?
Thanks in advance.
-
Sounds like you're looking for this: litespeed_wiki:php:slow_log_lsapi [LiteSpeed Wiki] 0 -
This seems not working with classic Apache2 with mod_lsapi from CloudLinux. When I add: [CODE=apacheconf]lsapi_set_env LSAPI_SLOW_REQ_MSECS 1000
into /etc/apache2/conf.d/lsapi.conf and restart httpd, there is no logs which contains slow log reporting. I already checked /var/log/apache2/error_log and /home/myuser/public_html/error_log, nothing happens in these logs.0 -
After contacting CloudLinux about this, they told me that this feature is not supported on mod_lsapi that CloudLinux provides. So, only LiteSpeed powered servers can do this. 0
Please sign in to leave a comment.
Comments
3 comments