php-fpm process command full path?
Hello,
With csf/lfd we received this kind of alerts when a user script is exceeding the use of resources
Time: Saturday Oct 7 20:28:13 2017 +0500
Account: user
Resource: Virtual Memory Size
Exceeded: 587 > 512 (MB)
Executable: /opt/cpanel/ea-php70/root/usr/
sbin/php-fpm
Command Line: php-fpm: pool domain_com
In past, we used suPHP, and with suPHP alerts like this and top/htop shows full path of script, like:
user /usr/bin/php /home/user/public_html/spam.php
This was very helpful to detect malicious scripts and suspend the user, however with php-fpm the path that shows is generic so is difficult to see what is really happening... is there a way to use php-fpm and show full path of script?
I do not want to stop receiving this alerts as they are very helpful and important, but i want to receive this alerts with full script path.
Thanks in advice
-
Hello, That functionality is exclusive to suPHP with the "full_php_process_display" setting in the /etc/suphp.conf file. It's not a feature of PHP-FPM. Thank you. 0
Please sign in to leave a comment.
Comments
1 comment