Installing/Using Trickle on VPS with cPanel
Hello,
My current VPS provider has a public uplink limit of 100 Mbps, and everytime I run the cPanel backup and have it upload the backup files to a remote server, I always got nullrouted beucase it goes beyond the 100Mbps limit. i tried shifting to proftpd and insert the TransferRate line on proftpd.conf but it doesnt work.
I heard about Trickle (/http://www.tuxradar.com/content/control-your-bandwidth-trickle) but couldn't get it done right.
Does anybody has experienced using this on cPanel? Perhaps I can hire anybody who have done this right.
-
I wouldn't try to deal with Trickle for something like this. In your backup config, simply create a new destination and perhaps write a quick script that invokes rsync with --bwlimit. 0 -
[quote="gardolom, post: 1607091">i tried shifting to proftpd and insert the TransferRate line on proftpd.conf but it doesnt work.
Did you set this up on the remote FTP server or on the cPanel server? Thank you.0 -
Hello Michael, I set this up on the cPanel server. 0 -
You may want to try implementing some limits on the remote FTP server to see if that makes a difference. Thank you. 0 -
It still doesn't work. In both the cPanel and the remote backup server, i added the ff lines in both proftpd.conf: TransferRate RETR,STOR,APPE,STOU 80000 the cPanel server still got nullrouted. Im not sure if the value I placed is 80000 which I understand amounts to 80 megabytes per second is correct for the providers limit of 100 Mbps. 0 -
By the way the issue here is on the cPanel server. My remote backup server (which happens to be from a different provider) doesn't have such limit. 0 -
You may want to consult with your provider to see your options for software that will limit overall transfer speeds instead of allowing you to exceed the limit. Or, you could try implementing a custom solution like the one Vanessa suggested earlier in this thread. Thank you. 0
Please sign in to leave a comment.
Comments
7 comments