• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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