• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Command run adding domain

jas8522

Basic Pleskian
Hello,

Whenever a domain is added the following command is run:

sh -c for pid in `/bin/ps axc -opid,command|/bin/grep -E "[0-9] named$"|/usr/bin/awk '{print $1}' -` ; do /bin/kill -1 $pid ; done

followed by:
/usr/bin/awk {print $1} -

The problem is that these both give syntax errors when I run them, and when the CP runs them it causes the processes to hang. So if I run ps aux | grep awk I will get tons and tons of hung processes.

Anyone know why this would be happening?

Thanks,

Jordan

EDIT:

When I remove awk using 'rpm -e --nodeps --force gawk' then reinstall it with 'yum install gawk' it works for a day or so, then the processes start hanging again. WTF?
 
Back
Top