• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

10.4.4 not restarting apache immediately

HostaHost

Regular Pleskian
One of our 10.4.4 servers has recently begun not immediately applying changes that would have required an apache restart, specifically SSL certificate replacement. I noticed the following process gets spawned once such a change is made:

/usr/local/psa/admin/bin/apache_control_adapter --restart --restart-interval 999999 --http-port 80 --https-port 443 --graceful

I'm hoping the 999999 doesn't mean it intends to wait more than ten days (if it's seconds) to restart apache. We've left it for up to an hour with no restart before doing it ourselves to get the new cert in place. Any ideas?
 
It ended up being the apache restart interval setting found in the panel and in the misc table of the psa database so that we can set it via a script. For some reason this value on all previous installs of 10.4.4 defaulted to zero and on this one server it took the value 999999. We'll start setting the value explicitly going forward.
 
Back
Top