• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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