burnley
Regular Pleskian
User name: burnley
TITLE
[Linux w. php-fpm] Old php-fpm pool configuration file prevents the service reload
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
CentOS Linux 7.8.2003 (Core) w. Plesk Obsidian Version 18.0.28 Update #3, last updated on July 20, 2020 10:12 PM
PROBLEM DESCRIPTION
Plesk periodically chokes on its PHP -FPM configuration, most of the time apparently when a subscription / domain is removed. The symptom is always a pretty old pool configuration file (sometimes 3+ years old!) with no corresponding vhost structure under /var/www/vhosts. Example:
/opt/remi/php73/root/usr/sbin/php-fpm --test
[21-Aug-2020 17:40:47] ERROR: [pool domain.net] the prefix '/var/www/vhosts/system/domain.net' does not exist or is not a directory
[21-Aug-2020 17:40:47] ERROR: failed to post process the configuration
[21-Aug-2020 17:40:47] ERROR: FPM initialization failed
Simply removing the dodgy file fixes the php-fpm service.
STEPS TO REPRODUCE
Can't reproduce
ACTUAL RESULT
The affected php-fpm service can't reload thus taking down all the sites using it.
EXPECTED RESULT
The affected php-fpm handler should never fail to reload after a domain is removed / renamed. Plesk must always run sanity checks before reloading a php-fpm service.
ANY ADDITIONAL INFORMATION
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM
Confirm bug
TITLE
[Linux w. php-fpm] Old php-fpm pool configuration file prevents the service reload
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
CentOS Linux 7.8.2003 (Core) w. Plesk Obsidian Version 18.0.28 Update #3, last updated on July 20, 2020 10:12 PM
PROBLEM DESCRIPTION
Plesk periodically chokes on its PHP -FPM configuration, most of the time apparently when a subscription / domain is removed. The symptom is always a pretty old pool configuration file (sometimes 3+ years old!) with no corresponding vhost structure under /var/www/vhosts. Example:
/opt/remi/php73/root/usr/sbin/php-fpm --test
[21-Aug-2020 17:40:47] ERROR: [pool domain.net] the prefix '/var/www/vhosts/system/domain.net' does not exist or is not a directory
[21-Aug-2020 17:40:47] ERROR: failed to post process the configuration
[21-Aug-2020 17:40:47] ERROR: FPM initialization failed
Simply removing the dodgy file fixes the php-fpm service.
STEPS TO REPRODUCE
Can't reproduce
ACTUAL RESULT
The affected php-fpm service can't reload thus taking down all the sites using it.
EXPECTED RESULT
The affected php-fpm handler should never fail to reload after a domain is removed / renamed. Plesk must always run sanity checks before reloading a php-fpm service.
ANY ADDITIONAL INFORMATION
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM
Confirm bug