Apache restarts frequently on a Plesk server: Caught SIGTERM, shutting down

Follow

Comments

9 comments

  • Avatar
    Daniel Omine

    I had this problem today after recent Plesk autoupdate restart the server.

    After restart, all services were disabled. DNS, Mail, FTP, Http, SSH.. 

    To solve this, i restarted the server manually, using the tools from the hosting server.

    After restart, all services worked normally, except the http.

    The strangest thing is, the http (apache) was running well.

    Changing the database values doesn't caused any effect as this page teaching.

    However, i noticed that the service "Reverse Proxy Server (nginx)" was not running.

    I turned it on and all worked!!

    I will never more trust on Plesk autoupdate. I disabled all.

    0
    Comment actions Permalink
  • Avatar
    Artyom Baranov

    @Daniel Omine,

    Hello!

    I understand your concern, however, Plesk update tool uses the native functionality of operating system package managers, such as yum or apt, to install updates. It does not verify packages, just installs them as if they were installed manually like as # yum update

    More information is available in our Documentation.

     

    0
    Comment actions Permalink
  • Avatar
    Daniel Omine

    I'm aware about this.
    This server do not have any package installed manually.
    All the things are installed by Plesk on default mode.
    For me, this is a serious bug on Plesk.
    Plesk should fix instead of pointing the problem to the server administrator.

    "plesk uses the server native tools... "

    It's the Plesk's responsability anyway.. Please, do not send excuses like this. Just try to found solution to avoid it on future. My feedback is here.

    My suggestion is, before perform restart, the most obvious thing to do is check all the services running at that moment.
    Create a list of applications running, restart and then, after the reboot, read the saved list to start the services one by one.
    If some service from this list fail to wake up, send warning to the administrator.

    That' all. Thank you for your time.

    0
    Comment actions Permalink
  • Avatar
    Artyom Baranov

    @Daniel Omine,

    Great idea!

    I can suggest you take part in our product improvement by referring to the following link: https://plesk.uservoice.com/forums/184549-feature-suggestions The top-ranked suggestions are likely to be included in the next versions of Plesk.

    0
    Comment actions Permalink
  • Avatar
    Gjimi (Edited )

    Helps nothing. "graceful restart for Apache." unfortunately not, with graceful true then Plesk does nothing, no reload nothing, with false or without graceful is only stopped.

    Apache Log:
    body.xml:6: parser error : xmlParseEntityRef: no name
    <param><value>1234%^&*</value></param>
    ^
    [Thu Aug 08 20:49:21.185585 2019] [mpm_event:notice] [pid 14691:tid 140601467588672] AH00491: caught SIGTERM, shutting down

    Plesk Version 17.8.11 / 17.8.xx Update XX, I think everyone is concerned

    0
    Comment actions Permalink
  • Avatar
    Julian Bonpland Mignaquy

    @Gjimi, I recommend increasing the Apache restart interval in Plesk > Tools & Settings > Apache Web Server and increase the Apache restart interval value to "300" or more.

    If the issue persists we are gonna have to take a deeper look: https://support.plesk.com/hc/en-us/articles/213953025-How-to-get-support-directly-from-Plesk-

    0
    Comment actions Permalink
  • Avatar
    Gjimi

    @Julian, it is 300, everything is already tried.

    0
    Comment actions Permalink
  • Avatar
    Gjimi (Edited )

    Which command is executed by Plesk for Restart or Reload Apache? 
    Anyhow, as follows would work well (Debian 9):

    /usr/sbin/apache2ctl -k restart

    and reload:
    /usr/sbin/apache2ctl -k graceful

    Please correct this in Plesk, it affects a lot of servers and that's not a condition.

    (nginx is not installed)

    0
    Comment actions Permalink
  • Avatar
    Julian Bonpland Mignaquy

    @Gimji, the commands you sent us are correct. However, if you are still receiving the errors please open a ticket with us so we can fix this issue: https://support.plesk.com/hc/en-us/articles/213953025-How-to-get-support-directly-from-Plesk-

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request