[LINUX] Bandwith Limit with Trickle
Posted: 01 Jul 2018, 12:02
Hello everyone,
I am trying to use the TCP bandwidth control software called TRICKLE (https://manurevah.com/blah/en/p/trickle-bandwith-shaper) to control how much of my internet download is used when using FileBot.
The script I wrote runs FileBot on a SSHFS mounted filesystem from my seedbox in another country.
The command I run to limit the download bandwidth to 128K
It runs but but when I look at the Linux process tree, trickle is not running at all and Java seems to be the main process.
Java CAN use trickle because it had the libc stack...
How can I get the extra command '/usr/bin/trickle' in the /usr/bin/filebot when Java is called?
Does anyone else use trickle or is there a clever add-on or switch for FileBot to limit TCP bandwidth?
Thanks in advance,

Paully
I am trying to use the TCP bandwidth control software called TRICKLE (https://manurevah.com/blah/en/p/trickle-bandwith-shaper) to control how much of my internet download is used when using FileBot.
The script I wrote runs FileBot on a SSHFS mounted filesystem from my seedbox in another country.
The command I run to limit the download bandwidth to 128K
Code: Select all
/usr/bin/trickle -d 128 /usr/bin/filebot -script /home/paully/.filebot/scripts/amc_.groovy --output "/home/paully/Plex" etc
Java CAN use trickle because it had the libc stack...
Code: Select all
ldd /usr/bin/java
linux-vdso.so.1 => (0x00007ffc94dfc000)
libjli.so => not found
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f1cbf191000)
/lib64/ld-linux-x86-64.so.2 (0x00007f1cbf561000)
Does anyone else use trickle or is there a clever add-on or switch for FileBot to limit TCP bandwidth?
Thanks in advance,

Paully