Categories: Hostripples Featured

Script to kill Roundcube stuck process !!



Create the new file roundcube.sh and insert the following code.

#!/bin/sh
for ROUNDCUBE in `ps aux | grep roundcube | awk -F ” ” ‘{print $10}’ | awk -F “:” ‘{print $1}’`;
do
if [ $ROUNDCUBE -ge 20 ]; then
pkill -u cpanelroundcube
echo “kill roundcube process roundcube”;
fi
done
You can add the cron job to run the above script after a specific time period, if you are facing the roundcube cpu usage issue continuously.Add following line under the crontab by using the crontab -e, it will run the cron after every 10 minutes.
*/10 * * * * sh /root/roundcube.sh;

HR-ADMIN

Recent Posts

????? ?????? – ??????? BONUS 100% + 250 ?????????? ????????

????? ?????? - ??????? BONUS 100% + 250 ?????????? ???????? ?? ?????? ?????????? ???????????? ??????? ????? ????????? ?????? ? ????????????…

21 hours ago

RocketPlay Bonus: What to Know for Australian Players

RocketPlay Bonus: Practical Guide for Australian Players What Is the RocketPlay Bonus and Who Can Claim It? The RocketPlay bonus…

23 hours ago

RocketPlay PayID in Australia: Deposit, Withdraw & Bonus Guide

What is RocketPlay and Why PayID Matters?Getting Started: Registration and Verification StepsFunding Your Account: Using PayID and Other Deposit MethodsClaiming…

23 hours ago

Why You Should Move Your Website to Cloud Hosting?

Introduction to Cloud Hosting In today's digital world, website performance can make or break an online business. Whether you run…

4 days ago

What is a Call to Action in Marketing? Definition + Examples

In the world of digital marketing, getting attention is only half the battle. The real goal is to convince people…

2 weeks ago