I switched over to PHP-FPM using PHP 7.0x and and Memcached (all sites use https) and I have a few issues:
1) I can't be sure that all of my cron jobs are running correctly. They are in this format in the root cron job /var/spool/cron/root :
SHELL="/bin/bash"
*/5 * * * * /usr/local/cpanel/scripts/dcpumon-wrapper >/dev/null 2>&1
The ones that seem to not work optimize my databases, and include a hook to email me when done, and I seem to have stopped getting the emails:
SHELL="/bin/bash"
22 0 * * 3,5 (mysqlcheck -op -u root database_name_here -pMYPASS 2>&1 | mail -s "optimizeDB Articles Output" [email protected])
It's possible that they are all working, and that I'm not getting email. But is there a format change to cronjobs when switching to PHP-FPM?
2) Most of the time I can't SFTP to the server until I restart the PHP-FPM Apache service. I suspect that this has to do with my resource settings. My server is very busy. What setting should I look to increase in order to be able to connect again with SFTP?
3) I made the switch to PHP-FPM from SUPHP for performance reasons, however, is there a configuration for security settings for PHP-FPM that I need to edit? Are there settings like in SUPHP somewhere?
1) I can't be sure that all of my cron jobs are running correctly. They are in this format in the root cron job /var/spool/cron/root :
SHELL="/bin/bash"
*/5 * * * * /usr/local/cpanel/scripts/dcpumon-wrapper >/dev/null 2>&1
The ones that seem to not work optimize my databases, and include a hook to email me when done, and I seem to have stopped getting the emails:
SHELL="/bin/bash"
22 0 * * 3,5 (mysqlcheck -op -u root database_name_here -pMYPASS 2>&1 | mail -s "optimizeDB Articles Output" [email protected])
It's possible that they are all working, and that I'm not getting email. But is there a format change to cronjobs when switching to PHP-FPM?
2) Most of the time I can't SFTP to the server until I restart the PHP-FPM Apache service. I suspect that this has to do with my resource settings. My server is very busy. What setting should I look to increase in order to be able to connect again with SFTP?
3) I made the switch to PHP-FPM from SUPHP for performance reasons, however, is there a configuration for security settings for PHP-FPM that I need to edit? Are there settings like in SUPHP somewhere?