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.

why apache graceful restart take long time

Discussion in 'EasyApache' started by fandlr, Mar 10, 2011.

  1. fandlr

    fandlr Registered

    Joined:
    May 19, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    apache graceful restart take long time, anyone can help me?

    Code:
    [Thu Mar 10 20:07:41 2011] [notice] Graceful restart requested, doing restart
    [Thu Mar 10 20:22:35 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
    [Thu Mar 10 20:22:35 2011] [notice] mod_bw : Memory Allocated 0 bytes (each conf takes 36 bytes)
    [Thu Mar 10 20:22:35 2011] [notice] mod_bw : Version 0.92 - Initialized [0 Confs]
    [Thu Mar 10 20:22:35 2011] [notice] Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 configured -- resuming normal operations
    
     
  2. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Graceful restarts are the "pretty please" of restarts. Apache child processes can block the restart, which can result in behavior you noted. Non-graceful restarts tell the children to "quiet down and go to bed OR ELSE" which results in Apache restarting in a timely manner.
     
Loading...

Share This Page