I have to start php service every day

Started by capaio, January 09, 2020, 09:48:08 AM

Previous topic - Next topic

capaio

Hello.

After the october's update (that broke something) i need to restart php service every day. I tried to set a cron job but it is ignored.

is there a way to fix this?

evansa

Are you referring to php-fpm? which of the versions do you restart all the time?

Tcap

maybe a workaround Monitoring via Monit  --- Process - cwp-phpfpm
did you try

module=monit_monitoring
Quote
Monitoring via Monit
Monit is a utility for managing and monitoring, processes, files, directories and devices on a UNIX system.
Monit conducts automatic maintenance and repair and can execute meaningful causal actions in error situations.

On the first start please wait for the startup delay defined in the main configuration.
  • Spamassassin: config and scan per mailbox
  • Clustering manager
  • Mail Space Usage
  • All Space Usage + = Disk Space Usage
  • Mail Scanner
    hopeful fourth year

capaio

Quote from: evansa on January 09, 2020, 11:31:52 PM
Are you referring to php-fpm? which of the versions do you restart all the time?

php-fpm72

capaio

Quote from: Linux_Staff on January 10, 2020, 12:26:24 AM
maybe a workaround Monitoring via Monit  --- Process - cwp-phpfpm
did you try

module=monit_monitoring
Quote
Monitoring via Monit
Monit is a utility for managing and monitoring, processes, files, directories and devices on a UNIX system.
Monit conducts automatic maintenance and repair and can execute meaningful causal actions in error situations.

On the first start please wait for the startup delay defined in the main configuration.


i will try thanks