service httpd restart

If you notice the server starting to thrash, as root you can type “service httpd restart” and Apache will be restarted freeing all the memory it has consumed.  However, but the time it has reached this point, it is hard to log in and run any commands.