1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

How do I reset memory when restarting Apache?

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by DaveTurn, Aug 8, 2010.

  1. DaveTurn

    DaveTurn Guest

    Hi, I noticed when I restart the service Web Server(Apache) using the Plesk Panel, the memory bar resets. However, when I restart the service httpd through Shell access, the memory bar on Plesk doesn't resets. I want to restart Apache and reset the memory bar at the same time, but I can only do that manually through Plesk. Please help~!! Thanks~
  2. 64bithost.com

    64bithost.com Regular Pleskian

    Jul 30, 2007
    Likes Received:
    Apache restart

    Login to your Web server machine using SSH or telnet.

    Su to root.

    Run the apache control program:
    apachectl graceful

    You can also run the apache control program in this way:
    apachectl restart


    1. graceful reloads the configuration files and gracefully restart. Any current connections are allowed to complete.
    2. restart reloads the configuration files and restarts. Any current connections are terminated immediately.
    3. If the server isn't running, these commands will start it up.