• 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

Apache hangs when restarting (process keeps it in use)

R

rvdmeer

Guest
2 times every day we are restarting our plesk service. Sometimes when restarting it doesnt come back up again because port 443 is still in use by a program with owner apache. (program: .sh). Now after my script gives a stopall it should also kill the apache processes.. just to be sure.

Does someone know howto kill a process by user?
 
Well thats the problem. The process isn't named httpd. Its named sh but killing everything with sh might cause system damage... so thats why i cant kill it that way. i need to kill all the processes running on user apache. regardless of there names
 
Why would you have a process running as apache named "sh"? Sounds like you picked up a worm, probably explains why you have to restart apache twice a day too.
 
Back
Top