• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.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