cPanel – Webmail (cpanelro) Highload
Thursday, July 30th, 2009From cPanel Forum:
CPU Process has a high load, with many cpanelro user taking the cpu time. Below is script to kill cpanelro’s process
#!/bin/sh
for ROUND in `ps aux | grep roundcube | awk -F " " '{print $10}' | awk -F ":" '{print $1}'`;
do
if [ $ROUND -ge 20 ]; then
pkill -u cpanelroundcube
echo "kill roundcube process roundcube";
fi
done
Put in crontab and run it every 15 or 30minutes. Or you can edit RoundCube file to fix a never ending loop caused when trying to log in with an invalid account