Networked Media Tank
[transmission] Transmission 1.76 + DHT download and discussion (OLD THREAD) - Printable Version

+- Networked Media Tank (http://www.networkedmediatank.com)
+-- Forum: NMT Software & Settings (/forumdisplay.php?fid=19)
+--- Forum: Torrent and Usenet (/forumdisplay.php?fid=64)
+--- Thread: [transmission] Transmission 1.76 + DHT download and discussion (OLD THREAD) (/showthread.php?tid=10662)



RE: [transmission] Transmission 1.42 / 1.50 beta1 - johnstewart - 01-16-2009 03:52 PM

(01-16-2009 09:28 AM)Ger Teunis Wrote:  There is no relation between btpd and transmission. Perhaps a restart will solve this problem.

Well, I've done multiple restarts, thanks to the crashes. =)

I don't think this was a problem (btpd also running) on 1.41b2.

Shouldn't the transmission 1.5 install have disabled btpd (or kept it disabled)?

At any rate, it's clearly running on my box. Any idea how to completely disable it?


RE: [transmission] Transmission 1.42 / 1.50 beta1 - Ger Teunis - 01-16-2009 03:57 PM

(01-16-2009 03:52 PM)johnstewart Wrote:  Well, I've done multiple restarts, thanks to the crashes. =)

I don't think this was a problem (btpd also running) on 1.41b2.

Shouldn't the transmission 1.5 install have disabled btpd (or kept it disabled)?

At any rate, it's clearly running on my box. Any idea how to completely disable it?

No it should not disable BTPD, per default the NMT is shipped with two bittorrent clients: BTPD and Transmission. My install packages just updates the Transmission client, but leaves the BTPD one.

The upcoming firmware completely removes the BTPD client, only leaving the Transmission client to download torrents.

If you want to stop BTPD in the meantime, install telnet daemon and use
Code:
/mnt/syb8634/bin/btpd stop

(just guessing the above code, do'n have a NMT at hand at the moment.


RE: [transmission] Transmission 1.42 / 1.50 beta1 - papka__ - 01-16-2009 04:03 PM

(01-16-2009 03:52 PM)johnstewart Wrote:  Well, I've done multiple restarts, thanks to the crashes. =)

I don't think this was a problem (btpd also running) on 1.41b2.

Shouldn't the transmission 1.5 install have disabled btpd (or kept it disabled)?

At any rate, it's clearly running on my box. Any idea how to completely disable it?

btpd can't be disabled. With new firmware it will be removed.
If your btpd make cpu load - that means you have any active torrent in it (upload or download or verify). Try to open btpd web interface (from pc or from NMT, not Gaya!!!!) and check torrents list, is it empty.


RE: [transmission] Transmission 1.42 / 1.50 beta1 - johnstewart - 01-16-2009 04:04 PM

(01-16-2009 03:57 PM)Ger Teunis Wrote:  No it should not disable BTPD, per default the NMT is shipped with two bittorrent clients: BTPD and Transmission. My install packages just updates the Transmission client, but leaves the BTPD one.

The upcoming firmware completely removes the BTPD client, only leaving the Transmission client to download torrents.

If you want to stop BTPD in the meantime, install telnet daemon and use
Code:
/mnt/syb8634/bin/btpd stop

(just guessing the above code, do'n have a NMT at hand at the moment.

Ah; I was under the impression it *replaced* the btpd.

It looks like /mnt/syb8634/bin/btpd does not accept "stop" as an argument; playing around with it now. When I kill the PID manually, it seems to restart on its own, so there is some other process watching and restarting it, it seems.

Edit:

/ # ps | grep btpd
1136 root 1092 S /bin/btpd_monitor
1134 root 4304 R /mnt/syb8634/bin/btpd -d /share/.btpd -p 16970 --bw-i
1331 root 1932 S grep btpd

Edit:

Killing both off seems to have done it... but interesting that btpd is running with a port of 16970... this is the port I assigned to Transmission (and never have set anywhere else).


RE: [transmission] Transmission 1.42 / 1.50 beta1 - Ger Teunis - 01-16-2009 04:06 PM

Of yeah, try
Code:
/mnt/syb8634/server/btpd stop

instead.


RE: [transmission] Transmission 1.42 / 1.50 beta1 - johnstewart - 01-16-2009 04:09 PM

(01-16-2009 04:06 PM)Ger Teunis Wrote:  Of yeah, try
Code:
/mnt/syb8634/server/btpd stop

instead.

That doesn't seem to exist on my A-110. Note my edit above, though... there is a btpd_monitor... and also the btpd seemed to be sharing the same port number I had assigned to Transmission.

thanks
It looks like in /etc/init.d there is a S99misc-init with this section:
Code:
if [ -e /mnt/syb8634/etc/btpd-env.sh ]; then
                        cd /mnt/syb8634/etc/
                        . ./btpd-env.sh
                        cd -
                fi

So I did:

/mnt/syb8634/etc # mv btpd-env.sh btpd-env.sh.old


Rebooting now to see if that did the trick to keep it dead.

Edit:

Yes:
Code:
/ # ps | grep btpd
1157 root       1932 S   grep btpd
/ #

Keeping my fingers crossed this will stop the overload of the PCH....


RE: [transmission] Transmission 1.42 / 1.50 beta1 - bryson_ac - 01-16-2009 04:21 PM

allright, it so far works absolutely flawless for me - and sure is way more faster!
perfect!
thanks!

bry


RE: [transmission] Transmission 1.42 / 1.50 beta1 - johnstewart - 01-16-2009 04:38 PM

(01-16-2009 04:09 PM)johnstewart Wrote:  So I did:

/mnt/syb8634/etc # mv btpd-env.sh btpd-env.sh.old


Rebooting now to see if that did the trick to keep it dead.

Edit:

Yes:
Code:
/ # ps | grep btpd
1157 root       1932 S   grep btpd
/ #

Keeping my fingers crossed this will stop the overload of the PCH....

Alas, no... now the clutch interface doesn't seem to want to stay up... seems to come and go. Also, the Torrentwatch daemon didn't get started... and restarting it manually causes it to be all funky. Ugh. I guess I'm going back to 1.41b2...


RE: [transmission] Transmission 1.42 / 1.50 beta1 - Ger Teunis - 01-16-2009 04:41 PM

(01-16-2009 04:38 PM)johnstewart Wrote:  Alas, no... now the clutch interface doesn't seem to want to stay up... seems to come and go. Also, the Torrentwatch daemon didn't get started... and restarting it manually causes it to be all funky. Ugh. I guess I'm going back to 1.41b2...

I'll look into it soon, it should be possible to just stop btpd.


RE: [transmission] Transmission 1.42 / 1.50 beta1 - johnstewart - 01-16-2009 04:51 PM

(01-16-2009 04:41 PM)Ger Teunis Wrote:  I'll look into it soon, it should be possible to just stop btpd.

For me, it seems even with btpd killed, this version is crashing out.

Last night with btpd running, the entire PCH was locking up.

This morning, booting PCH, then killing btpd, seems to reduce the load significantly. However, a few minutes later, transmission died altogether.

If there is any logging I can provide to help you, let me know.
Regarding my btpd problems... looking in /share/.btpd, I see that there were still some torrents there running.

I swear with 1.41b2 they never got started, but it seems after upgrading, they kicked in again. I manually nuked all of the directories under /share/.btpd/torrents... hopefully that solves my btpd CPU usage problem. I do still think Transmission 1.5b1 seems to be flaking on me, though.


RE: [transmission] Transmission 1.42 / 1.50 beta1 - Ger Teunis - 01-16-2009 06:33 PM

It cannot be transmission, transmission and btpd are completely unrelated and do not share any files and use completely different files and folders.

I seems btpd only starts a btpd process when a torrent has been found.
Please make sure no torrent is in the /share/.btpd/torrent folder.


RE: [transmission] Transmission 1.42 / 1.50 beta1 - johnstewart - 01-16-2009 07:44 PM

(01-16-2009 06:33 PM)Ger Teunis Wrote:  It cannot be transmission, transmission and btpd are completely unrelated and do not share any files and use completely different files and folders.

I seems btpd only starts a btpd process when a torrent has been found.
Please make sure no torrent is in the /share/.btpd/torrent folder.

Understood; I do seem to have resolved that issue with the btpd. I killed off all the old torrents there. Thank you for your assistance there.

Even with this done, 1.50b1 crashes - sometimes locks up the PCH, sometimes just the transmission daemon. Back to 1.41b2 and all is stable again (albeit at a much, much slower upload/download rate).


RE: [transmission] Transmission 1.42 / 1.50 beta1 - KaioShin - 01-17-2009 11:13 AM

Hi there. I also have some problems with transmission, I hope maybe you can help me out. (1.42 not the new beta).

I installed it yesterday and it worked fine during the day. Sometime over night it must have choked up. The webinterface doesn't respond anymore at all, it just says it couldn't connect to the server. When I use the gaya interface it shows no torrents, there should be two though. The old torrents are somehow vanished.

How can I fix this? I already did a hard reset on the whole PCH. How can I restart just transmission? In the maintenance options the torrent service listed is only for btpd I think.


RE: [transmission] Transmission 1.42 / 1.50 beta1 - Ger Teunis - 01-17-2009 11:21 AM

(01-17-2009 11:13 AM)KaioShin Wrote:  Hi there. I also have some problems with transmission, I hope maybe you can help me out. (1.42 not the new beta).

I installed it yesterday and it worked fine during the day. Sometime over night it must have choked up. The webinterface doesn't respond anymore at all, it just says it couldn't connect to the server. When I use the gaya interface it shows no torrents, there should be two though. The old torrents are somehow vanished.

How can I fix this? I already did a hard reset on the whole PCH. How can I restart just transmission? In the maintenance options the torrent service listed is only for btpd I think.

You are able to use the normal way of stopping and starting of the torrent clients via Maintenance. Please wait a couple of minutes between stopping and starting again. Another way is just restarting the NMT.


RE: [transmission] Transmission 1.42 / 1.50 beta1 - vaivel - 01-17-2009 11:25 AM

(01-17-2009 11:13 AM)KaioShin Wrote:  In the maintenance options the torrent service listed is only for btpd I think.

No it is for both.

If you install telnet, it is possibly to see if transmission is running, as well at start and stop it.

#show running processes, transmission will show three or four times
ps

#stop transmission, wait a minute or two before restart
/mnt/syb8634/server/clutch stop

#start transmission
/mnt/syb8634/server/clutch start