How would you kill the apache process if graceful stop doesn’t work?



How would you kill the apache process if graceful stop doesn’t work?..

Answer / Sumesh Kumar Gangwar

If the graceful stop doesn't work, you can use the `kill` command with the process ID (PID) of the Apache HTTP Server. Here's how to find the PID:n
1. Use the `pgrep` command: `pgrep apache2` or `pgrep httpd` depending on your system.n
2. Kill the process with the `kill` command and the PID: `kill -9 <PID>`

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apache Interview Questions

How to find httpd.conf file if you don’t know installation location?

1 Answers  


Can I use apache license 2.0 in commercial?

1 Answers  


How to carry out apache efficiency benchmark?

1 Answers  


Can you tell me the important configuration file name?

1 Answers  


How can we find what are the modules loaded in apache?

1 Answers  


Can I serve content out of a directory other than the documentroot directory?

1 Answers  


How to check the version of running apache web server?

1 Answers  


What are the features of apache web server?

1 Answers  


What is the difference between reload and restart?

1 Answers  


If you have only one ip address, but you want to host two web sites on your server. What will you do?

1 Answers  


Is httpd and apache the same?

1 Answers  


How to get support for apache web server if something wrong?

1 Answers  


Categories