• 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.

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