The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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