It is obvious that server load in a cpanel server will go high if we use pkgacct to get the .tar.gz of an account.
Now, the following scripts comes handy.
=====
/usr/local/cpanel/bin/cpuwatch 5 /scripts/pkgacct cPanelusername
=====
In the above, whenever the load goes high over 5, the process “/scripts/pkgacct cPanelusername” pauses automatically and resumes when the load reduce under 5.
/usr/local/cpanel/bin/cpuwatch 5 /scripts/pkgacct cPanelusername
=====
In the above, whenever the load goes high over 5, the process “/scripts/pkgacct cPanelusername” pauses automatically and resumes when the load reduce under 5.
No comments:
Post a Comment
Note: only a member of this blog may post a comment.