Control Web Panel

WebPanel => CentOS 6 Problems => Topic started by: capaio on January 09, 2020, 09:48:08 AM

Title: I have to start php service every day
Post by: capaio on January 09, 2020, 09:48:08 AM
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?
Title: Re: I have to start php service every day
Post by: 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?
Title: Re: I have to start php service every day
Post by: Tcap 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.
Title: Re: I have to start php service every day
Post by: capaio on January 13, 2020, 08:23:51 AM
Are you referring to php-fpm? which of the versions do you restart all the time?

php-fpm72
Title: Re: I have to start php service every day
Post by: capaio on January 13, 2020, 08:24:25 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