Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Graceful Restarts

Discussion in 'General Discussion' started by VeZoZ, Feb 26, 2010.

  1. VeZoZ

    VeZoZ Well-Known Member

    Dec 14, 2002
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    DataCenter Provider
    I'm just wondering why in some cases cPanel does not use graceful restart and what exactly triggers it not to?

    So user adds a SSL certificate via cPanel it issues the following:

    -DSSL -t -f /usr/local/apache/conf/
    -k stop -DSSL
    -k start -DSSL
    Why does it issue a stop and a start?

    Then restoring accounts when it adds the add-on domains and sub domains and such it does this:

    -DSSL -t -f /usr/local/apache/conf/httpd.conf.1267136458
    -k stop -DSSL
    -k start -DSSL
    Why is no graceful restart used here? I assume looking at the commands it runs before hand it's checking things and based on that it determines whether it can be graceful or not?

    Maybe it's some module we run that is causing this I do not know. Unfortunately some of the stuff are not viewable perl scripts so I cannot just go through the logic and find the answer myself. I'd just like to know so I can have it use graceful restarts rather than causing tiny outages.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice