DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1576 2011-02-10 19:50:41

tekno31
New member
Registered: 2011-02-10
Posts: 3

Re: [REL] Transmission 1.3

Hello,
I am a new user of this NAS
After reading a lot of threads, I have not found the answer to my question.
All the setup is fine, transmission is working for me now (V2.21)

I want just to know now if I need to launch the start command after each reboot ? is there a way to have it work automatically after the boot?

Thank you

sorry for my bad englsih , I am french....

Offline

 

#1577 2011-02-10 20:00:24

FunFiler
Member
Registered: 2010-05-23
Posts: 577

Re: [REL] Transmission 1.3

No, as long as the script is in ffp/start and has execute permissions, it should start automatically when you restart the system.


3 * (DNS-323 with 2 * 2TB) = 12TB Running FW v1.08 & FFP v0.5
Useful Links: Transmission, Transmission Remote, Automatic

Offline

 

#1578 2011-02-11 23:48:20

SkyNet
Member
Registered: 2009-01-14
Posts: 25

Re: [REL] Transmission 1.3

SkyNet wrote:

nfora wrote:

I installed the new build, and it worked alright. I did have to create /ffp/var/log/ and copy my old transmission-daemon.log file into it.

It looks like 2.20 has issues with folder watching, however, so I downgraded to 2.13. I kept the new startup script, and it seems to work fine with the old build.

I also confirm that the /ffp/vag/log/ was not created during the installation.
I created the directory manually but I now get the following error message upon starting up:

"Couldn't open "/ffp/var/log/transmission-daemon.log": Permission denied".
What permissions should I give to the /ffp/var/log/ dir and how?
Btw should I also move the transmission.log file ?

Any idea how to resolve this?
also when trying to stop the transmission daemon I am getting the following:
/ffp/start/transmission.sh stop
Stopping transmission-daemon
Unexpected response: <h1>401: Unauthorized</h1>Unauthorized User

Something looks broken unfortunately.

Offline

 

#1579 2011-02-12 03:02:14

Character Zero
Member
Registered: 2011-02-08
Posts: 6

Re: [REL] Transmission 1.3

Open transmission.h and make sure the user is correct.  I don't run mine as"nobody" I run it as a different user and I would get those messages if I didn't change it.  Run a chown if you have permission issues.

Offline

 

#1580 2011-02-12 17:21:30

Opperpanter
Member
From: Eindhoven, Netherlands.
Registered: 2008-08-11
Posts: 89

Re: [REL] Transmission 1.3

Thanks for keeping new versions coming out.

Ever since I have been using transmission (since 1.2x I believe) I have been having memory problems.
If my DNS323 runs for a couple of days, I find my DNS323 swapping massively and see that I have 5 transmission processes each using almost 200mb (the exact amount differs from time to time).

This is with only 3 torrents in transmission, all of them in seeding mode but no peers connected.

Offline

 

#1581 2011-02-12 17:40:46

FunFiler
Member
Registered: 2010-05-23
Posts: 577

Re: [REL] Transmission 1.3

I restart transmission every night (using logrotate) and my DNS323 has been running over 100 days now without a restart and no resource issues.


3 * (DNS-323 with 2 * 2TB) = 12TB Running FW v1.08 & FFP v0.5
Useful Links: Transmission, Transmission Remote, Automatic

Offline

 

#1582 2011-02-13 23:33:40

KyleK
Member
From: Dresden, Germany
Registered: 2007-12-05
Posts: 1178

Re: [REL] Transmission 1.3

Opperpanter wrote:

Thanks for keeping new versions coming out.

Ever since I have been using transmission (since 1.2x I believe) I have been having memory problems.
If my DNS323 runs for a couple of days, I find my DNS323 swapping massively and see that I have 5 transmission processes each using almost 200mb (the exact amount differs from time to time).

This is with only 3 torrents in transmission, all of them in seeding mode but no peers connected.

The 5 processes are normal, and the memory display is total for all processes. Still, 200mb is quite a lot. Mine is usually at 5-15MB (of 64MB RAM total).

Offline

 

#1583 2011-02-13 23:39:18

Opperpanter
Member
From: Eindhoven, Netherlands.
Registered: 2008-08-11
Posts: 89

Re: [REL] Transmission 1.3

KyleK wrote:

Opperpanter wrote:

Thanks for keeping new versions coming out.

Ever since I have been using transmission (since 1.2x I believe) I have been having memory problems.
If my DNS323 runs for a couple of days, I find my DNS323 swapping massively and see that I have 5 transmission processes each using almost 200mb (the exact amount differs from time to time).

This is with only 3 torrents in transmission, all of them in seeding mode but no peers connected.

The 5 processes are normal, and the memory display is total for all processes. Still, 200mb is quite a lot. Mine is usually at 5-15MB (of 64MB RAM total).

It's been running for 24 hours now and memory has increased from 8% to 19% already...

Offline

 

#1584 2011-02-16 09:29:12

beefy314
Member
Registered: 2010-01-20
Posts: 41

Re: [REL] Transmission 1.3

I changed my volume 2 to a bigger drive 2TB retaining the folder structures. Now, I keep on getting permission denied after a few seconds or after a few MB of download. Transmission is installed on Volume 1 and I used to download to Volume 2. I tried the following commands to no avail.

chown -R nobody /mnt/HD_a2/.transmission-daemon
chown -R nobody /mnt/HD_b2/Downloads

Currently using Transmission 2.13.

Any ideas?

Last edited by beefy314 (2011-02-16 09:29:55)

Offline

 

#1585 2011-02-16 10:38:31

KyleK
Member
From: Dresden, Germany
Registered: 2007-12-05
Posts: 1178

Re: [REL] Transmission 1.3

Check the download folder in the Transmission preferences, if it really is set to /mnt/HD_b2/Downloads.
Also check if that folder and its subfolders belongs to user nobody and group 501.
Check the user rights of the folders (should be 0755).

Also, try changing the "umask" option in your settings.json to 0. (Remember to properly quit Transmission first, otherwise your changes will be overwritten).

Offline

 

#1586 2011-02-16 13:00:32

beefy314
Member
Registered: 2010-01-20
Posts: 41

Re: [REL] Transmission 1.3

KyleK wrote:

Check the download folder in the Transmission preferences, if it really is set to /mnt/HD_b2/Downloads.
Also check if that folder and its subfolders belongs to user nobody and group 501.
Check the user rights of the folders (should be 0755).

Also, try changing the "umask" option in your settings.json to 0. (Remember to properly quit Transmission first, otherwise your changes will be overwritten).

Thank you Kylek for responding.

It seems like it's working now that I changed the unmask from 18 to 0. Before, download stops after 1 or 2mb. smile

Offline

 

#1587 2011-02-16 17:02:19

zuluwalker
Member
Registered: 2009-11-09
Posts: 27

Re: [REL] Transmission 1.3

Transmission 2.21 works really well for me. On hindsight I thought it was my service provider that was screwing up with my speeds, only to find out now that it could've been the encryption issue that was previously broken that could be the cause because my downloads are finally using up all of my bandwidth with the 2.21 release.

Thanks KyleK!

Last edited by zuluwalker (2011-02-16 17:04:40)

Offline

 

#1588 2011-02-16 19:26:49

Opperpanter
Member
From: Eindhoven, Netherlands.
Registered: 2008-08-11
Posts: 89

Re: [REL] Transmission 1.3

Opperpanter wrote:

It's been running for 24 hours now and memory has increased from 8% to 19% already...

After 96 hours its at 48%. No torrents added/removed. Definitely some memory leak. Guess I'll have to create myself a cron job to restart nightly.

Offline

 

#1589 2011-02-16 20:01:05

lamski
Member
Registered: 2009-02-26
Posts: 13

Re: [REL] Transmission 1.3

I noticed when I downloaded a couple of regular torrent files and magnet links that version 2.21 doesn't update the download and upload speed values. Other than those bugs, it's a great release overall.

Last edited by lamski (2011-02-16 20:30:57)

Offline

 

#1590 2011-02-17 09:54:29

beefy314
Member
Registered: 2010-01-20
Posts: 41

Re: [REL] Transmission 1.3

How do you check for memory use and cpu utilization of the dns-323?

Offline

 

#1591 2011-02-17 10:34:38

scaramanga
Member
Registered: 2010-08-04
Posts: 251

Re: [REL] Transmission 1.3

beefy314 wrote:

How do you check for memory use and cpu utilization of the dns-323?

From the command line, use this command:

Code:

top

press 'q' to quit.


DNS-323 HW Rev. C1 FW 1.10 fun-plug 0.5
2 x WD10EARS-00Y5B1 in Standard mode (LCC set to 5 min; Aligned to 4K)
Transmission with Transmission Remote GUI

Offline

 

#1592 2011-02-17 10:37:02

beefy314
Member
Registered: 2010-01-20
Posts: 41

Re: [REL] Transmission 1.3

scaramanga wrote:

beefy314 wrote:

How do you check for memory use and cpu utilization of the dns-323?

From the command line, use this command:

Code:

top

press 'q' to quit.

Thanks!

Offline

 

#1593 2011-02-17 18:54:02

KyleK
Member
From: Dresden, Germany
Registered: 2007-12-05
Posts: 1178

Re: [REL] Transmission 1.3

Opperpanter wrote:

Opperpanter wrote:

It's been running for 24 hours now and memory has increased from 8% to 19% already...

After 96 hours its at 48%. No torrents added/removed. Definitely some memory leak. Guess I'll have to create myself a cron job to restart nightly.

Are you using v2.21 already? A user (vaguely) reported a memleak with v2.11, but hasn't encountered it since switching to the latest version (which might have something to do with the upgrade to libevent 2.0).

I'll try to have an eye on the memusage of Transmission myself for a couple of days. Maybe a script exists that can record the usage in intervals?

Also, I've noticed that htop reports different (=lower) mem usage than top. Don't really know where the difference is though.

Of interest would be how many torrents you have loaded, and how many of those are downloading/stopped/seeding.

I really wish Valgrind would work on the DNS-323 :(

Offline

 

#1594 2011-02-17 19:14:28

scaramanga
Member
Registered: 2010-08-04
Posts: 251

Re: [REL] Transmission 1.3

KyleK wrote:

Opperpanter wrote:

Opperpanter wrote:

It's been running for 24 hours now and memory has increased from 8% to 19% already...

After 96 hours its at 48%. No torrents added/removed. Definitely some memory leak. Guess I'll have to create myself a cron job to restart nightly.

Are you using v2.21 already? A user (vaguely) reported a memleak with v2.11, but hasn't encountered it since switching to the latest version (which might have something to do with the upgrade to libevent 2.0).

I'll try to have an eye on the memusage of Transmission myself for a couple of days. Maybe a script exists that can record the usage in intervals?

Also, I've noticed that htop reports different (=lower) mem usage than top. Don't really know where the difference is though.

Of interest would be how many torrents you have loaded, and how many of those are downloading/stopped/seeding.

I really wish Valgrind would work on the DNS-323 sad

I'm experiencing this type of memory leak since day one when I started using Transmission (v2.11). I'm currently using v2.21. I have ~450 torrents that I'm seeding. In my case, it goes from 45% memory right after starting Transmission to over than 90% memory 6-7 days later.


DNS-323 HW Rev. C1 FW 1.10 fun-plug 0.5
2 x WD10EARS-00Y5B1 in Standard mode (LCC set to 5 min; Aligned to 4K)
Transmission with Transmission Remote GUI

Offline

 

#1595 2011-02-18 13:38:08

AdamBrunt
Member
Registered: 2008-05-23
Posts: 21

Re: [REL] Transmission 1.3

Quick question ...

Had to rebuild the PC, is there anyway I can find out what username and password I need to use in Transmission Remote GUI ?

Offline

 

#1596 2011-02-18 14:23:57

scaramanga
Member
Registered: 2010-08-04
Posts: 251

Re: [REL] Transmission 1.3

AdamBrunt wrote:

Quick question ...

Had to rebuild the PC, is there anyway I can find out what username and password I need to use in Transmission Remote GUI ?

No need for that. Just set them again to whatever values you'd like:
1. telnet/ssh to the DNS-323.
2. issue the command: "/ffp/start/transmission.sh stop". Wait a minute or so to make sure transmission is not running, or check with the "ps" command.
3. edit "rpc-username" and rpc-password" in the settings.json file. It is located in /mnt/HD_a2/.transmission-daemon by default.

Edit: Make a copy of that file before changing it, just in case. You may need to change the ownership/permissions using chown/chmod, so make to ls -l that file before making your changes and take note of the file's ownership/permissions.

Last edited by scaramanga (2011-02-18 14:26:52)


DNS-323 HW Rev. C1 FW 1.10 fun-plug 0.5
2 x WD10EARS-00Y5B1 in Standard mode (LCC set to 5 min; Aligned to 4K)
Transmission with Transmission Remote GUI

Offline

 

#1597 2011-02-18 22:35:40

Opperpanter
Member
From: Eindhoven, Netherlands.
Registered: 2008-08-11
Posts: 89

Re: [REL] Transmission 1.3

If Transmission is idling (no torrents or no peers), will the Harddisk spin down?

I know dmesg shows me some info, but it doesn't timestamp it's output, so it's difficult to analyse exactly.

Offline

 

#1598 2011-02-18 22:39:33

FunFiler
Member
Registered: 2010-05-23
Posts: 577

Re: [REL] Transmission 1.3

I run transmission from a USB thumb drive for all folders except "incomplete" and "complete" and the disks spin down unless there is an active download (or presumably upload). I can't say for sure one way or another if you run from the standard disks, but I believe that it does.

Last edited by FunFiler (2011-02-18 22:40:37)


3 * (DNS-323 with 2 * 2TB) = 12TB Running FW v1.08 & FFP v0.5
Useful Links: Transmission, Transmission Remote, Automatic

Offline

 

#1599 2011-02-19 00:18:33

Opperpanter
Member
From: Eindhoven, Netherlands.
Registered: 2008-08-11
Posts: 89

Re: [REL] Transmission 1.3

FunFiler wrote:

I run transmission from a USB thumb drive for all folders except "incomplete" and "complete" and the disks spin down unless there is an active download (or presumably upload). I can't say for sure one way or another if you run from the standard disks, but I believe that it does.

Maybe I should move my .transmission-demon folder to usb as well.

Offline

 

#1600 2011-02-19 11:49:07

NASewise
Member
From: Saxony, Germany
Registered: 2008-08-11
Posts: 15

Re: [REL] Transmission 1.3

i run it completely from Harddisk and it spins down

Last edited by NASewise (2011-02-19 11:50:43)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB