PHP-FPM cannot be stopped. Restart automatically after stopping.

problem description

Today, I modified a configuration of php-fpm.conf : daemonize = yes .

then use kill-USR2 "cat / usr/local/var/run/php-fpm.pid" to restart php-fpm.

execute ps-ef | the result of grep php-fpm is as follows:

[27-Sep-2018 09:44:17] NOTICE: Finishing ...
[27-Sep-2018 09:44:17] NOTICE: exiting, bye-bye!
[27-Sep-2018 09:44:17] NOTICE: [pool www] "user" directive is ignored when FPM is not running as root
[27-Sep-2018 09:44:17] NOTICE: [pool www] "user" directive is ignored when FPM is not running as root
[27-Sep-2018 09:44:17] NOTICE: [pool www] "group" directive is ignored when FPM is not running as root
[27-Sep-2018 09:44:17] NOTICE: [pool www] "group" directive is ignored when FPM is not running as root
[27-Sep-2018 09:44:17] NOTICE: fpm is running, pid 941
[27-Sep-2018 09:44:17] NOTICE: ready to handle connections
Jul.16,2021

under ~ / Library/LaunchAgents of Mac, the file of homebrew.mxcl.php.plist is found. This is the system self-boot file of Mac. Delete this file and restart it.


execute manually

launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.php.plist
The

command is fine. If you confirm and restore it, execute

.
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.php.plist 
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e8bd37-1089.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e8bd37-1089.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?