RuTorrent GUI metrics don't refresh...

dsouvik215

Member
May 25, 2018
896
0
16
I just installed RuTorrent on an unRaid server and for some reason none of the metric data gets updated (UL/DL speeds, time remaining, data transfer...).

I have tried changing the refresh rate, but nothing makes a difference.

So far it is happening on every browser I have tried IE8, Safari (Mac), Firefox (Mac & PC), Chrome (PC&Mac)

The torrents complete downloading, but I never know what the transfer rate is, how much is left to download, etc..

Anyone else experiencing this?

Thanks,
 

das329717

Member
May 25, 2018
928
0
16
I've never been a big fan of unraid.....but that's neither here nor there

let me ask you this. Did you use an old version of xmlrpc-c when you compiled rtorrent? This can cause all kinds of issues.
ALso, do you have command line php installed and curl installed? do you have the binaries linked in your config.


make sure xmlrpc-c is 1.11 or better, use the svn version if at all possible.


also, which version did you use, of rutorrent
 

dsouvik215

Member
May 25, 2018
896
0
16
Thanks for the lightning fast response! smiley.gif

I fear you have assumed far too much in regard to my skillset. I am definitely a linux noob.

I installed rutorrent via a slackware package... i just did a "wget package path".. and installpkg... that's it... never actually compiled anything before.

The package I downloaded was: untorrent-2.8.5.full-i486-1pur.tgz from here: http://www.mediafire.com/?jmwzgtimcyh

Sorry, I know this probably maddening to you.

And, I am trying to learn, but I guess I should have just bought a drobo or something similar.




Quote
I've never been a big fan of unraid.....but that's neither here nor there

let me ask you this. Did you use an old version of xmlrpc-c when you compiled rtorrent? This can cause all kinds of issues.
ALso, do you have command line php installed and curl installed? do you have the binaries linked in your config.


make sure xmlrpc-c is 1.11 or better, use the svn version if at all possible.


also, which version did you use, of rutorrent​
 

das329717

Member
May 25, 2018
928
0
16
well this is likely your problem right here. I haven't seen a single packaged rtorrent that was built with xmlrpc-c correctly. you need to delete rtorrent, get your distros build tools (gcc and such) install subversion, use subversion to get xmlrpc-c, build it from source, download the rtorrent sources, compile them with xmlrpc-c


I wouldn't know where to start with a guide for unRaid, i really can't stand unraid so i never used it more than to evaluate it.

You're probably going to need to spend some time on google.
 

das329717

Member
May 25, 2018
928
0
16
and as far as buying a drobo goes....no. The best thing to do is to build a small server/nas and use OpenSolaris or FreeBSD (of FreeNAS )

anything with ZFS.

ZFS crushes everything else out there.

drobos are hugely over priced and under featured.
 

das329717

Member
May 25, 2018
928
0
16
I downloaded your package and looked at it. It looks like someone has built it with an older version of rutorrent. I hate to say this but i can't offer any support for this package. your best bet would be to find who made it and talk to them. I have no idea what they've done to make this work or what it is missing.


What i would suggest if you can't get them to help is to delete the package and work from scratch. I'd be willing to try to help you get rtorrent and rutorrent working step by step provided its possible.
 

dsouvik215

Member
May 25, 2018
896
0
16
Ok, I think I am capable of figuring it all out, just need to spend the time to do it.

Out of curiosity, what would you recommend as a NAS solution? I looked into FreeNAS & Windows Server 2003/2008, and some proprietary systems like DROBO.

I chose unraid due to the fact that disks are treated independently and don't need to match.

I have read horror stories where RAID 5 setups will fail to rebuild a faulty disk due to a problem with the striping and then the whole array is lost. That freaked me out. It seems like RAID 5 is great for performance increases and mission critical apps, but not the best as a storage solution. And since the whole throughput is bottle necked at GbE, the performance gains from a RAID setup seemed moot. Cost is also a factor, and I can't afford a good hardware RAID card at the moment.

Thanks,

John

Quote
well this is likely your problem right here. I haven't seen a single packaged rtorrent that was built with xmlrpc-c correctly. you need to delete rtorrent, get your distros build tools (gcc and such) install subversion, use subversion to get xmlrpc-c, build it from source, download the rtorrent sources, compile them with xmlrpc-c


I wouldn't know where to start with a guide for unRaid, i really can't stand unraid so i never used it more than to evaluate it.

You're probably going to need to spend some time on google.​
 

dsouvik215

Member
May 25, 2018
896
0
16
Yeah, Drobo looks great on paper, but it is really expensive, and I have also read reports where users can't recover their disks...

Quote
and as far as buying a drobo goes....no. The best thing to do is to build a small server/nas and use OpenSolaris or FreeBSD (of FreeNAS )

anything with ZFS.

ZFS crushes everything else out there.

drobos are hugely over priced and under featured.​
 

dsouvik215

Member
May 25, 2018
896
0
16
Thank you!

I will have a go at it myself and see how far I get.

But, I'm sure I will be back here for advice/help. wink.gif

BTW, thanks for making this!

Quote from: wonslung on February 08, 2010, 05:08:26 pm
I downloaded your package and looked at it. It looks like someone has built it with an older version of rutorrent. I hate to say this but i can't offer any support for this package. your best bet would be to find who made it and talk to them. I have no idea what they've done to make this work or what it is missing.


What i would suggest if you can't get them to help is to delete the package and work from scratch. I'd be willing to try to help you get rtorrent and rutorrent working step by step provided its possible.​
 

das329717

Member
May 25, 2018
928
0
16
Honestly, i think ZFS is the best choice if you care about your data. Also, being that ZFS is a fully software solution you don't need to spend a ton of money on raid cards. It gets speeds you wouldn't believe. The only downside to ZFS is that you have to plan your system out smarter than most other raid solutions but the advantages far outweigh the disadvantages. Let me list a few features:

ZFS is a pooled storage system. you have a zpool which holds your zfs filesystems (you can have multiple filesystems)

All filesystems use space as they need it from the pool. you can put quotas and reservations on the filesystems if you like but you don't have to format them or preallocate space. It works in a similar manor as virtual memory works for memory.

ZFS is a copy on write system. It always writes new data instead of the write/modify/read system that most other filesystems use. Because of this, you always have a consistent copy of data online. Writes either happen or they don't. This eliminates the raid5 write hole that other systems have and fully removes the need for tools like FSCK.

Because of it's copy on write nature, you can take "moment in time " snapshots and they happen almost instantly. A snapshot is a full read-only copy of a filesystem at the time it was taken. It takes up almost no space at first, and only grows in size based on what changes, and if you delete something from the live data set you can recover it from the snapshot.

You can clone snapshots making a second filesystem which is read/write. It takes up no additional space except for any new data you add to it.
A real world example of how i used this was, i had a filesystem with all my music in it, i cloned it for my girlfriend who deleted what she didn't like and added in what she did

ZFS can do on the fly compression. It will compress the data to disk, read the compressed data and it happens without the need to decompress or recompress. It's really great for lots of data sets because with todays modern cpus you have plenty of extra CPU cycles, while the disk i/o is the real bottleneck, so in a lot of these situations, you actually GAIN speed.

ZFS now has dedup which allows you to only keep one copy of data on file and all like data has a pointer to that data. This is awesome for virtual machine images and such. It works on the block level, not the file level, so a lot of times dedup can save a lot of space. This depends on your data though, like compression. Probably requires a more hard core machine though.

The best thing about ZFS is that all data and metadata is checksummed. each checksum points to the next, and the entire thing forms a self validating merkle tree. In english, this means ZFS can detect, and fix corrupted data that other filesystems miss. I've seen this in action and it's amazing. This saved an entire pool for me recently due to a failing sata card which was sending bad data. But this also protects against disks that have blocks fail slowly over time. As long as you use redundancy, this can fix those errors and it works better than ANY other filesystem available today. This is the number 1 reason i'd never use anything else. If you care about your data, you will use ZFS. While raid and zfs aren't a substitute for good backups, it's a helllllll of a lot more safe.


ZFS is a software only raid system (you can use hardware raid with it but there is no real advantage) ZFS does what other software raid systems can't really do. It basically uses your ram and cpu to form a giant hardware raid system. It makes intelligent choices about disk i/o. A perfect example is, i have a system with 20 hard drives that gets 600-700 MB/s reads and 550-600 MB/s writes. While this is FAR more than gigabit, it is very nice (though i have mine trunked with 2 lines right now so i get about 200 MB's)


ZFS makes it really easy to share filesystems as windows filesystems or NFS filesystems if you are using it on Solaris (if you use FreeBSD then you can still do this but it will require samba or nfs to be set up)
on solaris you can share a filesystem with windows just like this:
Code:
zfs set sharesmb=on tank/naswhere the filesystem is named tank/nas Now that filesystem is available for windows and you can set it as a network drive. Simple.


You can also create zvols on a zfs pool. A zvol is a virutal block device (a virtual hard drive) You can use these zvols as iscsi hard drives or to install virtual machine images on. It's quite cool. I use one for my mac's time machine volume. These gain all the other features of ZFS liek snapshots, compression and checksumming.

To be fair, ZFS DOES have some disadvantages. One. It only works on Solaris 10 OpenSolaris and FreeBSD (though the last freenas has it i think)

OpenSolaris is probably the best to use because it has the newest feautes. FreeBSD works on more hardware though, but if you are building a system this is a non-issue. If you are trying to use old hardware, it may be more of an issue.

Another limitation is that you should REALLY use a 64 bit processor. These days this isn't as much of an issue, but it is still a problem. while it WILL work on 32 bit cpus, its not a great idea, because 32 bit has very limited amounts of addressable kernel ram

ZFS loves ram. While this isn't as much of a con, it can be to some people. I wouldn't use less than 4gb ram (though i know pleny who use 2gb, and technically 1 gb is the minimum) My personal system uses 8 gb. Also, it's best to use ECC ram if possible. Thsi saves against bad memory causing errors and keeps your checksums correct. What good is self healing if the memory can't be trusted.

For the next one, i need to explain a little about how a zpool works. Like i said earlier, you have a pool which holds yoru filesystems. This pool is made of what is called vdevs. a zpool can be made of one or many vdevs. a vdev is any of the following:
a hard drive
a partition on a hard drive
a raidz(1,2,3) group
a mirrored group (2 way 3 way, n way)
a file (though this is mainly just used for testing)

ZFS will stripe data across VDEVS in a dynamic fassion. now, it's best to use redundant vdevs for what we are talking about. This means mirrors or raidz (raidz1 is similar to raid5 (well it's a ton more advanced, but for your understanding, thinking of it as raid5 is file) raidz2 is like raid6, raidz3 is...well, tripple parity)

Currently, there is no way to "grow" a raidz(123) vdev. If you have a vdev with 5 drives, you can't add a 6th, though you CAN always add more vdevs. This is what i meant about having to plan your storage better. If you know you can't buy 5 and 6 drives at a time, and can only afford to buy 2 at a time, then you should use mirrors. (mirrors are faster than hell anyways, though honestly, i'd go with raidz2)

I personally like raidz2 because it gives you really good space, damn good speed and nice fault tolerance without killing you in space.

raidz1 is ok too...if you can only get 4-5 drives at a time, then raidz1 may be the way to go. If a single drive fails, you are ok with raidz1

My pool looks like this:

Code:
pool: tank
state: ONLINE
scrub: none requested
config:

NAME STATE READ WRITE CKSUM
tank ONLINE 0 0 0
raidz2-0 ONLINE 0 0 0
c5t0d0 ONLINE 0 0 0
c4t1d0 ONLINE 0 0 0
c6t1d0 ONLINE 0 0 0
c5t1d0 ONLINE 0 0 0
c6t3d0 ONLINE 0 0 0
c4t0d0 ONLINE 0 0 0
c5t3d0 ONLINE 0 0 0
raidz2-1 ONLINE 0 0 0
c6t0d0 ONLINE 0 0 0
c5t5d0 ONLINE 0 0 0
c6t2d0 ONLINE 0 0 0
c4t3d0 ONLINE 0 0 0
c5t2d0 ONLINE 0 0 0
c6t4d0 ONLINE 0 0 0
c4t2d0 ONLINE 0 0 0
raidz2-2 ONLINE 0 0 0
c5t4d0 ONLINE 0 0 0
c6t5d0 ONLINE 0 0 0
c5t7d0 ONLINE 0 0 0
c4t5d0 ONLINE 0 0 0
c6t6d0 ONLINE 0 0 0
c5t6d0 ONLINE 0 0 0
cache
c8t5d0 ONLINE 0 0 0
spares
c4t7d0 AVAIL

If you have any questions, ask and i'll explain. Trust me though, ZFS crushes everything else.
 

das329717

Member
May 25, 2018
928
0
16
Quote


BTW, thanks for making this!


You'll have to thank novik for that, i just run the forums and help with stuff...and open about 2000 tickets with bug reports and ideas.

Novik is the real genius behind rutorrent.
 

dsouvik215

Member
May 25, 2018
896
0
16
That is a lot to digest, but I get the benefits of ZFS. Again, I will have to put the time in and research this all a bit more, and get my linux chops up.

Thank you very much for taking the time to explain things in such detail. I will reread this again tonight and probably look into getting FreeNAS up and running.

I will post back to this thread as I progress and hit roadblocks.

All the best,

John

Quote
Honestly, i think ZFS is the best choice if you care about your data. Also, being that ZFS is a fully software solution you don't need to spend a ton of money on raid cards. It gets speeds you wouldn't believe. The only downside to ZFS is that you have to plan your system out smarter than most other raid solutions but the advantages far outweigh the disadvantages. Let me list a few features:

ZFS is a pooled storage system. you have a zpool which holds your zfs filesystems (you can have multiple filesystems)

All filesystems use space as they need it from the pool. you can put quotas and reservations on the filesystems if you like but you don't have to format them or preallocate space. It works in a similar manor as virtual memory works for memory.

ZFS is a copy on write system. It always writes new data instead of the write/modify/read system that most other filesystems use. Because of this, you always have a consistent copy of data online. Writes either happen or they don't. This eliminates the raid5 write hole that other systems have and fully removes the need for tools like FSCK.

Because of it's copy on write nature, you can take "moment in time " snapshots and they happen almost instantly. A snapshot is a full read-only copy of a filesystem at the time it was taken. It takes up almost no space at first, and only grows in size based on what changes, and if you delete something from the live data set you can recover it from the snapshot.

You can clone snapshots making a second filesystem which is read/write. It takes up no additional space except for any new data you add to it.
A real world example of how i used this was, i had a filesystem with all my music in it, i cloned it for my girlfriend who deleted what she didn't like and added in what she did

ZFS can do on the fly compression. It will compress the data to disk, read the compressed data and it happens without the need to decompress or recompress. It's really great for lots of data sets because with todays modern cpus you have plenty of extra CPU cycles, while the disk i/o is the real bottleneck, so in a lot of these situations, you actually GAIN speed.

ZFS now has dedup which allows you to only keep one copy of data on file and all like data has a pointer to that data. This is awesome for virtual machine images and such. It works on the block level, not the file level, so a lot of times dedup can save a lot of space. This depends on your data though, like compression. Probably requires a more hard core machine though.

The best thing about ZFS is that all data and metadata is checksummed. each checksum points to the next, and the entire thing forms a self validating merkle tree. In english, this means ZFS can detect, and fix corrupted data that other filesystems miss. I've seen this in action and it's amazing. This saved an entire pool for me recently due to a failing sata card which was sending bad data. But this also protects against disks that have blocks fail slowly over time. As long as you use redundancy, this can fix those errors and it works better than ANY other filesystem available today. This is the number 1 reason i'd never use anything else. If you care about your data, you will use ZFS. While raid and zfs aren't a substitute for good backups, it's a helllllll of a lot more safe.


ZFS is a software only raid system (you can use hardware raid with it but there is no real advantage) ZFS does what other software raid systems can't really do. It basically uses your ram and cpu to form a giant hardware raid system. It makes intelligent choices about disk i/o. A perfect example is, i have a system with 20 hard drives that gets 600-700 MB/s reads and 550-600 MB/s writes. While this is FAR more than gigabit, it is very nice (though i have mine trunked with 2 lines right now so i get about 200 MB's)


ZFS makes it really easy to share filesystems as windows filesystems or NFS filesystems if you are using it on Solaris (if you use FreeBSD then you can still do this but it will require samba or nfs to be set up)
on solaris you can share a filesystem with windows just like this:
Code:
zfs set sharesmb=on tank/naswhere the filesystem is named tank/nas Now that filesystem is available for windows and you can set it as a network drive. Simple.


You can also create zvols on a zfs pool. A zvol is a virutal block device (a virtual hard drive) You can use these zvols as iscsi hard drives or to install virtual machine images on. It's quite cool. I use one for my mac's time machine volume. These gain all the other features of ZFS liek snapshots, compression and checksumming.

To be fair, ZFS DOES have some disadvantages. One. It only works on Solaris 10 OpenSolaris and FreeBSD (though the last freenas has it i think)

OpenSolaris is probably the best to use because it has the newest feautes. FreeBSD works on more hardware though, but if you are building a system this is a non-issue. If you are trying to use old hardware, it may be more of an issue.

Another limitation is that you should REALLY use a 64 bit processor. These days this isn't as much of an issue, but it is still a problem. while it WILL work on 32 bit cpus, its not a great idea, because 32 bit has very limited amounts of addressable kernel ram

ZFS loves ram. While this isn't as much of a con, it can be to some people. I wouldn't use less than 4gb ram (though i know pleny who use 2gb, and technically 1 gb is the minimum) My personal system uses 8 gb. Also, it's best to use ECC ram if possible. Thsi saves against bad memory causing errors and keeps your checksums correct. What good is self healing if the memory can't be trusted.

For the next one, i need to explain a little about how a zpool works. Like i said earlier, you have a pool which holds yoru filesystems. This pool is made of what is called vdevs. a zpool can be made of one or many vdevs. a vdev is any of the following:
a hard drive
a partition on a hard drive
a raidz(1,2,3) group
a mirrored group (2 way 3 way, n way)
a file (though this is mainly just used for testing)

ZFS will stripe data across VDEVS in a dynamic fassion. now, it's best to use redundant vdevs for what we are talking about. This means mirrors or raidz (raidz1 is similar to raid5 (well it's a ton more advanced, but for your understanding, thinking of it as raid5 is file) raidz2 is like raid6, raidz3 is...well, tripple parity)

Currently, there is no way to "grow" a raidz(123) vdev. If you have a vdev with 5 drives, you can't add a 6th, though you CAN always add more vdevs. This is what i meant about having to plan your storage better. If you know you can't buy 5 and 6 drives at a time, and can only afford to buy 2 at a time, then you should use mirrors. (mirrors are faster than hell anyways, though honestly, i'd go with raidz2)

I personally like raidz2 because it gives you really good space, damn good speed and nice fault tolerance without killing you in space.

raidz1 is ok too...if you can only get 4-5 drives at a time, then raidz1 may be the way to go. If a single drive fails, you are ok with raidz1

My pool looks like this:

Code:
pool: tank
state: ONLINE
scrub: none requested
config:

NAME STATE READ WRITE CKSUM
tank ONLINE 0 0 0
raidz2-0 ONLINE 0 0 0
c5t0d0 ONLINE 0 0 0
c4t1d0 ONLINE 0 0 0
c6t1d0 ONLINE 0 0 0
c5t1d0 ONLINE 0 0 0
c6t3d0 ONLINE 0 0 0
c4t0d0 ONLINE 0 0 0
c5t3d0 ONLINE 0 0 0
raidz2-1 ONLINE 0 0 0
c6t0d0 ONLINE 0 0 0
c5t5d0 ONLINE 0 0 0
c6t2d0 ONLINE 0 0 0
c4t3d0 ONLINE 0 0 0
c5t2d0 ONLINE 0 0 0
c6t4d0 ONLINE 0 0 0
c4t2d0 ONLINE 0 0 0
raidz2-2 ONLINE 0 0 0
c5t4d0 ONLINE 0 0 0
c6t5d0 ONLINE 0 0 0
c5t7d0 ONLINE 0 0 0
c4t5d0 ONLINE 0 0 0
c6t6d0 ONLINE 0 0 0
c5t6d0 ONLINE 0 0 0
cache
c8t5d0 ONLINE 0 0 0
spares
c4t7d0 AVAIL

If you have any questions, ask and i'll explain. Trust me though, ZFS crushes everything else.​