• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

How do I reset memory when restarting Apache?

D

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~
 
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

Tips:

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.
 
Back
Top